| Index: third_party/WebKit/LayoutTests/http/tests/inspector/compiler-script-mapping.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/compiler-script-mapping.html b/third_party/WebKit/LayoutTests/http/tests/inspector/compiler-script-mapping.html
|
| index 2b33d6befefb69efe8320d3d216127e7a6ac8d65..3dab64bbc96e68755a8c4a7d309e6f1a3b8eacc0 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/inspector/compiler-script-mapping.html
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/inspector/compiler-script-mapping.html
|
| @@ -137,10 +137,12 @@ function test()
|
| {
|
| InspectorTest.addResult("Adding compiled.js");
|
| InspectorTest.evaluateInPage("\n//# sourceMappingURL=http://127.0.0.1:8000/inspector/resources/source-map.json_\n");
|
| - InspectorTest.addSniffer(Bindings.CompilerScriptMapping.prototype, "_sourceMapLoaded", onSourceMapLoaded);
|
| + InspectorTest.debuggerModel.sourceMapManager().addEventListener(
|
| + SDK.SourceMapManager.Events.SourceMapFailedToAttach, onSourceMapLoaded, this);
|
|
|
| - function onSourceMapLoaded(script, uiSourceCodePath, sourceMap)
|
| + function onSourceMapLoaded(event)
|
| {
|
| + var script = event.data.client;
|
| if (script.sourceMapURL !== "http://127.0.0.1:8000/inspector/resources/source-map.json_")
|
| return;
|
| InspectorTest.addResult("SourceMap Failed to load.");
|
|
|