mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-25 03:20:23 +01:00
7349801799
When the SES lockdown was added in #9729, the lockdown and the Sentry initialization were migrated from the main bundle into separate modules, which were run as separate `<script>` tags. These extra tags were accidentally omitted for `home.html` and `notification.html`. As a result Sentry was not initialized on these pages, so any errors thrown on them would not be collected. They also do not benefit from the SES lockdown. The SES lockdown and Sentry initialization modules have been added to both pages where they were missing.
43 lines
1.4 KiB
HTML
43 lines
1.4 KiB
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta charset="utf-8">
|
|
<title>MetaMask Notification</title>
|
|
<style>
|
|
#app-content {
|
|
display: flex;
|
|
flex-flow: column;
|
|
}
|
|
|
|
#loading__logo {
|
|
width: 10rem;
|
|
height: 10rem;
|
|
align-self: center;
|
|
margin: 10rem 0 0 0;
|
|
}
|
|
|
|
#loading__spinner {
|
|
width: 2rem;
|
|
height: 2rem;
|
|
align-self: center;
|
|
margin-top: 1rem;
|
|
}
|
|
</style>
|
|
<link rel="stylesheet" type="text/css" href="./index.css" title="ltr">
|
|
<link rel="stylesheet" type="text/css" href="./index-rtl.css" title="rtl" disabled>
|
|
</head>
|
|
<body class="notification">
|
|
<div id="app-content">
|
|
<img id="loading__logo" src="./images/logo/metamask-fox.svg" alt="" />
|
|
<img id="loading__spinner" src="./images/spinner.gif" alt="" />
|
|
</div>
|
|
<div id="popover-content"></div>
|
|
<script src="./initSentry.js" type="text/javascript" charset="utf-8"></script>
|
|
<script src="./lockdown.cjs" type="text/javascript" charset="utf-8"></script>
|
|
<script src="./runLockdown.js" type="text/javascript" charset="utf-8"></script>
|
|
<script src="./ui-libs.js" type="text/javascript" charset="utf-8"></script>
|
|
<script src="./ui.js" type="text/javascript" charset="utf-8"></script>
|
|
</body>
|
|
</html>
|