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

Side by Side Diff: LayoutTests/inspector/elements/set-attribute-non-html.svg

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 <?xml version="1.0"?>
2 <svg xmlns="http://www.w3.org/2000/svg">
3 <foreignObject>
4 <html xmlns="http://www.w3.org/1999/xhtml">
5 <head>
6 <script src="../../http/tests/inspector/inspector-test.js"></script>
7 <script src="../../http/tests/inspector/elements-test.js"></script>
8 <script><![CDATA[
9
10 function test()
11 {
12 var targetNode;
13
14 InspectorTest.runTestSuite([
15 function testDumpInitial(next)
16 {
17 function callback(node)
18 {
19 targetNode = node;
20 next();
21 }
22 InspectorTest.selectNodeWithId("node", callback);
23 },
24
25 function testSetAttributeText(next)
26 {
27 function callback(error)
28 {
29 next();
30 }
31 targetNode.setAttribute("foo", "foo2='baz2' foo3='baz3'", callback);
32 }
33 ]);
34 }
35 ]]>
36 </script>
37 </head>
38
39 <body onload="runTest()">
40 <p>
41 Tests that elements panel updates dom tree structure upon setting attribute on n on HTML elements. PASSes if there is no crash.
42 </p>
43
44 <div id="node"></div>
45
46 </body>
47 </html>
48 </foreignObject>
49 </svg>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698