Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync fork with chromium/6613 #144

Merged
merged 1,624 commits into from
Dec 18, 2024
Merged
Changes from 1 commit
Commits
Show all changes
1624 commits
Select commit Hold shift + click to select a range
839c16e
Consider an entire response as an answer
OrKoN Jul 9, 2024
1b096c1
[Freestyler] Fix stop button style
Lightning00Blade Jul 9, 2024
2451682
[RPP extensibility] Simplify DevTools object
and-oli Jul 8, 2024
6bc1cbd
Enable DoNotSubmit checks in PRESUBMIT
jackfranklin Jul 9, 2024
9ab4ac0
[RPP ext] Check more strictly if extension data is valid
and-oli Jul 9, 2024
9177b42
Update DevTools DEPS (trusted)
Jul 9, 2024
d25803b
[test] Fix a couple of order-dependent tests
danilsomsikov Jul 9, 2024
d4d31f7
Trace engine: clear websocketData between traces
jackfranklin Jul 9, 2024
b989a1e
Update Chrome (for Testing) PIN
Jul 9, 2024
f525f82
Always initialise traceBounds in test
jackfranklin Jul 9, 2024
96b97a5
Extract AIDA client events to AidaClient
Lightning00Blade Jul 9, 2024
715da07
[testing] fix interaction tests coverage
Jul 9, 2024
597da92
[testing] fix unittest coverage
pfaffe Jul 9, 2024
a25e31f
[testing] Glob test inputs
pfaffe Jul 9, 2024
efce5da
RPP: cache SyntheticEventsManager on rawEvents array to fix tests
jackfranklin Jul 9, 2024
f2a084e
[RPP] Update the Entry Label Annotation in the ModificationsManager w…
AlinaVarkki Jul 9, 2024
9d80aef
[testing] Delete obsolete runners
pfaffe Jul 9, 2024
05e561d
RPP: fix sidebar being hidden behind experiment
jackfranklin Jul 9, 2024
0d310b0
Add OWNERS file to models/trace
Jul 9, 2024
536b854
[emulation] Don't change zoom if auto-adjust is off
danilsomsikov Jul 9, 2024
d843757
Use LanternError for errors thrown in Lantern module
Jul 9, 2024
c2ab99c
Update DevTools DEPS (trusted)
Jul 10, 2024
15451d5
[common] Add one more Throttler unit test to document behavior
szuend Jul 9, 2024
6537274
Roll browser-protocol manually
a4sriniv Jul 9, 2024
96992fe
[testing] Make test documentation simpler
pfaffe Jul 9, 2024
c0e387e
Move Rating enum to AidaClient
Lightning00Blade Jul 9, 2024
9115463
Update BFCacheStrings
a4sriniv Jul 9, 2024
f701898
[test] Helper to check context menus
danilsomsikov Jul 9, 2024
ad57f13
A plain text search should be performed when regex option is toggled …
WillHernandez Jul 9, 2024
3ae980d
Fix uncaught exception in the command menu
hashseed Jul 9, 2024
5ebf757
[ve] Handle missing setting in debugger overlay logging
danilsomsikov Jul 10, 2024
f8ce11f
[testing] fix headless mode
pfaffe Jul 10, 2024
09b7317
[RPP] Add red triangle indicator for render-blocking requests
Jul 9, 2024
43b68e9
Fix scroll margin in Network Throttling settings page
ktran Jul 8, 2024
aac1399
Increase Simulator test timeouts
jackfranklin Jul 10, 2024
a3b652c
[RPP] Fix some typo in the NetworkRequestTooltip class
Jul 10, 2024
3de3f2c
[RPP] CSS for an annotation in the Sidebar
AlinaVarkki Jul 10, 2024
460be15
Add support for running tests in a full checkout.
EricSL Jul 10, 2024
e667039
Update DevTools DEPS (trusted)
Jul 10, 2024
5d29ae5
Update Chrome (for Testing) PIN
Jul 10, 2024
9235056
Add platform dependent tooltip for increment or decrement CSS propert…
Jul 9, 2024
a907f6d
RPP: limit file imports to .json or .gz
jackfranklin Jul 10, 2024
17f5dbe
Roll browser-protocol
Jul 10, 2024
bf3c5bc
Nestify stylePropertiesTreeOutline.css
hanselfmu-chromium Jul 10, 2024
ab5a550
Render details for user timings.
jazyan Jul 9, 2024
237a4cb
[Freestyler] Add rating and feedback buttons
Lightning00Blade Jul 10, 2024
a322219
[Freestyler] Use props directly
Lightning00Blade Jul 10, 2024
0853b62
RPP: draw cursor line in the overlays
jackfranklin Jul 10, 2024
b077152
Update DevTools DEPS (trusted)
Jul 11, 2024
a2c0d03
Update Chrome (for Testing) PIN
Jul 11, 2024
0d490bc
Update luminance calculation per WCAG update
hanselfmu-chromium Jul 10, 2024
c25d8c9
Add jslog context to hardware concurrency selector
jackfranklin Jul 10, 2024
fc8fa5a
RPP: add jslog for settings cog button
jackfranklin Jul 10, 2024
02a35e2
[test] Simplify host config override in e2e test
danilsomsikov Jul 10, 2024
3821449
[Animations] Always render `.animation-timeline-rows` even when they …
ergunsh Jul 10, 2024
bbbd744
Handle attribution actions
OrKoN Jul 11, 2024
2b0135c
Roll browser-protocol
Jul 11, 2024
2367b77
[RPP] Add support for track groups in extension tracks
and-oli Jul 11, 2024
b30c382
Add VE logging to CPU Throttling dropdown
jackfranklin Jul 11, 2024
cf3e748
RPP: mark overlays as singletons
jackfranklin Jul 10, 2024
6d1361f
Apply network filter to "Copy all" commands
hashseed Jul 11, 2024
88c99fa
Keep track of the last time we rolled browser protocol
Jul 10, 2024
2e9bc82
[testing] Locate devtools_app correctly in chrome-branded builds
pfaffe Jul 11, 2024
861bb55
Make local storage table sortable by key
hashseed Jul 11, 2024
06c210f
[testing] Run coverage only conditionally
pfaffe Jul 10, 2024
07c5be5
[Freestyler] Fix Visual logging
Lightning00Blade Jul 11, 2024
36d3e1b
Update DevTools DEPS (trusted)
Jul 11, 2024
1ffd1a6
Update Chrome (for Testing) PIN
Jul 11, 2024
e3e9f62
[console] Collect metrics about console filter usage.
bmeurer Jul 11, 2024
cb886b1
RPP: make EntrySelected overlays singleton
jackfranklin Jul 11, 2024
b10f89b
Roll browser-protocol
Jul 11, 2024
5a0bca8
RPP: use time bounds helper for visibility check
jackfranklin Jul 11, 2024
d79fb52
RPP: add visual logging for breadcrumbs
jackfranklin Jul 11, 2024
d52cd01
RPP: rename VE Logs from performance > timeline
jackfranklin Jul 11, 2024
57b23f8
[RPP Observations] Add page and device scope selectors
Jul 11, 2024
ac617a9
[RPP] Add time breakdown information in the details vew
Jul 11, 2024
d5da73f
[RPP] Introduce estimated savings to insights, starting with RenderBl…
Jul 10, 2024
ccc6d3d
[ve] Relax some e2e assertions
danilsomsikov Jul 11, 2024
7ee80fc
[RPP] Use TraceParsedData instead of partial type
Jul 11, 2024
4498a80
[deps] Add missing deps for unit test fixtures
szuend Jul 12, 2024
a2655fa
Update DevTools DEPS (trusted)
Jul 12, 2024
ad801ab
[RPP] Refactor TraceProcessor parse to move all work out of getters
Jul 11, 2024
24c0bbd
UMA metrics for console insights consent forms
wolfib Jul 11, 2024
abc44d2
[scopes] Add new ScopeChainModel class
szuend Jul 12, 2024
f2d5246
[sources] Use ScopeChainModel in the ScopesChainSidebarPane
szuend Jul 12, 2024
fd5ab38
Add a flag to control server-side logging
OrKoN Jul 12, 2024
2e2368a
[deps] Update TypeScript to 5.5.3
szuend Jul 12, 2024
80d1944
RPP: remove SyntheticInvalidation
jackfranklin Jul 12, 2024
b3bf47a
[Freestyler] Fix too long input issue
Lightning00Blade Jul 12, 2024
36563ad
[cleanup] Remove unused Platform.SetUtilities.isEqual
szuend Jul 12, 2024
6ca782d
RPP: show sidebar metrics per-navigation
jackfranklin Jul 12, 2024
3af196e
Remove global types
OrKoN Jul 12, 2024
0230012
RPP: Refactor level appending logic for NetworkTrackAppender
paulirish Jul 11, 2024
3f5299b
Update Chrome (for Testing) PIN
Jul 12, 2024
d95fcba
Update DevTools DEPS (trusted)
Jul 12, 2024
b154987
Roll browser-protocol
Jul 12, 2024
34fdb5d
[Freestyler] Simplify HTML element serialization
Lightning00Blade Jul 12, 2024
ff54859
RPP: move sidebar to use details
jackfranklin Jul 12, 2024
f6d45fa
RPP: fix not recovering from malformed URL trace
jackfranklin Jul 12, 2024
803643e
RPP: recover from importing invalid files
jackfranklin Jul 12, 2024
1162e04
Refactor TraceLoader.traceEngine to also return insights
Jul 12, 2024
527e074
RPP: fix typo in timeline/README.md
jackfranklin Jul 12, 2024
38e59cb
[RPP] Refactor insights tests to use TraceProcessor directly
Jul 12, 2024
775a11c
[RPP Observations] Add field setup dialog
Jul 12, 2024
0d7ecf7
Update Chrome (for Testing) PIN
Jul 13, 2024
1e9a47d
Update DevTools DEPS (trusted)
Jul 13, 2024
e5d3f48
Update DevTools DEPS (trusted)
Jul 14, 2024
757f5d1
Update Chrome (for Testing) PIN
Jul 14, 2024
1285362
Update Chrome (for Testing) PIN
Jul 14, 2024
c1458d6
Update Chrome (for Testing) PIN
Jul 15, 2024
ed0c090
Refactor observation loop
OrKoN Jul 12, 2024
72864f1
Remove `devToolsAida` from host config
wolfib Jul 12, 2024
55680a9
Add sessionId to group conversations together
OrKoN Jul 15, 2024
a2c2241
Refactor agent/buildRequest
OrKoN Jul 15, 2024
8359b9d
[vscode] Fix editor tsconfig for TypeScript 5.5.3
szuend Jul 15, 2024
e85da35
[Styles] Fix having additional padding for the property is getting ed…
ergunsh Jul 12, 2024
8a06225
[Freestyler] Temp UI string are getting picked up by script
Lightning00Blade Jul 15, 2024
bfe2c16
Roll browser-protocol
Jul 15, 2024
5626e0f
[cxx_debugging] Allow umd access to fix build with new ts
pfaffe Jul 15, 2024
d314f41
Update disclaimers
OrKoN Jul 15, 2024
4549a30
[ve] Use host config to enable ve logging
danilsomsikov Jul 15, 2024
a13fc74
[styles] Connect dependent color swatches
pfaffe Jul 15, 2024
2418c67
[scopes] Move resolving thisObject and scopeChain to ScopeChainModel
szuend Jul 15, 2024
c93f20a
Update Chrome (for Testing) PIN
Jul 15, 2024
52e22e3
[ve] Fix the logging of enum settings in quick open
danilsomsikov Jul 15, 2024
891c72c
Fix closing tag
OrKoN Jul 15, 2024
152a52f
[Freestyler] Don't show `fix` button on cancel
Lightning00Blade Jul 15, 2024
d7fc6ee
Roll browser-protocol
Jul 15, 2024
f25c9b6
[RPP] Add Annotation delete button to the sidebar
AlinaVarkki Jul 15, 2024
d4c0169
Update DevTools DEPS (trusted)
Jul 16, 2024
4b4435f
[RPP] Mark extension tracks differently
and-oli Jul 15, 2024
6ff0197
RPP: Remove outside-tracks hover handling
paulirish Jul 11, 2024
ad42d66
[scopes] Allow multiple top-level generated ranges
szuend Jul 16, 2024
3784859
Fix the fix the issue prompt handling
OrKoN Jul 16, 2024
9dd1e74
Fix margin in shortcut settings when linebreak
hashseed Jul 16, 2024
6f76b0e
Add a checkbox to control the visibility of RPP extension data
and-oli Jul 16, 2024
e13397e
Roll browser-protocol
Jul 16, 2024
f9d2a54
[RPP] refactor lcp phases insight in its own component
adrianaixba Jul 16, 2024
47d6df6
[Freestyler] Display notice for action code blocks
ergunsh Jul 16, 2024
80af52f
Change context menu label for "Copy all" when network filter applies
hashseed Jul 16, 2024
28d03f2
[RPP] Clear flamechart data before running test
and-oli Jul 16, 2024
3b6e438
[Freestyler] Add report legal issue button to messages
ergunsh Jul 16, 2024
2a398d7
RPP: tidy up loadingComplete and setModel
jackfranklin Jul 16, 2024
c60717a
RPP: support cpu profile in file import
jackfranklin Jul 16, 2024
df8965f
Change layout to always show the input box
OrKoN Jul 16, 2024
cac6a4b
[RPP] Save labels into the metadata
AlinaVarkki Jul 16, 2024
9edb014
[RPP] Load and apply and add to the sidebar Entry Labels from the tr…
AlinaVarkki Jul 16, 2024
35b282d
[RPP Observations] Move histogram into tooltip
Jul 15, 2024
84fa5bc
Roll browser-protocol
Jul 16, 2024
fa68c09
Introduce eslint rule enforce optional properties are last
paulirish Jul 12, 2024
5eb9d68
Update DevTools DEPS (trusted)
Jul 17, 2024
0729fef
Update Chrome (for Testing) PIN
Jul 17, 2024
1faf355
[RPP] Change some property names from extension data for clarity
and-oli Jul 16, 2024
63541dc
[theme] Fix initial system-preferred theme in hosted mode
szuend Jul 17, 2024
4ff428f
Grey out inactive position-try sections
hanselfmu-chromium Jul 16, 2024
2e87947
[build] add source urls to legacy CSS files
pfaffe Jul 16, 2024
b3cda03
[ve] Fix memory leak in the Non-DOM state
danilsomsikov Jul 17, 2024
600d74b
Make scope/range builder easier to use
szuend Jul 17, 2024
5f8ba4e
front_end/panesl/timeline/components/insights: fix missing deps
Jul 17, 2024
e27562d
[scopes] Tighten types for resolveThisObject and resolveScopeChain
szuend Jul 16, 2024
b880f5f
[ve] Match events only once in e2e test.
danilsomsikov Jul 17, 2024
26fb6a3
Don't emit 'ScopeChainUpdated' event after ScopeChainModel is disposed
szuend Jul 16, 2024
a1ddbe6
Roll browser-protocol
Jul 17, 2024
963f163
Remove unsafe-eval from the frontend CSP
danilsomsikov Jul 17, 2024
4237fac
[RPP] Allow users to right click an entry to reveal it in Network panel
Jul 17, 2024
919abcc
[RPP] Allow users to right click on the url in details view to reveal…
Jul 17, 2024
e7e9034
[scopes] Add ScopeChainEntry implementation for source mapped scopes
szuend Jul 17, 2024
06ed90b
[ve] Add assertions to console e2e tests
danilsomsikov Jul 17, 2024
258d753
Update DevTools DEPS (trusted)
Jul 17, 2024
1d5a709
Update Chrome (for Testing) PIN
Jul 17, 2024
a4b754e
Roll puppeteer-core
Jul 17, 2024
ba35624
Roll browser-protocol
Jul 17, 2024
670ea97
[RPP Observations] Add network throttling recommendation
Jul 17, 2024
0a2d442
[RPP] Make Entry Label to not cover the resizer
AlinaVarkki Jul 17, 2024
0672d5a
Update DevTools DEPS (trusted)
Jul 18, 2024
a0dccb0
Update Chrome (for Testing) PIN
Jul 18, 2024
c864261
[ve] Support registering non-DOM loggables after the parent impression
danilsomsikov Jul 17, 2024
95d74c0
Add callback to UI binding for AIDA client event
Lightning00Blade Jul 18, 2024
54b3c5e
Roll browser-protocol
Jul 18, 2024
33ea5dd
[ve] Unregister all non-DOM loggables once they are processed
danilsomsikov Jul 18, 2024
9ede103
[ve] Annotate settings pane
danilsomsikov Jul 18, 2024
9d18375
Update DevTools DEPS (trusted)
Jul 18, 2024
f79203e
Update Chrome (for Testing) PIN
Jul 18, 2024
e5d28df
[Freestyler] Support changing feedback
Lightning00Blade Jul 18, 2024
7b5885d
RPP: fix logging on selected entries
jackfranklin Jul 18, 2024
12bf1b1
Roll browser-protocol
Jul 18, 2024
2843363
[RPP Observations] Move strings into translated UI strings
Jul 17, 2024
d698a7c
[Animations] Make sure that animations that were supposed to be in th…
ergunsh Jul 18, 2024
da71356
[ve] Add assertions to openViaMoreTools
danilsomsikov Jul 18, 2024
a63f095
Revert "[ve] Add assertions to openViaMoreTools"
danilsomsikov Jul 18, 2024
70aa1e2
RPP: move overlays into timeline/overlays
jackfranklin Jul 18, 2024
7c154b9
Update DevTools DEPS (trusted)
Jul 19, 2024
20023fa
Update Chrome (for Testing) PIN
Jul 19, 2024
537c631
Bump vulnerable deps
OrKoN Jul 19, 2024
c7b6aa2
['front_end/third_party/intl-messageformat', 'front_end/third_party/l…
Jul 19, 2024
bf3d9f8
[docs] Add correct Markdown style guide reference.
bmeurer Jul 19, 2024
2644d5b
RPP: fix search matching screenshots
jackfranklin Jul 19, 2024
6b42ffa
Roll browser-protocol
Jul 19, 2024
ed07d7f
Remove check for side-effect free evaluate support
szuend Jul 17, 2024
3bb0904
Change UI string from "system preference" to "browser preference"
hashseed Jul 12, 2024
24cfaa2
[GM3Restyling] Add font tokens
petermllrrg Jul 17, 2024
056d3bb
[GM3Restyling] Update green-bright
petermllrrg Jul 17, 2024
90e4cbb
[autofill in devtools] Make test addresses more obviously fake.
Jul 19, 2024
6d89bba
Remove deprecated position fallback
hanselfmu-chromium Jul 19, 2024
220f9e1
Color: extract a common color Space type
paulirish Jul 19, 2024
cbc7a6b
Update Chrome (for Testing) PIN
Jul 19, 2024
9f22e5d
[test] Replace describeWithRealConnection with mock connection
szuend Jul 19, 2024
6fd1426
[RPP] Make extensibility API support non-experimental
and-oli Jul 19, 2024
29e8054
Update DevTools DEPS (trusted)
Jul 19, 2024
152a4b9
RPP: add elevation to sidebar floating icon
jackfranklin Jul 19, 2024
1172b49
[Layers] Remove deprecation feedback banner
jecfish Jul 19, 2024
aa9ba78
Reset flamechart data and extension data gatherer in timings track test
and-oli Jul 19, 2024
8c81e7c
[GM3Restyling] Add indigo tokens
petermllrrg Jul 19, 2024
bd8d9a5
[scopes] Move 'exception' and 'return value' properties to model layer
szuend Jul 19, 2024
54bcb97
Always include numeric values in heap snapshots
sethbrenith Jul 18, 2024
0427285
Fix possible exception when sorting Retainers pane
sethbrenith Jul 18, 2024
285933f
Roll browser-protocol
Jul 19, 2024
3dba79f
[scopes] Resolve source mapped 'this' on the model layer
szuend Jul 19, 2024
7b228c0
[test] Rewrite CPUThrottlingManager tests to use mock connection
szuend Jul 19, 2024
bbc5b06
Deprecate unit dropdown in length swatch
hanselfmu-chromium Jul 19, 2024
625fcea
[RPP] Add DocumentLatency insight for redirects and server response time
Jul 17, 2024
c471eef
Update Chrome (for Testing) PIN
Jul 20, 2024
c2e676b
Update DevTools DEPS (trusted)
Jul 20, 2024
abd8226
Update DevTools DEPS (trusted)
Jul 20, 2024
d996b26
Update Chrome (for Testing) PIN
Jul 20, 2024
bb611b6
Update DevTools DEPS (trusted)
Jul 21, 2024
9fa7a87
Update Chrome (for Testing) PIN
Jul 21, 2024
4697712
Update Chrome (for Testing) PIN
Jul 21, 2024
b7843c5
Update DevTools DEPS (trusted)
Jul 22, 2024
83471c1
Update Chrome (for Testing) PIN
Jul 22, 2024
f01aee2
[scopes] Replace original scope kind with index into 'names' array
szuend Jul 22, 2024
273ece7
Fix memory leak in ObjectPropertiesSectionsTreeExpandController
szuend Jul 22, 2024
083d4f3
[RPP] Update the name and colours of network track.
Jul 19, 2024
efb1a68
front_end/third_party/lit/README.chromium update Revision
Jul 19, 2024
abe2e8b
Update DevTools DEPS (trusted)
Jul 22, 2024
b63fdcb
Add committers policy
Jul 22, 2024
21ac460
Update Chrome (for Testing) PIN
Jul 22, 2024
d1cd165
[GM3Restyling] Update icon and color for security panel
ktran Jul 18, 2024
26ee92b
[RPP] Fix toggling and overlays for sidebar insights
jackfranklin Jul 22, 2024
207787b
Change Network Panel icon color in header overrides
ktran Jul 15, 2024
26a5add
Always use Rating enum
Lightning00Blade Jul 22, 2024
b4487a7
Change sort order of timer event break points
hashseed Jul 22, 2024
c10915f
[cleanup] Use a Map of Sets for extraPropertyValues
szuend Jul 22, 2024
48f2dfc
[cleanup] Remove platform/SetUtilities.ts
szuend Jul 22, 2024
25d2815
[GM3Restyling] Center checkbox focus ring
Jul 26, 2024
1ff27e6
[GM3Restyling] Make small chechboxes state layers smaller
Jul 26, 2024
d52e9cd
[scopes] Fix text cache
szuend Aug 1, 2024
660c57a
[ve] Fix soft menu keyboard logging
danilsomsikov Aug 1, 2024
47f04a5
[RPP] Sort markers before appending
and-oli Aug 2, 2024
5327e4d
Sync fork with chromium/6613
huntie Dec 18, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Roll browser-protocol manually
Adds a TODO in PreloadingString to add a message for newly added
failure reason.

Bug: 40287334, 350870118
Change-Id: I64a70d1b0162c206fe19b45437f3a3d8d7b90d43
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/5688776
Commit-Queue: Alex Rudenko <[email protected]>
Reviewed-by: Alex Rudenko <[email protected]>
a4sriniv authored and Devtools-frontend LUCI CQ committed Jul 10, 2024
commit 6537274391eb156f954ab0ead4ff3fec693df593
20 changes: 13 additions & 7 deletions front_end/generated/InspectorBackendCommands.js

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions front_end/generated/protocol-mapping.d.ts
Original file line number Diff line number Diff line change
@@ -2310,6 +2310,10 @@ export namespace ProtocolMapping {
paramsType: [Protocol.IO.ResolveBlobRequest];
returnType: Protocol.IO.ResolveBlobResponse;
};
'FileSystem.getDirectory': {
paramsType: [Protocol.FileSystem.GetDirectoryRequest];
returnType: Protocol.FileSystem.GetDirectoryResponse;
};
/**
* Clears all entries from an object store.
*/
11 changes: 11 additions & 0 deletions front_end/generated/protocol-proxy-api.d.ts
Original file line number Diff line number Diff line change
@@ -58,6 +58,8 @@ declare namespace ProtocolProxyApi {

IO: IOApi;

FileSystem: FileSystemApi;

IndexedDB: IndexedDBApi;

Input: InputApi;
@@ -163,6 +165,8 @@ declare namespace ProtocolProxyApi {

IO: IODispatcher;

FileSystem: FileSystemDispatcher;

IndexedDB: IndexedDBDispatcher;

Input: InputDispatcher;
@@ -1631,6 +1635,13 @@ declare namespace ProtocolProxyApi {
export interface IODispatcher {
}

export interface FileSystemApi {
invoke_getDirectory(params: Protocol.FileSystem.GetDirectoryRequest): Promise<Protocol.FileSystem.GetDirectoryResponse>;

}
export interface FileSystemDispatcher {
}

// eslint thinks this is us prefixing our interfaces but it's not!
// eslint-disable-next-line @typescript-eslint/interface-name-prefix
export interface IndexedDBApi {
59 changes: 56 additions & 3 deletions front_end/generated/protocol.ts
Original file line number Diff line number Diff line change
@@ -1084,7 +1084,6 @@ export namespace Audits {
}

export const enum GenericIssueErrorType {
CrossOriginPortalPostMessageError = 'CrossOriginPortalPostMessageError',
FormLabelForNameError = 'FormLabelForNameError',
FormDuplicateIdForInputError = 'FormDuplicateIdForInputError',
FormInputWithNoLabelError = 'FormInputWithNoLabelError',
@@ -6469,6 +6468,57 @@ export namespace IO {
}
}

export namespace FileSystem {

export interface File {
name: string;
/**
* Timestamp
*/
lastModified: Network.TimeSinceEpoch;
/**
* Size in bytes
*/
size: number;
type: string;
}

export interface Directory {
name: string;
nestedDirectories: string[];
/**
* Files that are directly nested under this directory.
*/
nestedFiles: File[];
}

export interface BucketFileSystemLocator {
/**
* Storage key
*/
storageKey: Storage.SerializedStorageKey;
/**
* Bucket name. Not passing a `bucketName` will retrieve the default Bucket. (https://developer.mozilla.org/en-US/docs/Web/API/Storage_API#storage_buckets)
*/
bucketName?: string;
/**
* Path to the directory using each path component as an array item.
*/
pathComponents: string[];
}

export interface GetDirectoryRequest {
bucketFileSystemLocator: BucketFileSystemLocator;
}

export interface GetDirectoryResponse extends ProtocolResponseWithError {
/**
* Returns the directory object at the path.
*/
directory: Directory;
}
}

export namespace IndexedDB {

/**
@@ -11384,6 +11434,7 @@ export namespace Page {
ComputePressure = 'compute-pressure',
CrossOriginIsolated = 'cross-origin-isolated',
DeferredFetch = 'deferred-fetch',
DigitalCredentialsGet = 'digital-credentials-get',
DirectSockets = 'direct-sockets',
DisplayCapture = 'display-capture',
DocumentDomain = 'document-domain',
@@ -12235,7 +12286,6 @@ export namespace Page {
Printing = 'Printing',
WebDatabase = 'WebDatabase',
PictureInPicture = 'PictureInPicture',
Portal = 'Portal',
SpeechRecognizer = 'SpeechRecognizer',
IdleManager = 'IdleManager',
PaymentManager = 'PaymentManager',
@@ -14413,6 +14463,7 @@ export namespace Storage {
* int
*/
value: number;
filteringId: UnsignedInt64AsBase10;
}

export interface AttributionReportingAggregatableValueEntry {
@@ -14445,6 +14496,7 @@ export namespace Storage {
eventTriggerData: AttributionReportingEventTriggerData[];
aggregatableTriggerData: AttributionReportingAggregatableTriggerData[];
aggregatableValues: AttributionReportingAggregatableValueEntry[];
aggregatableFilteringIdMaxBytes: integer;
debugReporting: boolean;
aggregationCoordinatorOrigin?: string;
sourceRegistrationTimeConfig: AttributionReportingSourceRegistrationTimeConfig;
@@ -15247,7 +15299,7 @@ export namespace Target {
browserContextId?: Browser.BrowserContextID;
/**
* Provides additional details for specific target types. For example, for
* the type of "page", this may be set to "portal" or "prerender".
* the type of "page", this may be set to "prerender".
*/
subtype?: string;
}
@@ -17045,6 +17097,7 @@ export namespace Preload {
JavaScriptInterfaceAdded = 'JavaScriptInterfaceAdded',
JavaScriptInterfaceRemoved = 'JavaScriptInterfaceRemoved',
AllPrerenderingCanceled = 'AllPrerenderingCanceled',
WindowClosed = 'WindowClosed',
}

/**
54 changes: 14 additions & 40 deletions front_end/models/javascript_metadata/NativeFunctions.js
Original file line number Diff line number Diff line change
@@ -1156,7 +1156,7 @@ export const NativeFunctions = [
{
name: "createBuffer",
signatures: [["descriptor"]],
receivers: ["MLContext","GPUDevice"]
receivers: ["GPUDevice"]
},
{
name: "createChannelMerger",
@@ -4315,13 +4315,7 @@ export const NativeFunctions = [
},
{
name: "readBuffer",
signatures: [["src"],["mode"]],
receivers: ["WebGL2RenderingContext"]
},
{
name: "readBuffer",
signatures: [["srcBuffer"]],
receivers: ["MLContext"]
signatures: [["src"],["mode"]]
},
{
name: "renderbufferStorageMultisample",
@@ -6366,7 +6360,13 @@ export const NativeFunctions = [
},
{
name: "caretPositionFromPoint",
signatures: [["x","y","?options"]]
signatures: [["x","y","?options"]],
receivers: ["Document"]
},
{
name: "caretPositionFromPoint",
signatures: [["x"]],
receivers: ["TextMetrics"]
},
{
name: "hasPrivateToken",
@@ -7108,26 +7108,14 @@ export const NativeFunctions = [
name: "queryFeatureSupport",
signatures: [["feature"]]
},
{
name: "execute",
signatures: [["input"]]
},
{
name: "promptStreaming",
signatures: [["input"]]
},
{
name: "executeStreaming",
signatures: [["input"]]
},
{
name: "createTextSession",
signatures: [["?options"]]
},
{
name: "createGenericSession",
signatures: [["?options"]]
},
{
name: "registerAnimator",
signatures: [["name","animatorCtor"]]
@@ -7651,24 +7639,6 @@ export const NativeFunctions = [
name: "OverconstrainedError",
signatures: [["constraint","?message"]]
},
{
name: "compute",
signatures: [["graph","inputs","outputs"]]
},
{
name: "writeBuffer",
signatures: [["dstBuffer","srcData","?srcElementOffset","?srcElementSize"],["dstBuffer","srcData","?srcByteOffset","?srcByteSize"]],
receivers: ["MLContext"]
},
{
name: "writeBuffer",
signatures: [["buffer","bufferOffset","data","?dataElementOffset","?dataElementCount"],["buffer","bufferOffset","data","?dataByteOffset","?byteSize"]],
receivers: ["GPUQueue"]
},
{
name: "dispatch",
signatures: [["graph","inputs","outputs"]]
},
{
name: "createContext",
signatures: [["?options"]]
@@ -7911,7 +7881,7 @@ export const NativeFunctions = [
},
{
name: "where",
signatures: [["condition","true_value","false_value"]]
signatures: [["condition","trueValue","falseValue"]]
},
{
name: "build",
@@ -8737,6 +8707,10 @@ export const NativeFunctions = [
name: "setBindGroup",
signatures: [["index","bindGroup","?dynamicOffsets"],["index","bindGroup","dynamicOffsetsData","dynamicOffsetsDataStart","dynamicOffsetsDataLength"]]
},
{
name: "writeBuffer",
signatures: [["buffer","bufferOffset","data","?dataElementOffset","?dataElementCount"],["buffer","bufferOffset","data","?dataByteOffset","?byteSize"]]
},
{
name: "writeTexture",
signatures: [["destination","data","dataLayout","size"]]
Original file line number Diff line number Diff line change
@@ -687,6 +687,9 @@ export function prerenderFailureReason(attempt: SDK.PreloadingModel.PrerenderAtt
return i18nString(UIStrings.prerenderFinalStatusJavaScriptInterfaceRemoved);
case Protocol.Preload.PrerenderFinalStatus.AllPrerenderingCanceled:
return i18nString(UIStrings.prerenderFinalStatusAllPrerenderingCanceled);
case Protocol.Preload.PrerenderFinalStatus.WindowClosed:
// TODO(crbug.com/350870118): Add message for this.
return '';
default:
// Note that we use switch and exhaustiveness check to prevent to
// forget updating these strings, but allow to handle unknown
Loading