Index: third_party/WebKit/LayoutTests/inspector-protocol/debugger/setScriptSource.html |
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/debugger/setScriptSource.html b/third_party/WebKit/LayoutTests/inspector-protocol/debugger/setScriptSource.html |
index 1954945906df260cff5948871bdbc9ec0429fcf9..8ebeac2307126e30ac033b3a05ef5734918abb97 100644 |
--- a/third_party/WebKit/LayoutTests/inspector-protocol/debugger/setScriptSource.html |
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/debugger/setScriptSource.html |
@@ -140,11 +140,11 @@ function test() |
} |
function errorCallbackSetScriptSource2(result) { |
- var compileError = result.compileError; |
- logCheck("Has error reported", !!compileError); |
- logCheck("Reported error is a compile error", !!compileError); |
- if (compileError) |
- logEqualsCheck(compileError.lineNumber, 1); |
+ var exceptionDetails = result.exceptionDetails; |
+ logCheck("Has error reported", !!exceptionDetails); |
+ logCheck("Reported error is a compile error", !!exceptionDetails); |
+ if (exceptionDetails) |
+ logEqualsCheck(exceptionDetails.lineNumber, 1); |
return next; |
} |
} |