mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-26 11:45:37 +00:00
a7882b3415
MozReview-Commit-ID: 3rBCCbtW3J1 --HG-- extra : rebase_source : 7cfd8e5655d9d6ced3aba6f315670d240b4c6acc
26 lines
800 B
HTML
26 lines
800 B
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<head>
|
|
<title>Test backend of blank document</title>
|
|
<script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
|
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
|
|
</head>
|
|
<body>
|
|
<iframe></iframe>
|
|
<pre id="log">
|
|
<script>
|
|
SimpleTest.waitForExplicitFinish();
|
|
let win = window.open("file_blank_doc_backend.html", "", "width=500,height=500");
|
|
function finish(parentWin, iframeWin) {
|
|
let parentDOMUtils = SpecialPowers.getDOMWindowUtils(parentWin);
|
|
let iframeDOMUtils = SpecialPowers.getDOMWindowUtils(iframeWin);
|
|
is(parentDOMUtils.isStyledByServo, iframeDOMUtils.isStyledByServo,
|
|
"Blank document backend should match the parent document");
|
|
win.close();
|
|
SimpleTest.finish();
|
|
};
|
|
</script>
|
|
</pre>
|
|
</body>
|
|
</html>
|