Index: LayoutTests/inspector/extensions/extensions-reload.html |
diff --git a/LayoutTests/inspector/extensions/extensions-reload.html b/LayoutTests/inspector/extensions/extensions-reload.html |
index 05b98c171ed97cf216a1e133939e9937c717bc6a..f7d2654e67d396af33952e2a2359abb93631d5c9 100644 |
--- a/LayoutTests/inspector/extensions/extensions-reload.html |
+++ b/LayoutTests/inspector/extensions/extensions-reload.html |
@@ -89,38 +89,6 @@ function extension_testReloadInjectsCodeWithMessage(nextTest) |
}); |
} |
-function extension_testReloadPreprocessesCode(nextTest) |
-{ |
- var valueWithPreprocessedCode; |
- function onPageWithPreprocessedCodeLoaded() |
- { |
- webInspector.inspectedWindow.eval("window.__preprocessed", function(value) { |
- valueWithPreprocessedCode = value; |
- evaluateOnFrontend("InspectorTest.runWhenPageLoads(reply)", onPageWithoutPreprocessedCodeLoaded); |
- webInspector.inspectedWindow.reload({ }); |
- }); |
- } |
- function onPageWithoutPreprocessedCodeLoaded() |
- { |
- webInspector.inspectedWindow.eval("window.__preprocessed", function(value) { |
- output("With preprocessor:\n" + valueWithPreprocessedCode.map(function(url) { return url.split('/').pop(); }).join("\n")); |
- output("Without preprocessor: " + value); |
- nextTest(); |
- }); |
- } |
- |
- evaluateOnFrontend("InspectorTest.runWhenPageLoads(reply)", onPageWithPreprocessedCodeLoaded); |
- function preprocessor(src, url, fName) |
- { |
- var surl = url + (fName ? '_' + fName : '') + '.js'; |
- return src + '\nwindow.__preprocessed.push(\"' + surl + '\");\n'+ '//@ sourceURL=' + surl; |
- } |
- webInspector.inspectedWindow.reload({ |
- injectedScript: "window.__preprocessed = [];", |
- preprocessingScript: "(" + preprocessor +")" |
- }); |
-} |
- |
</script> |
</head> |
<body onload="runTest()"> |