mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
Bug 948898 - Move inline scripts and styles into separate file for mobile/android/chrome/content/aboutHealthReport.xhtml (URL=about:healthreport). r=margaret
This commit is contained in:
parent
6b080c49f4
commit
c74236a7e0
@ -188,3 +188,6 @@ let healthReportWrapper = {
|
||||
healthReportWrapper.reportFailure(healthReportWrapper.ERROR_PAYLOAD_FAILED);
|
||||
},
|
||||
};
|
||||
|
||||
window.addEventListener("load", healthReportWrapper.init.bind(healthReportWrapper), false);
|
||||
window.addEventListener("unload", healthReportWrapper.uninit.bind(healthReportWrapper), false);
|
@ -26,8 +26,7 @@
|
||||
<script type="text/javascript;version=1.8"
|
||||
src="chrome://browser/content/aboutHealthReport.js" />
|
||||
</head>
|
||||
<body onload="healthReportWrapper.init();"
|
||||
onunload="healthReportWrapper.uninit();">
|
||||
<body>
|
||||
<iframe id="remote-report"/>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user