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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/execution-context-sorted.html

Issue 2136763002: DevTools: Sort execution contexts in nested frames (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/execution-context-sorted.html
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/execution-context-sorted.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/execution-context-sorted.html
new file mode 100644
index 0000000000000000000000000000000000000000..651a9aff68fc2a401a55a1b7143ea35e5da19b59
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/execution-context-sorted.html
@@ -0,0 +1,25 @@
+<html>
+<head>
+<script src="../../../http/tests/inspector/inspector-test.js"></script>
+<script>
+
+function test()
+{
+ var contexts = InspectorTest.runtimeModel.executionContexts();
+ for (var c of contexts){
pfeldman 2016/07/09 02:02:08 space before { missing
einbinder 2016/07/11 18:40:14 Done.
+ InspectorTest.addResult(c.target().resourceTreeModel.frameForId(c.frameId).displayName());
pfeldman 2016/07/09 02:02:08 How do the executionContext names look? Can we jus
einbinder 2016/07/11 18:40:14 They are ""
+ }
+ InspectorTest.completeTest();
+}
+
+</script>
+</head>
+
+<body onload="runTest()">
+ <iframe src="../resources/execution-context-iframe1.html"></iframe>
+<p>
+Tests how execution context and target are selected.
+</p>
+
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698