зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1377748 - Updates tests within editor/ to comply with new data: URI inheritance model. r=masayuki
This commit is contained in:
Родитель
09971ac7d3
Коммит
e82e0967b4
|
@ -58,7 +58,7 @@ SimpleTest.waitForExplicitFinish();
|
|||
</table>
|
||||
</div>
|
||||
|
||||
<iframe onload="runTest();" id="pasteframe" src="data:text/html,<html><body contenteditable='true'>"></iframe>
|
||||
<iframe onload="runTest();" id="pasteframe" srcdoc="<html><body contenteditable='true'>"></iframe>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -94,7 +94,7 @@ SimpleTest.waitForFocus(function() {
|
|||
|
||||
continueTest();
|
||||
});
|
||||
iframe.src = "data:text/html,foo";
|
||||
iframe.srcdoc = "foo";
|
||||
document.getElementById("content").appendChild(iframe);
|
||||
});
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=674770
|
|||
<p id="display"></p>
|
||||
<div id="content">
|
||||
<iframe id="iframe" style="display: block; height: 14em;"
|
||||
src="data:text/html,<input id='text' value='pasted'><input id='input' style='display: block;'><p id='editor1' contenteditable>editor1:</p><p id='editor2' contenteditable>editor2:</p>"></iframe>
|
||||
srcdoc="<input id='text' value='pasted'><input id='input' style='display: block;'><p id='editor1' contenteditable>editor1:</p><p id='editor2' contenteditable>editor2:</p>"></iframe>
|
||||
</div>
|
||||
<pre id="test">
|
||||
<script type="application/javascript">
|
||||
|
@ -337,8 +337,7 @@ function initForBodyEditableDocumentTests()
|
|||
|
||||
iframe.onload =
|
||||
function (aEvent) { SimpleTest.executeSoon(runBodyEditableDocumentTests1); };
|
||||
iframe.src =
|
||||
"data:text/html,<body contenteditable>body:</body>";
|
||||
iframe.srcdoc = "<body contenteditable>body:</body>";
|
||||
}
|
||||
|
||||
function runBodyEditableDocumentTests1()
|
||||
|
|
Загрузка…
Ссылка в новой задаче