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

Side by Side Diff: LayoutTests/inspector/elements/dom-search-crash.html

Issue 881263002: DevTools: use target-based model accessors only. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../http/tests/inspector/inspector-test.js"></script> 3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script> 4 <script>
5 function test() 5 function test()
6 { 6 {
7 InspectorTest.runTestSuite([ 7 InspectorTest.runTestSuite([
8 function testSetUp(next) 8 function testSetUp(next)
9 { 9 {
10 WebInspector.domModel.requestDocument(next); 10 InspectorTest.domModel.requestDocument(next);
11 }, 11 },
12 12
13 function testNoCrash(next) 13 function testNoCrash(next)
14 { 14 {
15 WebInspector.domModel.performSearch("FooBar", false, next); 15 InspectorTest.domModel.performSearch("FooBar", false, next);
16 } 16 }
17 ]); 17 ]);
18 } 18 }
19 </script> 19 </script>
20 </head> 20 </head>
21 21
22 <body> 22 <body>
23 <p> 23 <p>
24 Tests that elements panel search is not crashing on documentElement-less cases. 24 Tests that elements panel search is not crashing on documentElement-less cases.
25 </p> 25 </p>
26 <iframe src="resources/dom-search-crash-iframe.html" onload="runTest()"></iframe > 26 <iframe src="resources/dom-search-crash-iframe.html" onload="runTest()"></iframe >
27 </body> 27 </body>
28 </html> 28 </html>
OLDNEW
« no previous file with comments | « LayoutTests/inspector/elements/dom-agent-query-selector.html ('k') | LayoutTests/inspector/elements/edit-style-attribute.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698