Opaque Response Blocking v0
Categories
(Core :: DOM: Networking, task, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox89 | --- | fixed |
People
(Reporter: tt, Assigned: edenchuang)
References
(Blocks 1 open bug)
Details
(Whiteboard: [necko-triaged])
Attachments
(8 files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
Scope of v0:
- Implement https://github.com/annevk/orb except for Javascript/JSON parsing without actually blocking.
- Apply changes in https://github.com/annevk/orb/pull/16/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
- Collect telemetry probes to measure impacts.
We have already had patches, but I am going to move them here so that it's easier to track progress.
Reporter | ||
Comment 1•3 years ago
|
||
Reporter | ||
Comment 2•3 years ago
|
||
These functions are defined at https://github.com/annevk/orb.
Reporter | ||
Comment 3•3 years ago
|
||
Reporter | ||
Comment 4•3 years ago
|
||
Reporter | ||
Comment 5•3 years ago
|
||
Reporter | ||
Comment 6•3 years ago
|
||
This implements the changes in https://github.com/annevk/orb/pull/16/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
Reporter | ||
Updated•3 years ago
|
Reporter | ||
Comment 7•3 years ago
|
||
Depends on D106891
Reporter | ||
Comment 8•3 years ago
|
||
try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=c2365d0cdd2264a8744a58d2f125c08e58ff4d50
try without enabling the pref on Nightly (to simulate Beta and Release): https://treeherder.mozilla.org/#/jobs?repo=try&revision=3646db16b523e88b9939e410478a9e857079a752
Reporter | ||
Comment 9•3 years ago
|
||
(In reply to Tom Tung [:tt, :ttung] from comment #8)
try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=c2365d0cdd2264a8744a58d2f125c08e58ff4d50
try without enabling the pref on Nightly (to simulate Beta and Release): https://treeherder.mozilla.org/#/jobs?repo=try&revision=3646db16b523e88b9939e410478a9e857079a752
Some tests failed because the boolean pref was accessed on the background thread.
Update patches to make it atomic boolean.
try: https://treeherder.mozilla.org/jobs?repo=try&revision=a001bc892322dff5f737166ed306478983ef9a48
try w/o: https://treeherder.mozilla.org/#/jobs?repo=try&revision=8d820ba43c8262b573c2f562247c5f3ff49ac889
Reporter | ||
Comment 10•3 years ago
|
||
After applying D102448,
uriloader/exthandler/tests/mochitest/test_nullCharFile.xhtml starts to fail.
The reason is that it adds image sniffer into net-content-sniffers which is not
expected.
Such that, this patch
- adds two other sniffers category:
- orb-content-sniffers
- The sniffers that are needed in ORB.
- net-and-orb-content-sniffers
- The sniffers that are in either orb-content-sniffers or net-content-sniffers.
- orb-content-sniffers
- changes the way to ensure we only use the sniffers in the
requested category.
Updated•3 years ago
|
Reporter | ||
Updated•3 years ago
|
Updated•3 years ago
|
Comment 11•3 years ago
|
||
Pushed by echuang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/642bdd52fd57 Add a pref for ORB and disable it by default; r=necko-reviewers,valentin https://hg.mozilla.org/integration/autoland/rev/51a16dfabc98 Add functions to determine opaque-safelisted MIME type, opaque-blocklisted MIME type and opaque-blocklisted-never-sniffed MIME type; r=necko-reviewers,dragana https://hg.mozilla.org/integration/autoland/rev/3fdc8089a46f ORB core Implementation; r=necko-reviewers,dragana https://hg.mozilla.org/integration/autoland/rev/d60c38f8939a Extract the code for parsing range header string out and use it later; r=alwu,necko-reviewers,dragana https://hg.mozilla.org/integration/autoland/rev/fab7f4cd445d Make LoadInfo know if the request is triggered from a media element and if it's an initial request. r=necko-reviewers,alwu,dragana https://hg.mozilla.org/integration/autoland/rev/e4d01b88e517 Sniff and check the initial media request and allow its subsequent requests; r=necko-reviewers,dragana https://hg.mozilla.org/integration/autoland/rev/2946eff1e9c8 Enable the pref for ORB on Nightly; r=valentin https://hg.mozilla.org/integration/autoland/rev/11fdb503d537 Use sniffers in the requested category; r=necko-reviewers,valentin
Comment 12•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/642bdd52fd57
https://hg.mozilla.org/mozilla-central/rev/51a16dfabc98
https://hg.mozilla.org/mozilla-central/rev/3fdc8089a46f
https://hg.mozilla.org/mozilla-central/rev/d60c38f8939a
https://hg.mozilla.org/mozilla-central/rev/fab7f4cd445d
https://hg.mozilla.org/mozilla-central/rev/e4d01b88e517
https://hg.mozilla.org/mozilla-central/rev/2946eff1e9c8
https://hg.mozilla.org/mozilla-central/rev/11fdb503d537
Updated•3 years ago
|
Comment 13•3 years ago
|
||
Pushed by echuang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7f61d79772d0 Add a pref for ORB and disable it by default; r=necko-reviewers,valentin https://hg.mozilla.org/integration/autoland/rev/fa0aa347f7fd Add functions to determine opaque-safelisted MIME type, opaque-blocklisted MIME type and opaque-blocklisted-never-sniffed MIME type; r=necko-reviewers,dragana https://hg.mozilla.org/integration/autoland/rev/f6ff0fe4970c ORB core Implementation; r=necko-reviewers,dragana https://hg.mozilla.org/integration/autoland/rev/c117ba41ccb1 Extract the code for parsing range header string out and use it later; r=alwu,necko-reviewers,dragana https://hg.mozilla.org/integration/autoland/rev/b4fe94d08876 Make LoadInfo know if the request is triggered from a media element and if it's an initial request. r=necko-reviewers,alwu,dragana https://hg.mozilla.org/integration/autoland/rev/9e001023eda0 Sniff and check the initial media request and allow its subsequent requests; r=necko-reviewers,dragana https://hg.mozilla.org/integration/autoland/rev/e886ab54b5f1 Enable the pref for ORB on Nightly; r=valentin https://hg.mozilla.org/integration/autoland/rev/cbbcad052794 Use sniffers in the requested category; r=necko-reviewers,valentin
Comment 14•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/7f61d79772d0
https://hg.mozilla.org/mozilla-central/rev/fa0aa347f7fd
https://hg.mozilla.org/mozilla-central/rev/f6ff0fe4970c
https://hg.mozilla.org/mozilla-central/rev/c117ba41ccb1
https://hg.mozilla.org/mozilla-central/rev/b4fe94d08876
https://hg.mozilla.org/mozilla-central/rev/9e001023eda0
https://hg.mozilla.org/mozilla-central/rev/e886ab54b5f1
https://hg.mozilla.org/mozilla-central/rev/cbbcad052794
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Description
•