gecko-dev/testing/web-platform/meta
Lukasz Anforowicz 51ccd61811 Bug 1440377 [wpt PR 9635] - Move core CORB logic into //services/network., a=testonly
Automatic update from web-platform-testsMove core CORB logic into //services/network.

This CL moves the core CORB logic (figuring out if a given response
should be CORB-protected based on 1) response metadata like initiator,
MIME type, CORS headers and 2) sniffing the first bytes of the response)
from //content/common into //services/network.

As part of the move, this CL makes some extra, opportunistic changes:
- Renames the moved files (and the moved class) to match the name agreed
  upon in the explainer
  (s/CrossSiteDocumentClassifier/CrossOriginReadBlocking)
- Also moves the explainer doc to //services/network
- Tweaks the old CrossSiteDocumentMimeType enum so that
  - It is nested in CrossOriginReadBlocking::MimeType
  - The enum values have shorter names

In the long-term, the core CORB logic should only be needed within
services/network.  In the short-term, this logic has the following
consumers:

- content/browser/loader/cross_site_document_resource_handler.cc
  (integrates CORB into the old, pre-network-service,
  ResourceHandler-based world;  this can go away after the network
  service ships)

- content/renderer/loader/site_isolation_stats_gatherer.cc
  (gathers UMA that help decide what responses can be blocked
  by CORB with acceptably low risk of breaking existing websites;
  this can go away after CORB ships)

- WIP(https://crbug.com/792546): services/network/url_loader.cc
  (this will integrate CORB into the new, network-service world).

Bug: 792546
Cq-Include-Trybots: master.tryserver.chromium.linux:linux_mojo
Change-Id: Ib8fe412b1f807d23e41700b7f7090cd4b77c1783
Reviewed-on: https://chromium-review.googlesource.com/929446
Commit-Queue: Łukasz Anforowicz <lukasza@chromium.org>
Reviewed-by: John Abd-El-Malek <jam@chromium.org>
Reviewed-by: Nick Carter <nick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#541661}

wpt-commits: 6cd55d2d27fa20b5c0f7d31e6899206eff44870b
wpt-pr: 9635
wpt-commits: 6cd55d2d27fa20b5c0f7d31e6899206eff44870b
wpt-pr: 9635
2018-03-31 22:32:49 +01:00
..
2dcontext Bug 1437014 [wpt PR 9314]- Update wpt metadata, a=testonly 2018-03-31 22:29:54 +01:00
accelerometer Bug 1437255. Use a null prototype for @@unscopables objects in the DOM. r=qdot 2018-02-12 15:46:11 -05:00
acid Bug 1419296 - Update wpt metadata to fa27b785c62e67cc3a12201612db188c4fdd49ad, a=testonly 2017-11-21 07:39:18 +00:00
ambient-light Bug 1437255. Use a null prototype for @@unscopables objects in the DOM. r=qdot 2018-02-12 15:46:11 -05:00
audio-output Bug 1429043 - Remove unnecessary type annotations from wpt expectation files, a=testonly 2018-01-09 14:46:30 +00:00
background-fetch Bug 1437255. Use a null prototype for @@unscopables objects in the DOM. r=qdot 2018-02-12 15:46:11 -05:00
battery-status Bug 1429043 - Remove unnecessary type annotations from wpt expectation files, a=testonly 2018-01-09 14:46:30 +00:00
beacon Bug 1435337 - Metadata update for wpt update, a=testonly 2018-02-02 19:09:27 +00:00
bluetooth/idl Bug 1429043 - Update wpt metadata, a=testonly 2018-01-09 14:45:51 +00:00
clear-site-data Bug 1429043 - Remove unnecessary type annotations from wpt expectation files, a=testonly 2018-01-09 14:46:30 +00:00
clipboard-apis Bug 1437255. Use a null prototype for @@unscopables objects in the DOM. r=qdot 2018-02-12 15:46:11 -05:00
compat Bug 1443558 - [wpt-sync] Update web-platform-tests to 6d85a3b422cab97d032ad3db47cb741ca364185f, a=testonly 2018-03-09 10:23:30 +00:00
content-security-policy Bug 1438817 [wpt PR 9557]- Update wpt metadata, a=testonly 2018-03-31 22:25:58 +01:00
cookie-store Bug 1437235 [wpt PR 9466]- Update wpt metadata, a=testonly 2018-03-31 22:19:12 +01:00
cookies Bug 1429043 - Remove unnecessary type annotations from wpt expectation files, a=testonly 2018-01-09 14:46:30 +00:00
cors Bug 1436426 [wpt PR 9410] - Update wpt metadata, a=testonly 2018-03-31 22:18:13 +01:00
credential-management Bug 1439805 - Implement CredentialsContainer.preventSilentAccess() r=jcj,smaug 2018-02-22 14:36:08 +01:00
css Bug 1443195 [wpt PR 9817] - Update wpt metadata, a=testonly 2018-03-31 22:30:43 +01:00
custom-elements Bug 1443707 [wpt PR 9869] - Update wpt metadata, a=testonly 2018-03-31 22:31:54 +01:00
device-memory Bug 1433144 - Update metadata for wpt update, a=testonly 2018-01-30 17:46:19 +00:00
dom Backed out changeset 5138dcf1eddd (bug 1443558) for wpt permafailing on /service-workers/service-worker/client-navigate.https.html. a=backout 2018-03-08 07:05:18 +02:00
domparsing Bug 1429043 - Remove unnecessary type annotations from wpt expectation files, a=testonly 2018-01-09 14:46:30 +00:00
domxpath Bug 1429043 - Remove unnecessary type annotations from wpt expectation files, a=testonly 2018-01-09 14:46:30 +00:00
editing Bug 1445983. <bdi> should be an HTMLElement, not HTMLUnknownElement. r=hsivonen 2018-03-16 11:26:09 -04:00
encoding Bug 1429043 - Remove unnecessary type annotations from wpt expectation files, a=testonly 2018-01-09 14:46:30 +00:00
encrypted-media Bug 1429043 - Remove unnecessary type annotations from wpt expectation files, a=testonly 2018-01-09 14:46:30 +00:00
eventsource Bug 1429043 - Remove unnecessary type annotations from wpt expectation files, a=testonly 2018-01-09 14:46:30 +00:00
feature-policy Bug 1435337 - Metadata update for wpt update, a=testonly 2018-02-02 19:09:27 +00:00
fetch Bug 1441562 [wpt PR 9693]- Update wpt metadata, a=testonly 2018-03-31 22:32:41 +01:00
FileAPI Bug 1447262 - BlobURLs must be mutable, r=valentin 2018-03-21 07:24:06 +01:00
fullscreen Bug 1364025 - Add Unscopable to Document.fullscreen. r=bz 2018-03-05 12:39:41 +11:00
generic-sensor Bug 1437255. Use a null prototype for @@unscopables objects in the DOM. r=qdot 2018-02-12 15:46:11 -05:00
geolocation-API Bug 1429043 - Remove unnecessary type annotations from wpt expectation files, a=testonly 2018-01-09 14:46:30 +00:00
geolocation-sensor Bug 1440608 [wpt PR 9645]- Update wpt metadata, a=testonly 2018-03-31 22:26:04 +01:00
gyroscope Bug 1437255. Use a null prototype for @@unscopables objects in the DOM. r=qdot 2018-02-12 15:46:11 -05:00
hr-time Bug 1435296 Address test failures caused by bumping timer precision to 2 ms r=baku 2018-02-12 11:39:41 -06:00
html Bug 1437822 [wpt PR 9495]- Update wpt metadata, a=testonly 2018-03-31 22:24:08 +01:00
html-imports Bug 1429043 - Remove unnecessary type annotations from wpt expectation files, a=testonly 2018-01-09 14:46:30 +00:00
html-media-capture Bug 1429043 - Remove unnecessary type annotations from wpt expectation files, a=testonly 2018-01-09 14:46:30 +00:00
imagebitmap-renderingcontext Bug 1429043 - Remove unnecessary type annotations from wpt expectation files, a=testonly 2018-01-09 14:46:30 +00:00
IndexedDB Backed out 7 changesets (bug 1193394) for browser-chrome failures on browser_ext_popup_background.js. CLOSED TREE 2018-03-01 16:29:02 +02:00
infrastructure Bug 1441167 [wpt PR 9674]- Update wpt metadata, a=testonly 2018-03-31 22:27:13 +01:00
innerText Bug 1429043 - Remove unnecessary type annotations from wpt expectation files, a=testonly 2018-01-09 14:46:30 +00:00
input-events Bug 1429043 - Remove unnecessary type annotations from wpt expectation files, a=testonly 2018-01-09 14:46:30 +00:00
intersection-observer Bug 1436426 [wpt PR 9410] - Update wpt metadata, a=testonly 2018-03-31 22:18:13 +01:00
js/builtins Bug 1429043 - Remove unnecessary type annotations from wpt expectation files, a=testonly 2018-01-09 14:46:30 +00:00
keyboard-lock Bug 1433144 - Update metadata for wpt update, a=testonly 2018-01-30 17:46:19 +00:00
longtask-timing Bug 1429043 - Remove unnecessary type annotations from wpt expectation files, a=testonly 2018-01-09 14:46:30 +00:00
magnetometer Bug 1437255. Use a null prototype for @@unscopables objects in the DOM. r=qdot 2018-02-12 15:46:11 -05:00
mathml Bug 1429043 - Remove unnecessary type annotations from wpt expectation files, a=testonly 2018-01-09 14:46:30 +00:00
media-capabilities Bug 1437255. Use a null prototype for @@unscopables objects in the DOM. r=qdot 2018-02-12 15:46:11 -05:00
media-source Bug 1435296 Address test failures caused by bumping timer precision to 2 ms r=baku 2018-02-12 11:39:41 -06:00
mediacapture-fromelement Bug 1429043 - Remove unnecessary type annotations from wpt expectation files, a=testonly 2018-01-09 14:46:30 +00:00
mediacapture-image Bug 1429043 - Remove unnecessary type annotations from wpt expectation files, a=testonly 2018-01-09 14:46:30 +00:00
mediacapture-record Bug 1429043 - Remove unnecessary type annotations from wpt expectation files, a=testonly 2018-01-09 14:46:30 +00:00
mediacapture-streams Bug 1437255. Use a null prototype for @@unscopables objects in the DOM. r=qdot 2018-02-12 15:46:11 -05:00
mediasession Bug 1429043 - Remove unnecessary type annotations from wpt expectation files, a=testonly 2018-01-09 14:46:30 +00:00
mimesniff/mime-types Bug 1429043 - Update wpt metadata, a=testonly 2018-01-09 14:45:51 +00:00
mixed-content Bug 1435733 - Upgrade mixed display content pref. r=baku,ckerschb,francois,mayhemer 2018-02-05 15:37:27 +00:00
navigation-timing Bug 1442264 [wpt PR 8839]- Update wpt metadata, a=testonly 2018-03-31 22:28:33 +01:00
netinfo Bug 1429043 - Remove unnecessary type annotations from wpt expectation files, a=testonly 2018-01-09 14:46:30 +00:00
notifications Bug 1441534 [wpt PR 5188]- Update wpt metadata, a=testonly 2018-03-31 22:27:37 +01:00
offscreen-canvas Bug 1429043 - Remove unnecessary type annotations from wpt expectation files, a=testonly 2018-01-09 14:46:30 +00:00
old-tests/submission/Microsoft/foreigncontent Bug 1410245 - Update wpt metadata, a=testonly 2017-10-25 10:48:22 +01:00
orientation-event Bug 1429043 - Remove unnecessary type annotations from wpt expectation files, a=testonly 2018-01-09 14:46:30 +00:00
orientation-sensor Bug 1437255. Use a null prototype for @@unscopables objects in the DOM. r=qdot 2018-02-12 15:46:11 -05:00
page-visibility Bug 1429043 - Remove unnecessary type annotations from wpt expectation files, a=testonly 2018-01-09 14:46:30 +00:00
paint-timing Bug 1429043 - Remove unnecessary type annotations from wpt expectation files, a=testonly 2018-01-09 14:46:30 +00:00
payment-handler Bug 1437255. Use a null prototype for @@unscopables objects in the DOM. r=qdot 2018-02-12 15:46:11 -05:00
payment-method-basic-card Bug 1410245 - Update wpt metadata, a=testonly 2017-10-25 10:48:22 +01:00
payment-request Bug 1440165 [wpt PR 9619]- Update wpt metadata, a=testonly 2018-03-31 22:32:00 +01:00
performance-timeline Bug 1436692 - Implement PerformanceObserver::takeRecords(), r=valentin 2018-02-08 17:43:25 +01:00
pointerevents Bug 1429043 - Remove unnecessary type annotations from wpt expectation files, a=testonly 2018-01-09 14:46:30 +00:00
pointerlock Bug 1429043 - Remove unnecessary type annotations from wpt expectation files, a=testonly 2018-01-09 14:46:30 +00:00
preload Bug 1439820 [wpt PR 9595]- Update wpt metadata, a=testonly 2018-03-31 22:25:07 +01:00
presentation-api/controlling-ua Bug 1429043 - Remove unnecessary type annotations from wpt expectation files, a=testonly 2018-01-09 14:46:30 +00:00
proximity Bug 1437255. Use a null prototype for @@unscopables objects in the DOM. r=qdot 2018-02-12 15:46:11 -05:00
quirks Bug 1433144 - Update metadata for wpt update, a=testonly 2018-01-30 17:46:19 +00:00
referrer-policy Bug 1429043 - Remove unnecessary type annotations from wpt expectation files, a=testonly 2018-01-09 14:46:30 +00:00
remote-playback Bug 1437255. Use a null prototype for @@unscopables objects in the DOM. r=qdot 2018-02-12 15:46:11 -05:00
requestidlecallback Bug 1436426 [wpt PR 9410] - Update wpt metadata, a=testonly 2018-03-31 22:18:13 +01:00
resize-observer Bug 1410245 - Update wpt metadata, a=testonly 2017-10-25 10:48:22 +01:00
resource-timing Bug 1435296 Address test failures caused by bumping timer precision to 2 ms r=baku 2018-02-12 11:39:41 -06:00
screen-orientation Bug 1429043 - Remove unnecessary type annotations from wpt expectation files, a=testonly 2018-01-09 14:46:30 +00:00
selection Bug 1443513 [wpt PR 9024] - Update wpt metadata, a=testonly 2018-03-31 22:30:12 +01:00
server-timing Bug 1433144 - Update metadata for wpt update, a=testonly 2018-01-30 17:46:19 +00:00
service-workers Bug 1441399 [wpt PR 8796]- Update wpt metadata, a=testonly 2018-03-31 22:26:08 +01:00
shadow-dom Bug 1425759: Update test expectations. r=smaug,xidorn 2018-02-27 12:39:58 +01:00
speech-api Bug 1419296 - Update wpt metadata to fa27b785c62e67cc3a12201612db188c4fdd49ad, a=testonly 2017-11-21 07:39:18 +00:00
staticrange Bug 1437255. Use a null prototype for @@unscopables objects in the DOM. r=qdot 2018-02-12 15:46:11 -05:00
storage Bug 1429043 - Remove unnecessary type annotations from wpt expectation files, a=testonly 2018-01-09 14:46:30 +00:00
streams Bug 1443740 [wpt PR 9896] - Update wpt metadata, a=testonly 2018-03-31 22:32:34 +01:00
subresource-integrity Bug 1429043 - Remove unnecessary type annotations from wpt expectation files, a=testonly 2018-01-09 14:46:30 +00:00
svg Bug 1425589 - Update web-platform-tests annotations for webrender on linux. r=jgraham 2018-03-21 09:29:32 -04:00
touch-events Bug 1425759: Update test expectations. r=smaug,xidorn 2018-02-27 12:39:58 +01:00
trusted-types Bug 1410245 - Update wpt metadata, a=testonly 2017-10-25 10:48:22 +01:00
uievents Bug 1429043 - Remove unnecessary type annotations from wpt expectation files, a=testonly 2018-01-09 14:46:30 +00:00
upgrade-insecure-requests Bug 1433144 - Update metadata for wpt update, a=testonly 2018-01-30 17:46:19 +00:00
url Bug 1436426 [wpt PR 9410] - Update wpt metadata, a=testonly 2018-03-31 22:18:13 +01:00
user-timing Bug 1435296 Address test failures caused by bumping timer precision to 2 ms r=baku 2018-02-12 11:39:41 -06:00
visual-viewport Bug 1429043 - Remove unnecessary type annotations from wpt expectation files, a=testonly 2018-01-09 14:46:30 +00:00
wake-lock Bug 1429043 - Update wpt metadata, a=testonly 2018-01-09 14:45:51 +00:00
wasm Bug 1429043 - Remove unnecessary type annotations from wpt expectation files, a=testonly 2018-01-09 14:46:30 +00:00
web-animations Bug 1420320 - Drop dom.animations-api.pending-member.enabled pref; r=bz,hiro 2018-03-16 12:49:55 +09:00
web-nfc Bug 1443719 [wpt PR 9893] - Update wpt metadata, a=testonly 2018-03-31 22:31:50 +01:00
web-share Bug 1429043 - Remove unnecessary type annotations from wpt expectation files, a=testonly 2018-01-09 14:46:30 +00:00
webaudio/the-audio-api Bug 1443250 [wpt PR 9823] - Update wpt metadata, a=testonly 2018-03-31 22:32:22 +01:00
webauthn Bug 1443558 - [wpt-sync] Update web-platform-tests to 6d85a3b422cab97d032ad3db47cb741ca364185f, a=testonly 2018-03-09 10:23:30 +00:00
WebCryptoAPI Bug 1434754 disabling hkdf.https.worker.html on Windows 10 ccov platforms r=jmaher 2018-03-28 12:43:49 -06:00
webdriver/tests Bug 1440355 [wpt PR 9634]- Update wpt metadata, a=testonly 2018-03-31 22:25:23 +01:00
webgl Bug 1429043 - Remove unnecessary type annotations from wpt expectation files, a=testonly 2018-01-09 14:46:30 +00:00
WebIDL Bug 1441399 [wpt PR 8796]- Update wpt metadata, a=testonly 2018-03-31 22:26:08 +01:00
webmessaging Bug 1429043 - Remove unnecessary type annotations from wpt expectation files, a=testonly 2018-01-09 14:46:30 +00:00
webrtc Bug 1437488 [wpt PR 9479]- Update wpt metadata, a=testonly 2018-03-31 22:19:45 +01:00
websockets Bug 1436426 [wpt PR 9410] - Update wpt metadata, a=testonly 2018-03-31 22:18:13 +01:00
webstorage Bug 1429043 - Remove unnecessary type annotations from wpt expectation files, a=testonly 2018-01-09 14:46:30 +00:00
webusb Bug 1429043 - Remove unnecessary type annotations from wpt expectation files, a=testonly 2018-01-09 14:46:30 +00:00
webvr Bug 1435868 - Metadata update for wpt update, a=testonly 2018-02-05 22:21:57 +00:00
webvtt Backed out 7 changesets (bug 1193394) for browser-chrome failures on browser_ext_popup_background.js. CLOSED TREE 2018-03-01 16:29:02 +02:00
webxr Bug 1437255. Use a null prototype for @@unscopables objects in the DOM. r=qdot 2018-02-12 15:46:11 -05:00
workers Bug 1436426 [wpt PR 9410] - Update wpt metadata, a=testonly 2018-03-31 22:18:13 +01:00
worklets Bug 1433144 - Update metadata for wpt update, a=testonly 2018-01-30 17:46:19 +00:00
x-frame-options Bug 1429043 - Remove unnecessary type annotations from wpt expectation files, a=testonly 2018-01-09 14:46:30 +00:00
xhr Bug 1433144 - Update metadata for wpt update, a=testonly 2018-01-30 17:46:19 +00:00
MANIFEST.json Bug 1440377 [wpt PR 9635] - Move core CORB logic into //services/network., a=testonly 2018-03-31 22:32:49 +01:00
mozilla-sync Bug 1443558 - [wpt-sync] Update web-platform-tests to 6d85a3b422cab97d032ad3db47cb741ca364185f, a=testonly 2018-03-09 10:23:30 +00:00