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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger/debug-inlined-scripts-expected.txt

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
Index: third_party/WebKit/LayoutTests/inspector/sources/debugger/debug-inlined-scripts-expected.txt
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger/debug-inlined-scripts-expected.txt b/third_party/WebKit/LayoutTests/inspector/sources/debugger/debug-inlined-scripts-expected.txt
index 9217d27f0aa660e7b04a4d3feae8d62cf518b103..3da6385605b2a317af7273fc10b082276384e12b 100644
--- a/third_party/WebKit/LayoutTests/inspector/sources/debugger/debug-inlined-scripts-expected.txt
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger/debug-inlined-scripts-expected.txt
@@ -4,7 +4,7 @@ Script source was shown.
Script execution paused.
Call stack:
0) (debug-inlined-scripts.html:3)
-Call stack status: Paused on a JavaScript breakpoint.
+Call stack status: Paused on breakpoint
==Source frame contents start==
<html>
<head>
@@ -32,9 +32,8 @@ var test = function()
function callstackStatus()
{
- var pane = self.runtime.sharedInstance(WebInspector.CallStackSidebarPane);
- var statusElement = pane.contentElement;
- return statusElement ? statusElement.textContent : "";
+ var statusElement = panel.element.querySelector(".paused-message");
+ return statusElement ? statusElement.deepTextContent() : "not found";
}
function step1()
@@ -134,9 +133,8 @@ var test = function()
function callstackStatus()
{
- var pane = self.runtime.sharedInstance(WebInspector.CallStackSidebarPane);
- var statusElement = pane.contentElement;
- return statusElement ? statusElement.textContent : "";
+ var statusElement = panel.element.querySelector(".paused-message");
+ return statusElement ? statusElement.deepTextContent() : "not found";
}
function step1()

Powered by Google App Engine
This is Rietveld 408576698