Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(76)

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js

Issue 2389883003: DevTools: hoist debugger paused reason to top (Closed)
Patch Set: update test for windows compat Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/sources/debugger-async/async-await/async-pause-on-exception-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/sources/debugger-async/async-await/async-pause-on-exception-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698