diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-08-30 10:22:43 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-08-30 12:36:28 +0000 |
commit | 271a6c3487a14599023a9106329505597638d793 (patch) | |
tree | e040d58ffc86c1480b79ca8528020ca9ec919bf8 /chromium/third_party/blink/renderer/core/script/resources/layered_api/README.md | |
parent | 7b2ffa587235a47d4094787d72f38102089f402a (diff) | |
download | qtwebengine-chromium-271a6c3487a14599023a9106329505597638d793.tar.gz |
BASELINE: Update Chromium to 77.0.3865.59
Change-Id: I1e89a5f3b009a9519a6705102ad65c92fe736f21
Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'chromium/third_party/blink/renderer/core/script/resources/layered_api/README.md')
-rw-r--r-- | chromium/third_party/blink/renderer/core/script/resources/layered_api/README.md | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/chromium/third_party/blink/renderer/core/script/resources/layered_api/README.md b/chromium/third_party/blink/renderer/core/script/resources/layered_api/README.md index 270d8117aa5..479818efa35 100644 --- a/chromium/third_party/blink/renderer/core/script/resources/layered_api/README.md +++ b/chromium/third_party/blink/renderer/core/script/resources/layered_api/README.md @@ -22,11 +22,27 @@ and commit these files together with the changes under resources/layered_api/. ## Which files are bundled -All files under this directory will be included in the grdp and thus bundled -in the Chromium binary, except for +All files under -- Files directly under `core/script/resources/layered_api`, or -- Files starting with '.', 'README', or 'OWNERS'. +- Sub-directories which have 'index.mjs' or +- Directories of which last path component is 'internal' + +will be included in the grdp and thus bundled in the Chrome binary, +except for files starting with '.', 'README', or 'OWNERS'. So be careful about binary size increase when you add new files or add more contents to existing files. + +## What are exposed + +All bundled resources are mapped to `std-internal://path-relative-to-here`, and +`std-internal:` resources are not accessible from the web. Resources loaded as +`std-internal:` can import other `std-internal:` resources. + +For example, `layered_api/foo/bar/baz.mjs` is mapped to +`std-internal://foo/bar/baz.mjs`. + +All `index.mjs` resources are mapped to `std:directory-name-relative-to-here` +too, and they are web-exposed. For example, +`layered_api/elements/toast/index.mjs` is mapped to `std:elements/toast` as +well as `std-internal://elements/toast/index.mjs`. |