Commit Graph
20 Commits
Author SHA1 Message Date
Tim van der Lippe 08ecb1751c [module.json extensions] browser_debugger views
R=andoli@chromium.org

Bug: 1134103
Change-Id: I6751bbf874b4e42b4650398d8d5c121e748fed6e
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2565573
Reviewed-by: Andres Olivares <andoli@chromium.org>
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
2020-12-01 13:20:55 +00:00
Tim van der Lippe 7dcef88d8b Remove skip_compilation from module.json files
R=aerotwist@chromium.org

Bug: 1011811
Change-Id: I4c4fd280adb4f5f7b327239d08d80b2cb98b203b
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2560248
Reviewed-by: Paul Lewis <aerotwist@chromium.org>
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
2020-11-25 13:19:08 +00:00
Alfonso Castaño 13dcbd22d4 Breakpoint on Trusted Type violation (Devtools)
This CL introduces a categorized sidebar pane to set breakpoints on Trusted Type violations.

DISABLE_THIRD_PARTY_CHECK=protocol change
https://docs.google.com/document/d/1rlRtq_Ai0leS9sqlRvoOL5RNc1BR6Q1yAVvLLJFasMA/
Screenshot: https://i.imgur.com/8Aythwz.png
Bug: chromium:1142804
Change-Id: I3e14e35165f1b157da922f534be52a10df9178ab
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2517571
Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org>
Reviewed-by: Sigurd Schneider <sigurds@chromium.org>
Commit-Queue: Alfonso Castaño <alcastano@google.com>
2020-11-19 11:55:14 +00:00
Alfonso Castaño 6729bed0d4 Introduce abstract class for categorized breakpoints
This CL introduces a new abstract class CategorizedBreakpointsSidebarPane.
For the moment it is only used in EventListener but in follow-up CL a new child class will be introduced.

DISABLE_THIRD_PARTY_CHECK=protocol change
Follow-up CL: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2517571
Bug: chromium:1142804
Change-Id: I88b984cf08bb3f1ae758ef2efd3463814e70aedb
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2529160
Commit-Queue: Alfonso Castaño <alcastano@google.com>
Reviewed-by: Sigurd Schneider <sigurds@chromium.org>
Reviewed-by: Yang Guo <yangguo@chromium.org>
2020-11-13 13:37:45 +00:00
Tim van der Lippe 8af45cda3d Use TypeScript-authored files in browser_debugger/
R=aerotwist@chromium.org

Bug: 1011811
Change-Id: I142d23f4cc04c88bef81b9cdb6dd13d26db2f9a9
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2520820
Auto-Submit: Tim van der Lippe <tvanderlippe@chromium.org>
Commit-Queue: Paul Lewis <aerotwist@chromium.org>
Reviewed-by: Paul Lewis <aerotwist@chromium.org>
2020-11-05 13:36:01 +00:00
Tim van der Lippe 46e1bcace9 Remove pre_generates_legacy from module.json files
This was a temporary flag used during the build_release_applications
to GN migration.

R=aerotwist@chromium.org

Bug: 1131500
Change-Id: I8a772bcc4bee31dbd3270bf7ef62d8c97941024a
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2484716
Reviewed-by: Paul Lewis <aerotwist@chromium.org>
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
2020-10-19 16:12:09 +00:00
Tim van der Lippe ead1fa43d0 Move remaining legacy files to GN
R=aerotwist@chromium.org

Bug: 1131500
Change-Id: Ibb247dd02a5032604824517be4276c4b83c8fc8c
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2479140
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
Auto-Submit: Tim van der Lippe <tvanderlippe@chromium.org>
Reviewed-by: Paul Lewis <aerotwist@chromium.org>
2020-10-19 09:25:50 +00:00
Tim van der Lippe cac65d4fa0 Remove skip_rollup
This was a temporary flag as part of the devtools_entrypoint migration.
Since that migration has concluded, we can now remove all references
to it and clean up `build_release_applications.py`.

R=jacktfranklin@chromium.org,aerotwist@chromium.org

Bug: 1101738
Change-Id: I3ef9ec1a99bc9fc1758532124db22b3b4b1a5e2a
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2391140
Reviewed-by: Paul Lewis <aerotwist@chromium.org>
Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
2020-09-08 15:44:09 +00:00
Tim van der Lippe 207e2f9fdc Migrate browser_debugger to devtools_entrypoint
R=jacktfranklin@chromium.org

Bug: 1101738
Change-Id: I2baadadc23f935725272bdb73f256b6827f58f57
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2390620
Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
2020-09-02 15:05:20 +00:00
Sigurd Schneider 965b1ffc56 Revert "Migrate browser_debugger to devtools_entrypoint"
This reverts commit 8419f16834.

Reason for revert: Doesn't compile:
https://ci.chromium.org/p/devtools-frontend/builders/ci/DevTools%20Linux/2171

Original change's description:
> Migrate browser_debugger to devtools_entrypoint
> 
> Bug: 1101738
> Change-Id: Ia5a5b8a6fff3607d787df23d31264552c55267bf
> Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2335069
> Commit-Queue: Paul Lewis <aerotwist@chromium.org>
> Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>

TBR=aerotwist@chromium.org,jacktfranklin@chromium.org

Change-Id: I60f22d4cd485b3b555ce8e476d58bb01abccbff9
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 1101738
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2336718
Reviewed-by: Sigurd Schneider <sigurds@chromium.org>
Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
2020-08-04 13:01:15 +00:00
Paul Lewis 8419f16834 Migrate browser_debugger to devtools_entrypoint
Bug: 1101738
Change-Id: Ia5a5b8a6fff3607d787df23d31264552c55267bf
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2335069
Commit-Queue: Paul Lewis <aerotwist@chromium.org>
Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>
2020-08-04 12:04:53 +00:00
Mathias Bynens 5e43b27e8b Reformat module.json files
This patch makes it so that all module.json files use the same
consistent indentation that matches .editorconfig and the rest
of the codebase. At the request of reviewers, one such file
(front_end/emulated_devices/module.json) has been excluded
from this patch. It will be reformatted in a separate CL.

Note that this patch does not “roll CodeMirror”, although a
pre-commit hook forces me to include that phrase in the commit
message because the module.json file in the relevant folder is
modified.

Bug: chromium:1070492
Change-Id: Ib31ed5232461e2f80bf05f31105fc919f6639b0a
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2127007
Commit-Queue: Mathias Bynens <mathias@chromium.org>
Reviewed-by: Simon Zünd <szuend@chromium.org>
2020-04-14 05:35:23 +00:00
Jack Lynch 0a882882e4 Highlight DOM breakpoints when hit
This CL fixes an issue where one or both of the two instances of the DOM
breakpoints pane (in Sources and Elements) fail to update when a
breakpoint is hit. There's a video in the linked bug showing more
specific repro steps, but the issue stems from three different
extensions in browser_debugger.json that reference
DOMBreakpointsSidebarPane: two views and a ContextFlavorListener. Unlike
every other view in the devtools, these ones define a factoryName rather
than a className. This makes the devtools create separate instances for
each rather than using runtime.sharedInstance(), which breaks
UI.Context._dispatchFlavorChange(), which does rely on
runtime.sharedInstance().

In order to make _dispatchFlavorChange() work properly with both the
Elements and Sources panel views, I replaced their factoryNames with
classNames, i.e. made them share an instance. Some minor changes to
ContainerWidget and _ExpandableContainerWidget were needed to make sure
the shared instance actually shows up where needed, but everything now
works as expected. An alternative would be to rework
Extension.instance() and ContextFlavorListener, but that seems more
invasive.

Bug: 973251
Change-Id: I288dea794518605f8f93c28c7826372dbaea2e1f
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/1984805
Commit-Queue: Jack Lynch <jalyn@microsoft.com>
Reviewed-by: Robert Paveza <Rob.Paveza@microsoft.com>
2020-01-13 17:23:55 +00:00
Paul Lewis 2a4f9fe07d Migrates browser_debugger to ESM internally
Bug: 1006759
Change-Id: Iae67cbad44cfebe3ceb4353f32d9e2e4024b41bf
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/1991631
Commit-Queue: Paul Lewis <aerotwist@chromium.org>
Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org>
2020-01-09 16:21:21 +00:00
Paul Lewis 7f7a92088c Migrates browser_debugger/ to esm
Bug: 1006759
Change-Id: I6fd8ea8fb749bf1231b481a8b311f0370fe9e401
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/1934217
Commit-Queue: Paul Lewis <aerotwist@chromium.org>
Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org>
2019-11-26 16:26:56 +00:00
Pavel Feldman a06cbef9f6 Reland "DevTools: allow showing views above and below the Sources sidebar."
This reverts commit 41f9647f5be04f00b08991980ce92a84f45fb990.

Reason for revert: applying fix.

Original change's description:
> Revert "DevTools: allow showing views above and below the Sources sidebar."
>
> This reverts commit d21d2ed3a028353e143dfa6708e6c7bbf13fa9fc.
>
> Reason for revert: Causing devtools_eslint failure
> https://logs.chromium.org/logs/chromium/buildbucket/cr-buildbucket.appspot.com/8928389307771200912/+/steps/devtools_eslint/0/stdout
>
> Original change's description:
> > DevTools: allow showing views above and below the Sources sidebar.
> >
> > Change-Id: I76a8edbc45bd6e2d775b48c8f93e288d82bed817
> > Reviewed-on: https://chromium-review.googlesource.com/c/1357513
> > Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
> > Commit-Queue: Pavel Feldman <pfeldman@chromium.org>
> > Cr-Commit-Position: refs/heads/master@{#612830}
>
> TBR=dgozman@chromium.org,pfeldman@chromium.org,kozy@chromium.org
>
> # Not skipping CQ checks because original CL landed > 1 day ago.
>
> Change-Id: I58fd8fab81766fee2aca0747a78f4ac61647f7cf
> Reviewed-on: https://chromium-review.googlesource.com/c/1358118
> Reviewed-by: calamity <calamity@chromium.org>
> Commit-Queue: calamity <calamity@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#613013}

TBR=dgozman@chromium.org

Change-Id: I0e4cd1fe9585f7ccd365cc449ca0429e0b031141
Reviewed-on: https://chromium-review.googlesource.com/c/1358045
Commit-Queue: Pavel Feldman <pfeldman@chromium.org>
Reviewed-by: Pavel Feldman <pfeldman@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#613020}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5e71f37a822fedb49fc168fd3658195445613be5
2018-12-03 08:08:01 +00:00
calamity f9bd7f1727 Revert "DevTools: allow showing views above and below the Sources sidebar."
This reverts commit d21d2ed3a028353e143dfa6708e6c7bbf13fa9fc.

Reason for revert: Causing devtools_eslint failure
https://logs.chromium.org/logs/chromium/buildbucket/cr-buildbucket.appspot.com/8928389307771200912/+/steps/devtools_eslint/0/stdout

Original change's description:
> DevTools: allow showing views above and below the Sources sidebar.
> 
> Change-Id: I76a8edbc45bd6e2d775b48c8f93e288d82bed817
> Reviewed-on: https://chromium-review.googlesource.com/c/1357513
> Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
> Commit-Queue: Pavel Feldman <pfeldman@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#612830}

TBR=dgozman@chromium.org,pfeldman@chromium.org,kozy@chromium.org

# Not skipping CQ checks because original CL landed > 1 day ago.

Change-Id: I58fd8fab81766fee2aca0747a78f4ac61647f7cf
Reviewed-on: https://chromium-review.googlesource.com/c/1358118
Reviewed-by: calamity <calamity@chromium.org>
Commit-Queue: calamity <calamity@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#613013}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 41f9647f5be04f00b08991980ce92a84f45fb990
2018-12-03 06:44:35 +00:00
Pavel Feldman cca34307f0 DevTools: allow showing views above and below the Sources sidebar.
Change-Id: I76a8edbc45bd6e2d775b48c8f93e288d82bed817
Reviewed-on: https://chromium-review.googlesource.com/c/1357513
Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
Commit-Queue: Pavel Feldman <pfeldman@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#612830}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d21d2ed3a028353e143dfa6708e6c7bbf13fa9fc
2018-11-30 23:09:39 +00:00
Pavel Feldman c9060ea409 DevTools: move overrides and content scripts into browser_debugger, add drawer split.
Change-Id: I9495216a14e15d35fd55894b48a19f616a649213
Reviewed-on: https://chromium-review.googlesource.com/1034196
Commit-Queue: Pavel Feldman <pfeldman@chromium.org>
Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#554695}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2431f4ba31873e17c1abfa5d7cc9f29ba8dca4d0
2018-04-30 04:42:18 +00:00
Blink Reformat 4c46d0969f The Great Blink mv for source files, part 2.
Move and rename files.

NOAUTOREVERT=true
NOPRESUBMIT=true
NOTREECHECKS=true
Bug: 768828
TBR=darin@chromium.org
NOTRY=true

Change-Id: I66d3b155808bc5bdbf237b80208e1e552bcf7f28
Reviewed-on: https://chromium-review.googlesource.com/1001153
Reviewed-by: Blink Reformat <blink-reformat@chromium.org>
Commit-Queue: Blink Reformat <blink-reformat@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#549061}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0aee4434a4dba42a42abaea9bfbc0cd196a63bc1
2018-04-07 15:32:37 +00:00