blob: 0d378e8d0647aa478e8f4737d6416a80f0b2f46a [file] [log] [blame]
Verify that UISourceCodes are added and removed as iframe gets attached and detached.
Running: dumpInitialWorkspace
Removed: 0 uiSourceCodes
Workspace: 2 uiSourceCodes.
debugger:///VM[XXX]
http://127.0.0.1:8000/devtools/resources/inspected-page.html
Running: attachFrame
Removed: 0 uiSourceCodes
Workspace: 8 uiSourceCodes.
debugger:///VM[XXX]
[+] debugger:///VM[XXX] magic-script.js
[+] debugger:///VM[XXX] _test_attachFrame.js
[+] http://127.0.0.1:8000/devtools/bindings/resources/magic-frame.html
[+] http://127.0.0.1:8000/devtools/bindings/resources/magic-script.js
[+] http://127.0.0.1:8000/devtools/bindings/resources/magic-style.css
http://127.0.0.1:8000/devtools/resources/inspected-page.html
[+] _test_attachFrame.js
Running: detachFrame
Removed: 3 uiSourceCodes
[-] http://127.0.0.1:8000/devtools/bindings/resources/magic-frame.html
[-] http://127.0.0.1:8000/devtools/bindings/resources/magic-script.js
[-] http://127.0.0.1:8000/devtools/bindings/resources/magic-style.css
Workspace: 7 uiSourceCodes.
debugger:///VM[XXX]
debugger:///VM[XXX] magic-script.js
debugger:///VM[XXX] _test_attachFrame.js
[+] debugger:///VM[XXX] _test_detachFrame.js
http://127.0.0.1:8000/devtools/resources/inspected-page.html
_test_attachFrame.js
[+] _test_detachFrame.js