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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/last-execution-context-expected.txt

Issue 2009903002: [DevTools] Stick with top frame unless user selected something else. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more logic, and a test Created 4 years, 7 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-ui/last-execution-context-expected.txt
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/last-execution-context-expected.txt b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/last-execution-context-expected.txt
index ce5b4dac262e59b57cec3e8933a86dd2fa47b2a9..65041c9502955a507196715f91d11d09e21b58c3 100644
--- a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/last-execution-context-expected.txt
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/last-execution-context-expected.txt
@@ -1,16 +1,54 @@
-Tests that re-adding a removed target restores the last selected execution context.
+Tests how execution context and target are selected.
-Adding page target:
-Execution context selected: mock-target-page-target:pageFrame1
+
+Adding page target
+Execution context selected: contentScript1
+Target selected: mock-target-page-target
+Execution context selected: mock-target-page-target:42
+
+Adding sw target
+
+Removing page main frame
+Execution context selected: contentScript1
+
+Readding page main frame
+Execution context selected: mock-target-page-target:42
+
+Switching to sw target
+Target selected: mock-target-sw-target
+Execution context selected: mock-target-sw-target:
+
+Switching to page target
Target selected: mock-target-page-target
+Execution context selected: mock-target-page-target:42
-Adding sw target:
+User selected content script
+Execution context selected: contentScript1
-Removing page target:
+Switching to sw target
+Target selected: mock-target-sw-target
Execution context selected: mock-target-sw-target:
+
+Switching to page target
+Target selected: mock-target-page-target
+Execution context selected: mock-target-page-target:42
+
+User selected iframe1
+Execution context selected: mock-target-page-target:iframe1
+
+Switching to sw target
Target selected: mock-target-sw-target
+Execution context selected: mock-target-sw-target:
-Readding page target:
-Execution context selected: mock-target-page-target:pageFrame1
+Switching to page target
Target selected: mock-target-page-target
+Execution context selected: mock-target-page-target:iframe1
+
+Switching to sw target
+Target selected: mock-target-sw-target
+Execution context selected: mock-target-sw-target:
+
+Removing page main frame
+
+Readding page main frame

Powered by Google App Engine
This is Rietveld 408576698