Commit Graph
8855 Commits
Author SHA1 Message Date
Arno Renevier 3b10a97f91 export captureNumericValue in HeapSnapshotView
Numeric values have been added to V8 Heap Snapshots in
https://chromium-review.googlesource.com/c/v8/v8/+/2806747

This patch exposes the option in HeapSnapshotView via a checkbox.

The setting is false by default.

If treatGlobalObjectsAsRoots is also exposed, then we wrap both checkbox
inside a paragraph.

Bug: chromium:1203047
Change-Id: Icc5a58f0dbe7324f85d8ad6fb9f3158c574ad36e
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2852453
Commit-Queue: Arnaud Renevier <arenevier@fb.com>
Reviewed-by: Yang Guo <yangguo@chromium.org>
Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org>
2021-04-27 21:20:14 +00:00
Michael Liao 85f7a8d541 [Accessibility]: Adding announcement when setting/removing DOM breakpoints
Issue:
- No indication for VoiceOver users that setting or removing breakpoints was triggered successfully

Changes:
- Adding ARIAUtils.alert call when setting/removing DOM breakpoints
Example alert string: "attribute modifications breakpoint removed"

For Narrator/NVDA:
For these SRs, sometimes the announcement string gets cut off due to the focus change to the selected DOM element.  This is not too much of an issue because the SR will read "DOM Breakpoint <div class...>" after setting the breakpoint which counts as a success message for SR users.

For VoiceOver:
VO has the main accessibility violation since it reads "Closing menu page DOM table no selection" after adding/removing a DOM breakpoint without re-reading the selected DOM element. This alert will read clearly every time for VoiceOver.


Bug: 1197611
Change-Id: Iebd2b99132fae780df4a40ae0442bc161f8be05d
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2817910
Commit-Queue: Michael Liao <michael.liao@microsoft.com>
Reviewed-by: Mathias Bynens <mathias@chromium.org>
Reviewed-by: Alex Rudenko <alexrudenko@chromium.org>
Reviewed-by: Vidal Diazleal <vidorteg@microsoft.com>
Reviewed-by: Kalon Hinds <kahinds@microsoft.com>
2021-04-27 17:53:14 +00:00
Kriti Sapra 417940939a Changed hex values to CSS variables in platformFontsWidget.css
Before and after pictures: https://imgur.com/a/wTYAv8V

Bug: 1152736
Change-Id: Ice7c61983c8fea120f10c1c560061936be125d74
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2853560
Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>
Commit-Queue: Kriti Sapra <kritisapra@google.com>
2021-04-27 15:32:04 +00:00
Jack Franklin 68076dc55e Update theme colors component docs
This CL updates the theme colors doc so that the actual color values
come from CSS, so they don't get outdated. Additionally we now render
into a div that has the .-theme-with-dark-background class so that the
dark colors are rendered correctly too. Long term I'd like to generate
the entire list of variables automatically,but this is already an
improvement.

Bug: chromium:1152736
Change-Id: I89e44a9060fbef0866f670cced2030fdb2443526
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2853558
Commit-Queue: Jack Franklin <jacktfranklin@chromium.org>
Auto-Submit: Jack Franklin <jacktfranklin@chromium.org>
Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org>
2021-04-27 14:48:28 +00:00
Tim van der Lippe 7d4f6c4889 Fix wasmparser integration
Prior to this fix, the wasmparser_worker entrypoint would include
specific files from third_party/wasmparser. However, since the
files were included as part of a separate package, rolling up the
target could cause issues. They should have been part of the
`sources` of the wasmparser_worker entrypoint, but they were instead
included as `deps`. Even better would be to not include specific
files from the wasmparser and instead use an entrypoint.

In the specific case reported in crbug.com/1203165, the wasmparser
implementation was updated. As such, GN reran
`third_party/wasmparser` and determined that
`entrypoints/wasmparser_worker:wasmparser_worker` required
recompilation (since one if its dependencies were updated. However,
since `entrypoints/wasmparser_worker:wasmparser_worker` wasn't
producing a different output, GN would determine that it wouldn't
have to run rollup. This conclusion is wrong and is an artifact of
the inclusion of specific files of `third_party/wasmparser` by
the entrypoint.

To fix this, we should rollup all relevant sources in
`third_party/wasmparser` instead. That way, whenever the wasmparser
implementation is updated, it will properly roll up its content
into its bundle, ready for consumption by the entrypoint.

R=jacktfranklin@chromium.org

Bug: 1203165
Change-Id: Ic29ddea0d1f8e953e11e71a6a0e4e65c5f0f1ad6
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2853559
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
Commit-Queue: Jack Franklin <jacktfranklin@chromium.org>
Auto-Submit: Tim van der Lippe <tvanderlippe@chromium.org>
Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>
2021-04-27 14:33:30 +00:00
Tim van der Lippe cf2bf27966 Restrict ui/legacy/components visibility
R=jacktfranklin@chromium.org

Bug: 1202788
Change-Id: I8574e98fd0cc6b79a6991d6f835b35ceefbb9bd0
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2853554
Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
2021-04-27 14:32:25 +00:00
Andres Olivares a49747205c [DarkMode] iniline_editor/bezierSwatch.css
Apart from replacing the colors for CSS variables, the CSS selectors
were changed to be more specific since they were previously overriden by
other CSS declaration.

Before: https://imgur.com/a/qVTXtNW
After: https://imgur.com/a/SEFZcGW

R=jacktfranklin@chromium.org

Bug: chromium:1184272
Change-Id: Ie86700436a7d98203d7ce9af66fe5ab585edacc2
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2844413
Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>
Commit-Queue: Andres Olivares <andoli@chromium.org>
2021-04-27 13:15:10 +00:00
Tim van der Lippe 19dba6b42b Restrict ui/legacy:bundle visibility
This locks down the visibility of ui/legacy:bundle to the various
folders that already depend on it. For now, the visibility is
quite broad, as there is still plenty of code depending on the
legacy UI implementation.

Consequently, downstream projects (such as the Edge DevTools fork)
will break if they depend on this bundle. Therefore, add a GN arg
that allows the visibility to be extended. To use this GN arg,
downstream projects can change their `default_args` in the root
`.gn` file:

default_args = {
  devtools_ui_legacy_visibility = [
    "//front_end/forked/folder/*",
  ]
}

This means that they can broaden the visibility of UI. It is still
recommended to remove as many of the dependencies on UI as feasible,
but that will likely not finish any time soon.

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

Bug: 1202788
Change-Id: I868e88ee3b1c66dd7c79d30d07648a7d2828e8f2
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2853551
Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
2021-04-27 13:14:05 +00:00
Jack Franklin 4d55f07954 [DarkMode] migrate ConsoleView.css
I was going to generate a CSS file for this but then I realised that
it wasn't so many that I couldn't do it by hand. Along the way I found
a few CSS selectors that I'm pretty sure are unused; I couldn't find
them when testing with a variety of console inputs, so I've removed
them. They also relied on CSS classes that I couldn't find references
to in `ConsoleView.ts`.

I've made liberal use of `--override-*` variables to get this file
migrated but will sync with Peter as I think some of these may be
legitimate color variables to pull into the theme colors.

Bug: chromium:1152736
Change-Id: I6bf5cab47d37b86bac5d820cf89c80d29bb999b9
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2853546
Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org>
Commit-Queue: Jack Franklin <jacktfranklin@chromium.org>
2021-04-27 13:09:41 +00:00
Kriti Sapra 8e642e00e8 Changed paintProfiler.css to use variable for background colour and disabled legacy patching
New screenshots: https://imgur.com/a/6Ni4mcs

Bug: 1152736
Change-Id: I468b77b1b85ef097dd2b0d4db6c9e4342e9223b2
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2853545
Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>
Commit-Queue: Kriti Sapra <kritisapra@google.com>
2021-04-27 12:47:41 +00:00
Simon Zünd 5fb4a1795d [cleanup] Make 'substitutions' implicitly undefined in descriptor
The property has been marked either as a MarkdownIssueDescription or
an explicit undefined. This was due to how Closure typedefs worked.
After TS migration this is no longer necessary and we can remove all
the explicit undefined fields.

R=wolfi@chromium.org

Bug: None
Change-Id: Ia0b94f9c6f27239f6d3cfac7d5fcb83b56424834
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2853543
Commit-Queue: Simon Zünd <szuend@chromium.org>
Auto-Submit: Simon Zünd <szuend@chromium.org>
Reviewed-by: Wolfgang Beyer <wolfi@chromium.org>
2021-04-27 12:35:21 +00:00
devtools-ci-autoroll-builder bf7a93e170 Update DevTools DEPS.
Rolling build: https://chromium.googlesource.com/chromium/src/build/+log/84e217e..cd2983a

Rolling third_party/depot_tools: https://chromium.googlesource.com/chromium/tools/depot_tools/+log/90aee2a..c91f5f6

TBR=machenbach@chromium.org,liviurau@chromium.org

Bug: none
Change-Id: Ic90f634683b63cc6bf407ee2876ac428f578f046
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2853803
Reviewed-by: Devtools Autoroller <devtools-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Devtools Autoroller <devtools-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com>
2021-04-27 12:33:31 +00:00
Sigurd Schneider 9149c7abd5 Add issue for private network request (preflights)
This CL adds an issue indicating that private network requests are going
to require a preflight request in the future.

Bug: chromium:1141824
Change-Id: I7e63872b7612f5a2b6e483a508704f73287c8977
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2848228
Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
Reviewed-by: Lutz Vahl <vahl@chromium.org>
2021-04-27 12:00:41 +00:00
Sigurd Schneider de7d3fe31c Improve type safety by allowing issue code to be of enum type
This CL makes Issue a generic class that takes a generic type for
the issue code. This type constrains the return type of Issue.code()
such that callers that, e.g. are dealing with a CorsIssue know that
the return values are coming from a particular enum value.

This allows to easily check that displaying code handles all codes.

One caveat is that the types cannot guarantee for IssueAggregator
that the aggregated issues are always of the same type although
this is the case. The reason is that this would require global
knowledge (we would have to know on the type level that no two issue
codes in subclasses of issues are the same).

Bug: chromium:1072335
Change-Id: I741e50db882636de314b79cd2109e2cb6efcf6e7
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2848237
Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
Reviewed-by: Wolfgang Beyer <wolfi@chromium.org>
Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org>
2021-04-27 11:29:01 +00:00
Sigurd Schneider ab7b6233f1 Expose HAR writing on NetworkTestRunner
Bug: chromium:1202116
Change-Id: Ibdc56c130c937b7d745ddf08ed7749c357db55ba
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2851745
Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org>
Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
2021-04-27 10:22:01 +00:00
Tim van der Lippe ada1b595b7 Remove old DevTools GRD
This removes the GRD that was previously put in gen/devtools and
removes copying all files into gen/devtools as well.

This requires https://crrev.com/c/2844838 to land first in Chromium
and rolled into DevTools itself.

R=alexrudenko@chromium.org

Fixed: 1174013
Change-Id: I8fa4272caa371d126a46ef61da0071ba9d3a85ae
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2848229
Reviewed-by: Alex Rudenko <alexrudenko@chromium.org>
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
2021-04-27 09:33:41 +00:00
Sigurd Schneider 36e0dcc09a Update link for private network request issues
Bug: chromium:1141824
Change-Id: Iedfe4376cbd549b031a6db3b7096c067179d9e33
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2851747
Reviewed-by: Lutz Vahl <vahl@chromium.org>
Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
2021-04-27 09:06:51 +00:00
Sigurd Schneider 595dcec18b Revert "[deps] Update wasmparser to 5.1.1"
This reverts commit ecef9d5302.

Reason for revert: Suspected of causing deterministic build errors:

https://ci.chromium.org/ui/p/chromium/builders/ci/Deterministic%20Linux/30769/overview

The difference comes from gen/third_party/devtools-frontend/src/front_end/entrypoints/wasmparser_worker/wasmparser_worker.js

One build has: the line:
case 1:this._functionImportsCount=0,this._memoryImportsCount=0,this._tableImportsCount=0,this._globalImportsCount=0,this._eventImportsCount=0,this._functionNames=[],this._functionLocalNames=[],this._eventNames=[],this._memoryNames=[],this._typeNames=[],this._tableNames=[],this._globalNames=[],this._fieldNames=[],this._functionExportNames=[],this._globalExportNames=[],this._memoryExportNames=[],this._tableExportNames=[],this._eventExportNames=[];

The other build has:
case 1:this._functionImportsCount=0,this._memoryImportsCount=0,this._tableImportsCount=0,this._globalImportsCount=0,this._eventImportsCount=0,this._functionNames=[],this._functionLocalNames=[],this._memoryNames=[],this._typeNames=[],this._tableNames=[],this._globalNames=[],this._fieldNames=[],this._functionExportNames=[],this._globalExportNames=[],this._memoryExportNames=[],this._tableExportNames=[],this._eventExportNames=[];

Note that the first line I mentioned has an assignment to _eventNames, the second doesn't.

Original change's description:
> [deps] Update wasmparser to 5.1.1
>
> Includes the following upstream fix:
> a35948b fix: missing initializer in devtools name generator for exceptions
>
> Bug: chromium:1199329
> Change-Id: I7ebde5c42db4249a8cf264b540f6459d0db66a4b
> Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2850594
> Auto-Submit: Jakob Kummerow <jkummerow@chromium.org>
> Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
> Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>

Bug: chromium:1199329
Change-Id: I773c2a79ce1f818acc766f450ed18dbb20bec4db
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2851742
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
2021-04-27 06:48:32 +00:00
devtools-ci-autoroll-builder 9c99c285c6 Update DevTools Chromium DEPS.
TBR=machenbach@chromium.org,liviurau@chromium.org

Bug: none
Change-Id: I7b303ec2a76488e3835043200de8b07315df93d4
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2853270
Reviewed-by: Devtools Autoroller <devtools-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Devtools Autoroller <devtools-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com>
2021-04-27 06:38:41 +00:00
devtools-ci-autoroll-builder 182ed3c33e Update DevTools DEPS.
Rolling build: https://chromium.googlesource.com/chromium/src/build/+log/070f2dd..84e217e

Rolling third_party/depot_tools: https://chromium.googlesource.com/chromium/tools/depot_tools/+log/61bf6e8..90aee2a

TBR=machenbach@chromium.org,liviurau@chromium.org

Bug: none
Change-Id: Id18a2887dfb1add4d0ebf5afc40616fbe0840440
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2852170
Reviewed-by: Devtools Autoroller <devtools-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Devtools Autoroller <devtools-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com>
2021-04-27 03:40:41 +00:00
Kriti Sapra 274ace4270 Changed XHR label to Fetch/XHR
https://imgur.com/gSC8a8R

Fixed: 1201398
Change-Id: Ia5bd8eeab6aa14c82de88c090f1cb78454e65837
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2848239
Commit-Queue: Kriti Sapra <kritisapra@google.com>
Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>
2021-04-26 15:38:50 +00:00
Sigurd Schneider 2559568043 Move HARLog to models/har_importer
This is a step on the way to consolidate HAR related code under
models/har.

Bug: chromium:1202116
Change-Id: Ic7d1b4a85ef8d879d8ba4caa788e4b283535a511
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2848238
Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org>
2021-04-26 14:39:30 +00:00
Tim van der Lippe 59f4e08256 Consolidate owners in ui/legacy/components
R=yangguo@chromium.org

Bug: 1187573
Change-Id: If0169929b63fa959935937cd0a200ffa6de80c12
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2848236
Reviewed-by: Yang Guo <yangguo@chromium.org>
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
2021-04-26 13:59:00 +00:00
Tim van der Lippe be1c79f628 Add OWNERS for individual ui/components folders
For each component present in ui/components, add OWNERS who
committed the majority of CLs to their implementation. Also
add jacktfranklin@ as overall OWNER of ui/components for any
new component.

R=yangguo@chromium.org

Bug: 1187573
Change-Id: I47f95fbc29b761cc702171daf993745bd3202bdc
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2850595
Reviewed-by: Yang Guo <yangguo@chromium.org>
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
2021-04-26 13:54:41 +00:00
Tim van der Lippe bbb43fbe74 Consolidate owners in models/
Not every single person was present in all folders, but these owners
were present in a majority of all folders.

R=yangguo@chromium.org

Bug: 1187573
Change-Id: I4ed38d3e118715ab3ed14bd261095b0c8d54e6e6
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2848235
Reviewed-by: Yang Guo <yangguo@chromium.org>
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
2021-04-26 13:51:40 +00:00
Tim van der Lippe ce9a3c82a8 Consolidate owners in entrypoints/
R=yangguo@chromium.org

Bug: 1187573
Change-Id: Id2a6ca1c56165076c3b8d685795c4b286b9687a1
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2848234
Reviewed-by: Yang Guo <yangguo@chromium.org>
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
2021-04-26 13:48:40 +00:00
Tim van der Lippe f248f586ff Consolidate owners in core/
Every owner that is present in all OWNERS files in core/ is now
present in core/OWNERS instead.

R=yangguo@chromium.org

Bug: 1187573
Change-Id: Ia7c789b96473c10694202e0ed78b4b1b66eda8b5
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2849102
Auto-Submit: Tim van der Lippe <tvanderlippe@chromium.org>
Commit-Queue: Yang Guo <yangguo@chromium.org>
Reviewed-by: Yang Guo <yangguo@chromium.org>
2021-04-26 13:40:20 +00:00
Jakob Kummerow ecef9d5302 [deps] Update wasmparser to 5.1.1
Includes the following upstream fix:
a35948b fix: missing initializer in devtools name generator for exceptions

Bug: chromium:1199329
Change-Id: I7ebde5c42db4249a8cf264b540f6459d0db66a4b
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2850594
Auto-Submit: Jakob Kummerow <jkummerow@chromium.org>
Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
2021-04-26 13:13:10 +00:00
devtools-ci-autoroll-builder a4d0cf44fc Update DevTools DEPS.
Rolling build: https://chromium.googlesource.com/chromium/src/build/+log/0ee8b27..070f2dd

TBR=machenbach@chromium.org,liviurau@chromium.org

Bug: none
Change-Id: I64b0bb764541821a2527583bd722d40bdbc97d7c
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2850580
Reviewed-by: Devtools Autoroller <devtools-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Devtools Autoroller <devtools-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com>
2021-04-26 12:50:10 +00:00
Sigurd Schneider dd1cec6af9 Add test for allocation sampling in memory profiler
Bug: chromium:1199493
Change-Id: I6f0d2727e38625db47be58121282811f75071ba4
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2850633
Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>
2021-04-26 11:12:00 +00:00
Sigurd Schneider 76622abb80 Resolve naming inconsistency in ProfilerView
ProfileFlameChartDataProvider relies on its subclasses to set the
entryNodes property; one of the sub-classes was setting the
_entryNodes instead, resulting in the ProfileFlameChartDataProvider
behaving as if there were no nodes.

Bug: chromium:1199493
Change-Id: Ie7a4df160b8215fc7a97b0faccf692aac911b79d
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2850593
Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org>
Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
2021-04-26 11:04:10 +00:00
Sigurd Schneider bf2d6f7351 Reactivate test in test/e2e/memory/memory_test.ts
Stressors show that this test is only flaky on mac,
hence re-activating for other platforms.

Bug: chromium:1134602
Change-Id: I6cc5d42fe50292c3dbb74ce5eff2ada68665f7d5
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2850636
Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>
Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
2021-04-26 10:17:50 +00:00
Sigurd Schneider 6b3a0affa9 Add issues for CORS redirect containing credentials
This CL adds issues for the CORS error codes

RedirectContainsCredentials

Screenshot: https://imgur.com/a/dQhuFOm

Bug: chromium:1141824
Change-Id: Idc5edc3bb349faf0820473a29d433306471ec563
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2848225
Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
Reviewed-by: Wolfgang Beyer <wolfi@chromium.org>
2021-04-26 09:54:40 +00:00
Sigurd Schneider 6b8d3a71bc Clear error icons when row bucket detaches from frame
Bug: chromium:1202455
Change-Id: I7b85a0f94aec5c7f805819ce860a0f3080694790
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2848233
Reviewed-by: Wolfgang Beyer <wolfi@chromium.org>
Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
2021-04-26 09:48:00 +00:00
Jan Scheffler 5751983206 [WebVitals] Fix timing descriptions
Screenshot: https://imgur.com/a/QioSqcz

Fixed: chromium:1200442
Change-Id: I2bcf9b0678f18d1ce2722f6413a19c7ebcb0f9e1
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2846323
Reviewed-by: Alex Rudenko <alexrudenko@chromium.org>
Reviewed-by: Peter Müller <petermueller@chromium.org>
Reviewed-by: Paul Lewis <aerotwist@chromium.org>
Commit-Queue: Jan Scheffler <janscheffler@chromium.org>
2021-04-26 09:29:10 +00:00
Benedikt Meurer 2b9826ebe7 Fix broken UTF-8 decoding for intercepted responses.
When we intercept network requests for local overrides, we memorize the
original response and reuse that for the Changes panel. However, for
non-ASCII characters we didn't properly decode the Base64 encoded UTF-8
content, but assumed that the Base64 decoding would yield a valid String
itself.

Fixed: chromium:1091718
Change-Id: Idd0fa2626dfbcc8ac0e940461576a6a52e326a88
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2846325
Reviewed-by: Mathias Bynens <mathias@chromium.org>
Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
Auto-Submit: Benedikt Meurer <bmeurer@chromium.org>
2021-04-26 09:23:00 +00:00
Sigurd Schneider 541a6b4f7d Add issues for CORS invalid request headers
This CL adds issues for the CORS error codes

HeaderDisallowedByPreflightResponse

Screenshot: https://imgur.com/a/UGXaYKH

Bug: chromium:1141824
Change-Id: Iacaf4c87b20bed3adedd0565a181961e1ac20bb9
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2848221
Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
Reviewed-by: Wolfgang Beyer <wolfi@chromium.org>
2021-04-26 09:15:50 +00:00
Sigurd Schneider 1531610a58 Add issues for CORS disallowed methods
This CL adds issues for the CORS error code

MethodDisallowedByPreflightResponse


Screenshot: https://imgur.com/a/gNylieJ

Bug: chromium:1141824
Change-Id: I13a20f7a7467ddc8c211520679583292499c2f7f
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2846338
Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
Reviewed-by: Wolfgang Beyer <wolfi@chromium.org>
2021-04-26 08:34:30 +00:00
Sigurd Schneider f4d1f10c61 Disable InsecurePrivateNetwork issue for secure contexts
This CL disables the InsecurePrivateNetwork issue for secure
contexts. This is in preparation for a new kind of private
network deprecation warnings: Requests from secure contexts
will require a preflight request in the future.

Bug: chromium:1141824
Change-Id: I6c0af48281f6cc8eb166a060a1651dc708f0157e
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2848227
Reviewed-by: Wolfgang Beyer <wolfi@chromium.org>
Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
2021-04-26 08:13:31 +00:00
Christy Chen cd04018373 [Loc] Remove localization V1 unittest
The migration is done. Remove the V1 unittest.

Bug: 1136655
Change-Id: I7fcbaab3ae7789db9498c4bac851156878eb17c3
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2848203
Reviewed-by: Simon Zünd <szuend@chromium.org>
Commit-Queue: Christy Chen <chrche@microsoft.com>
2021-04-26 07:45:40 +00:00
devtools-ci-autoroll-builder 9fd5cc74c7 Update DevTools Chromium DEPS.
TBR=machenbach@chromium.org,liviurau@chromium.org

Bug: none
Change-Id: I3f0d15e842b68ec013078ff701696c3766392781
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2850573
Reviewed-by: Devtools Autoroller <devtools-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Devtools Autoroller <devtools-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com>
2021-04-26 06:34:50 +00:00
devtools-ci-autoroll-builder 383a05af30 Update DevTools DEPS.
Rolling build: https://chromium.googlesource.com/chromium/src/build/+log/1910c81..0ee8b27

TBR=machenbach@chromium.org,liviurau@chromium.org

Bug: none
Change-Id: I398b5f3e59dd37be7c77681f0189fe294f42e265
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2849649
Reviewed-by: Devtools Autoroller <devtools-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Devtools Autoroller <devtools-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com>
2021-04-26 03:47:30 +00:00
devtools-ci-autoroll-builder 63cc5fdff7 Update DevTools DEPS.
Rolling build: https://chromium.googlesource.com/chromium/src/build/+log/42723b9..1910c81

TBR=machenbach@chromium.org,liviurau@chromium.org

Bug: none
Change-Id: If5085e1f769c583005bc1eb1db9446726dab659e
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2849637
Reviewed-by: Devtools Autoroller <devtools-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Devtools Autoroller <devtools-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com>
2021-04-25 12:39:49 +00:00
devtools-ci-autoroll-builder ffe25f30a4 Update DevTools Chromium DEPS.
TBR=machenbach@chromium.org,liviurau@chromium.org

Bug: none
Change-Id: Ic9b7b48a8dbb514dab2cdfecd9ff84bd40aaadb1
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2849636
Reviewed-by: Devtools Autoroller <devtools-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Devtools Autoroller <devtools-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com>
2021-04-25 06:32:09 +00:00
devtools-ci-autoroll-builder 7d4beae33d Update DevTools DEPS.
Rolling build: https://chromium.googlesource.com/chromium/src/build/+log/07abd12..42723b9

TBR=machenbach@chromium.org,liviurau@chromium.org

Bug: none
Change-Id: I7716cff4f41524858530d373951b88511aa5b8d1
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2849635
Reviewed-by: Devtools Autoroller <devtools-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Devtools Autoroller <devtools-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com>
2021-04-25 03:46:29 +00:00
devtools-ci-autoroll-builder c21b17623c Update DevTools DEPS.
Rolling build: https://chromium.googlesource.com/chromium/src/build/+log/2858979..07abd12

TBR=machenbach@chromium.org,liviurau@chromium.org

Bug: none
Change-Id: If6d0d3ac1f8f9aa61fbeb02c02e51cca4a0653cb
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2848796
Reviewed-by: Devtools Autoroller <devtools-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Devtools Autoroller <devtools-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com>
2021-04-24 12:41:18 +00:00
devtools-ci-autoroll-builder 0318482c33 Update DevTools Chromium DEPS.
TBR=machenbach@chromium.org,liviurau@chromium.org

Bug: none
Change-Id: Ib5d558fcd73deac7238de136687d3f0e664bdeaf
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2846755
Reviewed-by: Devtools Autoroller <devtools-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Devtools Autoroller <devtools-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com>
2021-04-24 06:31:58 +00:00
devtools-ci-autoroll-builder ba4f9c3006 Update DevTools DEPS.
Rolling build: https://chromium.googlesource.com/chromium/src/build/+log/eae219f..2858979

TBR=machenbach@chromium.org,liviurau@chromium.org

Bug: none
Change-Id: I3ee808bcdfe2e9aa41b220d30a6c7e25b06d798f
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2846747
Reviewed-by: Devtools Autoroller <devtools-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Devtools Autoroller <devtools-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com>
2021-04-24 03:43:28 +00:00
Guangyue Xu b2b0c3b6c6 Apply user agent client hints for pre-canned devices in the "Network conditions" tab
This change is to fetch userAgentMetadata and override navigator.userAgentData when user selects a pre-canned user agent from the network conditions tab.

Created 3 test scenarios to cover the userAgentMetadata values:
1) a device with userAgentMetadata and fixed userAgent value;
2) a device with userAgentMetadata and dynamic userAgent value where browser version is filled in dynamically;
3) a device without userAgentMetadata.

Bug: 1174299
Change-Id: If38cbb1f26784af890c86b7140b90899a6aa8504
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2832109
Commit-Queue: Guangyue Xu <guangyue.xu@microsoft.com>
Reviewed-by: Brandon Walderman <brwalder@microsoft.com>
Reviewed-by: Mathias Bynens <mathias@chromium.org>
Reviewed-by: John Emau <John.Emau@microsoft.com>
2021-04-23 23:30:38 +00:00
Tim van der Lippe cbc7689272 Remove unused TestRunner globals
These are no longer referenced by the legacy layout tests.

R=alexrudenko@chromium.org

Bug: 1174013
Change-Id: I286eb9a55bdc9d0e84169375b8b6cbda6daae342
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2848224
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
Reviewed-by: Alex Rudenko <alexrudenko@chromium.org>
2021-04-23 14:02:38 +00:00