mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 10:00:54 +00:00
Bug 1283579 - Use data schema rather than outside document for test of bug 682592 to make it faster. r=jfkthame
MozReview-Commit-ID: 6ccLpZF1qr8 --HG-- extra : rebase_source : e275f555152e38bf24ca833e5a876ade5776ed1c
This commit is contained in:
parent
326a823176
commit
047d82990f
@ -1,11 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" >
|
||||
<title></title>
|
||||
</head>
|
||||
<body>
|
||||
<p id="content"></p>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -1,10 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" >
|
||||
<title></title>
|
||||
</head>
|
||||
<body>
|
||||
<p id="content"></p>
|
||||
</body>
|
||||
</html>
|
@ -46,8 +46,6 @@ support-files =
|
||||
bug578096LoadChromeScript.js
|
||||
bug638112-response.txt
|
||||
bug638112.sjs
|
||||
bug682592-subframe-ref.html
|
||||
bug682592-subframe.html
|
||||
bug696301-script-1.js
|
||||
bug696301-script-1.js^headers^
|
||||
bug696301-script-2.js
|
||||
|
@ -13,7 +13,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=682592
|
||||
<body>
|
||||
<p id="display"></p>
|
||||
<div id="content">
|
||||
<iframe id="iframe-ref" src="bug682592-subframe-ref.html"></iframe>
|
||||
<iframe id="iframe-ref"></iframe>
|
||||
<iframe id="iframe-test"></iframe>
|
||||
</div>
|
||||
<pre id="test">
|
||||
@ -39,11 +39,13 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=682592
|
||||
*/
|
||||
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
SimpleTest.requestLongerTimeout(2);
|
||||
SimpleTest.requestLongerTimeout(3);
|
||||
if (navigator.platform.startsWith("Linux arm")) { /* bugs 982875, 999429 */
|
||||
SimpleTest.expectAssertions(0, 4);
|
||||
}
|
||||
|
||||
var page = `data:text/html;charset=UTF-8,<!DOCTYPE html>
|
||||
<html><body><p id="content"></p></body></html>`;
|
||||
var refFrame = document.getElementById("iframe-ref")
|
||||
var testFrame = document.getElementById("iframe-test");
|
||||
|
||||
@ -60,8 +62,9 @@ refFrame.addEventListener("load", function() {
|
||||
SimpleTest.finish();
|
||||
}
|
||||
}, false);
|
||||
testFrame.src = "bug682592-subframe.html"
|
||||
testFrame.src = page;
|
||||
}, false);
|
||||
refFrame.src = page;
|
||||
|
||||
var rtl = "עִבְרִית";
|
||||
var non8bit = "ʃ";
|
||||
|
Loading…
Reference in New Issue
Block a user