| Index: LayoutTests/inspector/sources/debugger/debugger-step-out-custom-element-callbacks.html
|
| diff --git a/LayoutTests/inspector/sources/debugger/debugger-step-out-custom-element-callbacks.html b/LayoutTests/inspector/sources/debugger/debugger-step-out-custom-element-callbacks.html
|
| deleted file mode 100644
|
| index e4363b8f850f5f008ec118127235850b17f720ae..0000000000000000000000000000000000000000
|
| --- a/LayoutTests/inspector/sources/debugger/debugger-step-out-custom-element-callbacks.html
|
| +++ /dev/null
|
| @@ -1,72 +0,0 @@
|
| -<html>
|
| -<head>
|
| -<script src="../../../http/tests/inspector/inspector-test.js"></script>
|
| -<script src="../../../http/tests/inspector/debugger-test.js"></script>
|
| -<script>
|
| -
|
| -function testFunction()
|
| -{
|
| - var proto = Object.create(HTMLElement.prototype);
|
| - proto.createdCallback = function createdCallback()
|
| - {
|
| - debugger;
|
| - output('Invoked createdCallback.');
|
| - };
|
| - proto.attachedCallback = function attachedCallback()
|
| - {
|
| - output('Invoked attachedCallback.');
|
| - };
|
| - proto.detachedCallback = function detachedCallback()
|
| - {
|
| - output('Invoked detachedCallback.');
|
| - };
|
| - proto.attributeChangedCallback = function attributeChangedCallback()
|
| - {
|
| - output('Invoked attributeChangedCallback.');
|
| - };
|
| - var FooElement = document.registerElement('x-foo', { prototype: proto });
|
| - var foo = new FooElement();
|
| - foo.setAttribute('a', 'b');
|
| - document.body.appendChild(foo);
|
| - foo.remove();
|
| -}
|
| -
|
| -function test()
|
| -{
|
| - InspectorTest.startDebuggerTest(step1, true);
|
| -
|
| - function step1()
|
| - {
|
| - InspectorTest.runTestFunctionAndWaitUntilPaused(step2);
|
| - }
|
| -
|
| - function step2()
|
| - {
|
| - var actions = [
|
| - "Print", // debugger; in createdCallback
|
| - "StepOut", "Print", // at foo.setAttribute()
|
| - "StepInto", "StepInto", "Print", // at attributeChangedCallback
|
| - "StepOut", "Print", // at document.body.appendChild()
|
| - "StepInto", "StepInto", "Print", // at attachedCallback
|
| - "StepOut", "Print", // at foo.remove()
|
| - "StepInto", "StepInto", "Print", // at detachedCallback
|
| - "StepOut", "Print", // at testFunction() return point
|
| - ];
|
| - InspectorTest.waitUntilPausedAndPerformSteppingActions(actions, step3);
|
| - }
|
| -
|
| - function step3()
|
| - {
|
| - InspectorTest.completeDebuggerTest();
|
| - }
|
| -}
|
| -
|
| -</script>
|
| -</head>
|
| -
|
| -<body onload="runTest()">
|
| -<p>
|
| -Tests stepping out from custom element callbacks.
|
| -</p>
|
| -</body>
|
| -</html>
|
|
|