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 922ad5bf12d4caa50074711d2c6100d46e552c0b..be507efd2ee7b6ea22ccbc3f774528fcbbdd1b5e 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(); |
} |