Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Side by Side Diff: LayoutTests/inspector/elements/delete-from-document.html

Issue 1158883003: DevTools: shard inspector/elements tests for faster execution. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.or g/TR/html4/loose.dtd">
2 <html>
3 <head>
4 <script src="../../http/tests/inspector/inspector-test.js"></script>
5 <script src="../../http/tests/inspector/elements-test.js"></script>
6 <script>
7
8 function removeDoctype()
9 {
10 document.removeChild(document.firstChild);
11 }
12
13 function test()
14 {
15 InspectorTest.expandElementsTree(step1);
16
17 function step1()
18 {
19 InspectorTest.addResult("Before remove doctype");
20 InspectorTest.dumpElementsTree(null, 1);
21 InspectorTest.evaluateInPage("removeDoctype()", step2);
22 }
23
24 function step2()
25 {
26 InspectorTest.addResult("After remove doctype");
27 InspectorTest.dumpElementsTree(null, 1);
28 InspectorTest.completeTest();
29 }
30 }
31
32 </script>
33 </head>
34
35 <body onload="runTest()">
36 <p>
37 Tests that removing child from the document is handled properly in the elements panel.
38 </p>
39
40 </body>
41 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698