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

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: Widget >> custom element with shadow 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..d0da433ebb46fb3817144274f6cd084f3ed29962 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("[is=paused-message]");
+ return statusElement ? statusElement.deepTextContent() : "";
}
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("[is=paused-message]");
+ return statusElement ? statusElement.deepTextContent() : "";
}
function step1()

Powered by Google App Engine
This is Rietveld 408576698