Index: third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js |
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js |
index f375a9ee88db0304e46365570bfef507ad06f0ef..edf249697f1779e11b97aade4a9f311ddcc8c184 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js |
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js |
@@ -174,7 +174,7 @@ InspectorTest.resumeExecution = function(callback) |
InspectorTest.waitUntilPausedAndDumpStackAndResume = function(callback, options) |
{ |
InspectorTest.waitUntilPaused(paused); |
- InspectorTest.addSniffer(WebInspector.CallStackSidebarPane.prototype, "_updateStatusMessage", setStatus); |
+ InspectorTest.addSniffer(WebInspector.SourcesPanel.prototype, "_updateDebuggerButtonsAndStatus", setStatus); |
var caption; |
var callFrames; |
@@ -182,7 +182,8 @@ InspectorTest.waitUntilPausedAndDumpStackAndResume = function(callback, options) |
function setStatus() |
{ |
- caption = this.contentElement.lastChild.deepTextContent(); |
+ var statusElement = this.element.querySelector(".paused-message"); |
+ caption = statusElement.deepTextContent(); |
if (callFrames) |
step1(); |
} |