| Index: LayoutTests/inspector/elements/set-outer-html-body.html
|
| diff --git a/LayoutTests/inspector/elements/set-outer-html-body.html b/LayoutTests/inspector/elements/set-outer-html-body.html
|
| deleted file mode 100644
|
| index 053638d440d8f7324e02429967180c442eb472dc..0000000000000000000000000000000000000000
|
| --- a/LayoutTests/inspector/elements/set-outer-html-body.html
|
| +++ /dev/null
|
| @@ -1,71 +0,0 @@
|
| -<html>
|
| -<head>
|
| -
|
| -<script src="../../http/tests/inspector/inspector-test.js"></script>
|
| -<script src="../../http/tests/inspector/elements-test.js"></script>
|
| -<script>
|
| -
|
| -function test()
|
| -{
|
| - var htmlNode;
|
| - var bodyNode;
|
| - var headNode;
|
| -
|
| - InspectorTest.runTestSuite([
|
| - function testSetUp(next)
|
| - {
|
| - InspectorTest.expandElementsTree(step1);
|
| - function step1()
|
| - {
|
| - htmlNode = InspectorTest.expandedNodeWithId("html");
|
| - headNode = InspectorTest.expandedNodeWithId("head");
|
| - bodyNode = InspectorTest.expandedNodeWithId("body");
|
| - next();
|
| - }
|
| - },
|
| -
|
| - function testSetBody(next)
|
| - {
|
| - InspectorTest.DOMAgent.setOuterHTML(bodyNode.id, "<body>New body content</body>", dumpHTML(next));
|
| - },
|
| -
|
| - function testInsertComments(next)
|
| - {
|
| - InspectorTest.DOMAgent.setOuterHTML(bodyNode.id, "<!-- new comment between head and body --><body>New body content</body>", dumpHTML(next));
|
| - },
|
| -
|
| - function testSetHead(next)
|
| - {
|
| - InspectorTest.DOMAgent.setOuterHTML(headNode.id, "<head><!-- new head content --></head>", dumpHTML(next));
|
| - },
|
| -
|
| - function testSetHTML(next)
|
| - {
|
| - InspectorTest.DOMAgent.setOuterHTML(htmlNode.id, "<html><head><!-- new head content --></head><body>Setting body as a part of HTML.</body></html>", dumpHTML(next));
|
| - }
|
| - ]);
|
| -
|
| - function dumpHTML(next)
|
| - {
|
| - function dump()
|
| - {
|
| - InspectorTest.DOMAgent.getOuterHTML(htmlNode.id, callback);
|
| - function callback(error, text)
|
| - {
|
| - InspectorTest.addResult(error ? error : text);
|
| - next();
|
| - }
|
| - }
|
| - return dump;
|
| - }
|
| -}
|
| -</script>
|
| -</head>
|
| -
|
| -<body>
|
| -<p>
|
| -Tests DOMAgent.setOuterHTML invoked on body tag. See https://bugs.webkit.org/show_bug.cgi?id=62272.
|
| -<iframe src="resources/set-outer-html-body-iframe.html" onload="runTest()"></iframe>
|
| -</p>
|
| -</body>
|
| -</html>
|
|
|