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

Side by Side Diff: LayoutTests/inspector/documentation/documentation-url-provider.html

Issue 559423004: DevTools: [Documentation] Disable external XHR requests in documentation tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Make XHR request always fail in documentation tests Created 6 years, 3 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
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 src="documentation-test.js"></script>
4 <script> 5 <script>
5 6
6 function test() 7 function test()
7 { 8 {
8 InspectorTest.registerModule("documentation", true); 9 InspectorTest.registerModule("documentation", true);
10 InspectorTest.killLoadXHRWithPrefix(WebInspector.DocumentationURLProvider.ur lPrefix);
9 var testCases = [ 11 var testCases = [
10 "max", 12 "max",
11 "insertBefore", 13 "insertBefore",
12 "eval", 14 "eval",
13 "stringify", 15 "stringify",
14 "isArray", 16 "isArray",
15 "now", 17 "now",
16 "fromCharCode", 18 "fromCharCode",
17 "keys", 19 "keys",
18 "notExist", 20 "notExist",
(...skipping 14 matching lines...) Expand all
33 } 35 }
34 InspectorTest.completeTest(); 36 InspectorTest.completeTest();
35 } 37 }
36 38
37 </script> 39 </script>
38 </head> 40 </head>
39 <body onload="runTest()"> 41 <body onload="runTest()">
40 This test verifies URL created by WebInspector.DocumentationURLProvider 42 This test verifies URL created by WebInspector.DocumentationURLProvider
41 </body> 43 </body>
42 </html> 44 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698