| Index: third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-scope-skip-variables-with-empty-name.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-scope-skip-variables-with-empty-name.html b/third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-scope-skip-variables-with-empty-name.html
|
| deleted file mode 100644
|
| index a0357b3247bfaccc8c98a503d22892ce9c153aff..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-scope-skip-variables-with-empty-name.html
|
| +++ /dev/null
|
| @@ -1,50 +0,0 @@
|
| -<html>
|
| -<head>
|
| -<script type="text/javascript" src="../../http/tests/inspector-protocol/resources/inspector-protocol-test.js"></script>
|
| -<script>
|
| -
|
| -function testFunction()
|
| -{
|
| - for (var a of [1]) {
|
| - ++a;
|
| - debugger;
|
| - }
|
| -}
|
| -
|
| -function test()
|
| -{
|
| - InspectorTest.sendCommandOrDie("Debugger.enable", {});
|
| - InspectorTest.eventHandler["Debugger.paused"] = dumpScopeOnPause;
|
| - InspectorTest.sendCommandOrDie("Runtime.evaluate", { "expression": "testFunction()" });
|
| -
|
| - var waitScopeObjects = 0;
|
| - function dumpScopeOnPause(message)
|
| - {
|
| - var scopeChain = message.params.callFrames[0].scopeChain;
|
| - var localScopeObjectIds = [];
|
| - for (var scope of scopeChain) {
|
| - if (scope.type === "local")
|
| - localScopeObjectIds.push(scope.object.objectId);
|
| - }
|
| - waitScopeObjects = localScopeObjectIds.length;
|
| - if (!waitScopeObjects) {
|
| - InspectorTest.completeTest();
|
| - } else {
|
| - for (var objectId of localScopeObjectIds)
|
| - InspectorTest.sendCommandOrDie("Runtime.getProperties", { "objectId" : objectId }, dumpProperties);
|
| - }
|
| - }
|
| -
|
| - function dumpProperties(message)
|
| - {
|
| - InspectorTest.logObject(message);
|
| - --waitScopeObjects;
|
| - if (!waitScopeObjects)
|
| - InspectorTest.sendCommandOrDie("Debugger.resume", {}, () => InspectorTest.completeTest());
|
| - }
|
| -}
|
| -</script>
|
| -</head>
|
| -<body onLoad="runTest();">
|
| -</body>
|
| -</html>
|
|
|