Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / inspector / search / search-in-non-existing-resource.html
blob31b11c52454d58ff209325674491ca55cd4c838d
1 <html>
2 <head>
3 <script src="../inspector-test.js"></script>
4 <script src="../resources-test.js"></script>
5 <script src="search-test.js"></script>
6 <script>
7 function test()
9 // This file should not match search query.
10 var text = "searchTest" + "UniqueString";
11 InspectorTest.runAfterResourcesAreFinished(["search.js"], step2);
13 function step2()
15 var resource = WebInspector.resourceForURL("http://127.0.0.1:8000/inspector/search/resources/search.js");
16 var url = "http://127.0.0.1:8000/inspector/search/resources/non-existing.js";
17 InspectorTest.PageAgent.searchInResource(resource.frameId, url, text, step3);
20 function step3(error, searchMatches)
22 InspectorTest.dumpSearchMatches(searchMatches);
23 InspectorTest.completeTest();
26 </script>
27 </head>
28 <body>
29 <p>Tests single resource search in inspector page agent with non existing resource url does not cause a crash.</p>
30 <a href="https://bugs.webkit.org/show_bug.cgi?id=69767">Bug 69767</a>
32 <iframe src="resources/search.html" onload="runTest()">
33 </body>
34 </html>