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

Side by Side Diff: LayoutTests/inspector/elements/set-outer-html.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 <html>
2 <head>
3
4 <script src="../../http/tests/inspector/inspector-test.js"></script>
5 <script src="../../http/tests/inspector/elements-test.js"></script>
6 <script src="set-outer-html-test.js"></script>
7 <script>
8
9 function onload()
10 {
11 document.getElementById("identity").wrapperIdentity = "identity";
12 runTest();
13 }
14
15 function test()
16 {
17 InspectorTest.runTestSuite([
18 function testSetUp(next)
19 {
20 InspectorTest.setUpTestSuite(next);
21 },
22
23 function testChangeCharacterData(next)
24 {
25 InspectorTest.patchOuterHTML("Getting involved", "Getting not involv ed", next);
26 },
27
28 function testChangeAttributes(next)
29 {
30 InspectorTest.patchOuterHTML("<a href", "<a foo=\"bar\" href", next) ;
31 },
32
33 function testRemoveLastChild(next)
34 {
35 InspectorTest.patchOuterHTML("Getting involved", "", next);
36 },
37
38 function testSplitNode(next)
39 {
40 InspectorTest.patchOuterHTML("Getting involved", "Getting</h2><h2>in volved", next);
41 },
42
43 function testChangeNodeName(next)
44 {
45 InspectorTest.patchOuterHTML("<h2>Getting involved</h2>", "<h3>Getti ng involved</h3>", next);
46 }
47 ]);
48 }
49 </script>
50 </head>
51
52 <body onload="onload()">
53 <p>
54 Tests DOMAgent.setOuterHTML protocol method.
55 </p>
56
57 <div id="container" style="display:none">
58 <p>WebKit is used by <a href="http://www.apple.com/safari/">Safari</a>, Dashboar d, etc.</a>.</p>
59 <h2>Getting involved</h2>
60 <p id="identity">There are many ways to get involved. You can:</p>
61 </div>
62
63 </body>
64 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698