forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert of [DevTools] Consolidate overlay-related functionality in Ove…
…rlay domain (patchset chromium#7 id:120001 of https://codereview.chromium.org/2819183002/ ) Reason for revert: This seems to be breaking the devtools closure compiler, i.e., closure is reporting an error: https://luci-milo.appspot.com/buildbot/chromium.linux/Linux%20Tests/55326 https://luci-logdog.appspot.com/v/?s=chromium%2Fbb%2Fchromium.linux%2FLinux_Tests%2F55326%2F%2B%2Frecipes%2Fsteps%2Fdevtools_closure_compile%2F0%2Fstdout Command: /usr/bin/python ../../testing/scripts/run_devtools_check.py ../../third_party/WebKit/Source/devtools/scripts/compile_frontend.py --isolated-script-test-output=/b/s/w/ioH2ERuI/output.json --isolated-script-test-chartjson-output=/b/s/w/ioH2ERuI/chartjson-output.json Java executable: /usr/bin/java Compiling frontend... Compiling devtools_compatibility.js... Verifying JSDoc comments... devtools_compatibility.js compilation output: 0 error(s), 0 warning(s), 95.2% typed devtools frontend compilation output: /b/s/w/itFkGMoq/tmp_x1qK7/front_end/emulation/DeviceModeModel.js:640: WARNING - Property renderingAgent never defined on SDK.Target this._target.renderingAgent().setShowViewportSizeOnResize(false); ^^^^^^^^^^^^^^ 0 error(s), 1 warning(s), 94.3% typed ERRORS DETECTED Running ['/usr/bin/python', '../../third_party/WebKit/Source/devtools/scripts/compile_frontend.py'] in None (env: None) Command ['/usr/bin/python', '../../third_party/WebKit/Source/devtools/scripts/compile_frontend.py'] returned exit code 1 Original issue's description: > [DevTools] Consolidate overlay-related functionality in Overlay domain > > This turns InspectorOverlay into InspectorOverlayAgent with respective > lifetime and domain: > - rendering domain merges into overlay; > - Page.configureOverlay moves to overlay; > - highlighting and inspect mode move from DOM to overlay. > > BUG=none > TBR=skyostil@chromium.org > > Review-Url: https://codereview.chromium.org/2819183002 > Cr-Original-Original-Commit-Position: refs/heads/master@{#465422} > Committed: https://chromium.googlesource.com/chromium/src/+/8982f602a8e1f521949d8dd8dae58cff1c787bec > Review-Url: https://codereview.chromium.org/2819183002 > Cr-Original-Commit-Position: refs/heads/master@{#465812} > Committed: https://chromium.googlesource.com/chromium/src/+/7afbb9a64fbd30254a2dab9a689648621fa29f14 > Review-Url: https://codereview.chromium.org/2819183002 > Cr-Commit-Position: refs/heads/master@{#466489} > Committed: https://chromium.googlesource.com/chromium/src/+/c8abe8c3b07d77195777e07180a4122f4d50246a TBR=pfeldman@chromium.org,skyostil@chromium.org,dgozman@chromium.org # Not skipping CQ checks because original CL landed more than 1 days ago. BUG=none Review-Url: https://codereview.chromium.org/2835843002 Cr-Commit-Position: refs/heads/master@{#466557}
- Loading branch information
Showing
63 changed files
with
1,353 additions
and
1,296 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
third_party/WebKit/LayoutTests/inspector/profiler/agents-disabled-check-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
Test that if a profiler is working all the agents are disabled. | ||
|
||
--> SDK.targetManager.suspendAllTargets(); | ||
frontend: {"id":<number>,"method":"Page.configureOverlay","params":{"suspended":true}} | ||
frontend: {"id":<number>,"method":"Target.setAutoAttach","params":{"autoAttach":true,"waitForDebuggerOnStart":false}} | ||
frontend: {"id":<number>,"method":"Debugger.disable"} | ||
frontend: {"id":<number>,"method":"Debugger.setAsyncCallStackDepth","params":{"maxDepth":0}} | ||
frontend: {"id":<number>,"method":"Overlay.setPausedInDebuggerMessage"} | ||
frontend: {"id":<number>,"method":"Page.configureOverlay","params":{"suspended":true}} | ||
frontend: {"id":<number>,"method":"DOM.disable"} | ||
frontend: {"id":<number>,"method":"CSS.disable"} | ||
frontend: {"id":<number>,"method":"Overlay.setSuspended","params":{"suspended":true}} | ||
|
||
--> SDK.targetManager.resumeAllTargets(); | ||
frontend: {"id":<number>,"method":"Page.configureOverlay","params":{"suspended":false}} | ||
frontend: {"id":<number>,"method":"Target.setAutoAttach","params":{"autoAttach":true,"waitForDebuggerOnStart":true}} | ||
frontend: {"id":<number>,"method":"Debugger.enable"} | ||
frontend: {"id":<number>,"method":"Debugger.setPauseOnExceptions","params":{"state":"none"}} | ||
frontend: {"id":<number>,"method":"Debugger.setAsyncCallStackDepth","params":{"maxDepth":8}} | ||
frontend: {"id":<number>,"method":"DOM.enable"} | ||
frontend: {"id":<number>,"method":"CSS.enable"} | ||
frontend: {"id":<number>,"method":"Overlay.setSuspended","params":{"suspended":false}} | ||
|
||
--> done | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.