Chromium Code Reviews| 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> |