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:
anton_11111 2014-04-04 08:08:42 -04:00
parent 6b080c49f4
commit c74236a7e0
2 changed files with 4 additions and 2 deletions

View File

@ -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);

View File

@ -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>