Kris Maglione
415fe0f356
Bug 1645510: Part 3 - Make some UnprivilegedJunkScope calls fallible. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D79721
2020-06-27 03:06:35 +00:00
Kershaw Chang
f086be47ea
Bug 1642193 - Add new flags to see if premature abort events are already dispatched, r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D78901
2020-06-23 11:50:27 +00:00
tkhan
6ccabd4784
Bug 1602668 - M(1) manifest and test changes. r=kmag,karlt,necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D70362
2020-06-22 19:09:49 +00:00
Noemi Erli
e1d7f7bcaf
Backed out changeset ed1fd081cc06 (bug 1642193) for causing wpt failures CLOSED TREE
2020-06-22 17:46:53 +03:00
Kershaw Chang
8b4b65b57c
Bug 1642193 - Add new flags to see if premature abort events are already dispatched r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D78901
2020-06-19 12:32:25 +00:00
Emilio Cobos Álvarez
6bb08bd490
Bug 1646056 - Use const references as keys instead of raw pointers for PreloadHashKey. r=mayhemer
...
Feels a bit more natural for the callers this way. This should have no
behavior change.
Differential Revision: https://phabricator.services.mozilla.com/D79831
2020-06-18 14:06:34 +00:00
Emilio Cobos Álvarez
939c7c466b
Bug 1642591 - Don't make referrer policy a cache miss for sub-resource {pre,}loads. r=mayhemer,tnikkel
...
For preload we're already effectively not using it, I think, due to
bug 1642325.
For images, this matches the spec, see earlier comments in this bug and
https://bugzilla.mozilla.org/show_bug.cgi?id=1174921#c17 . I think it
makes sense for other sub-resources to align as well.
Differential Revision: https://phabricator.services.mozilla.com/D79812
2020-06-18 14:06:20 +00:00
Gijs Kruitbosch
222e2d1158
Bug 1644863 - fix trailing whitespace in cross-tree tests, r=emilio,marionette-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D79202
2020-06-17 22:45:31 +00:00
Honza Bambas
089a846bd0
Bug 1642303 - Keep channel of FetchPreloader even after the load has finished to let preload consumers use that channel early after opening, r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D78729
2020-06-10 14:21:56 +00:00
Narcis Beleuzu
fe40425f38
Backed out changeset d5c26d99978e (bug 1642193) for wpt failures on event-timeout-order.any.worker.html . CLOSED TREE
2020-06-10 17:14:24 +03:00
Kershaw Chang
138dcb771c
Bug 1642193 - Add new flags to see if premature abort events are already dispatched r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D78901
2020-06-09 16:09:07 +00:00
Junior Hsu
c967db3c67
Bug 1638513
- P2 let nsIHttpChannel implement shouldStripRequestBodyHeader, r=valentin,necko-reviewers
...
We need to extract the common method into the idl since the connection between necko
and XHR is idl. Need to import the whole necko if we do something like
`#include "HttpBaseChannel.h"
Differential Revision: https://phabricator.services.mozilla.com/D78830
2020-06-09 18:20:15 +00:00
Emilio Cobos Álvarez
54fd961a29
Bug 1641245 - Make string comparators not virtual. r=froydnj,necko-reviewers,geckoview-reviewers,jgilbert,agi,valentin
...
There's no use case for stateful comparators, so they can be just plain
function pointers.
This is used in some hot places like CSS selector matching.
Differential Revision: https://phabricator.services.mozilla.com/D77084
2020-05-27 18:11:12 +00:00
Peter Van der Beken
af82496fc7
Bug 1639310 - Remove unnecessary implicitJSContext annotations. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D76020
2020-05-19 20:48:21 +00:00
Honza Bambas
87cfab963e
Bug 1618544 - Make XMLHttpRequest use <link preload>, r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D75557
2020-05-19 11:34:36 +00:00
Andrea Marchesini
d3645b765f
Bug 1637857 - URLSearchParams serialized for XHR in workers, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D74712
2020-05-15 20:04:54 +00:00
Karl Tomlinson
bba064955e
Bug 1637159 provide XMLHttpRequest owner via DOMEventTargetHelper constructor r=smaug
...
Depends on D75039
Differential Revision: https://phabricator.services.mozilla.com/D75041
2020-05-14 05:28:36 +00:00
Junior Hsu
c9b2009b07
Bug 1632045 - strip Content-Type and related headers for POST->GET XHR, r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D74771
2020-05-13 17:05:06 +00:00
Alexandre Poirot
718bf89e62
Bug 1620966 - Move DocShell.watchedByDevtools to BrowsingContext and rename it to watchedByDevTools. r=nika,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D66037
2020-05-12 09:18:26 +00:00
Jon Coppeard
f76ace3dcd
Bug 1634435
- Rename AutoValueArray to RootedValueArray everywhere for consistency with other rooted things r=jandem,mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D73295
2020-05-04 16:50:59 +00:00
Perry Jiang
3446310d6c
Bug 1618546 - give worker debugger globals their own clients r=asuth,webidl,smaug
...
- Worker debugger globals gets a client with a null principal
- Ensure globals are created before script loads
- Introduce WorkerGlobalScopeBase to share code
- Transfer ClientSource ownership from WorkerPrivate to worker globals
- Require getting clients from the globals instead of WorkerPrivate with the
exception of getting the reserved client before the non-debugger global is
created
Differential Revision: https://phabricator.services.mozilla.com/D68936
2020-04-21 06:50:53 +00:00
Mark Banner
91b65009eb
Bug 1549945 - Avoid the need for import-globals-from when (x)html files load scripts via /tests/. r=mossop
...
When loading from /tests/ we can strip off the /tests/ part and find the file with the rest of the path.
Differential Revision: https://phabricator.services.mozilla.com/D71411
2020-04-20 16:15:11 +00:00
Jon Coppeard
e8f20aa073
Bug 1629843 - Mark XMLHttpRequestMainThread and CustomEvent classes as containing pointers to JS GC things in multiple zones r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D70901
--HG--
extra : moz-landing-system : lando
2020-04-14 16:28:29 +00:00
Eric Rahm
53f27d440b
Bug 1626450 - Remove stray references to "nsAutoPtr.h" in dom/. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D69121
--HG--
extra : moz-landing-system : lando
2020-04-03 21:05:26 +00:00
sonakshi
b204bf50aa
Bug 1551306 - Remove context parameter from nsIProgressEventSink.onProgress() and nsIProgressEventSink.onStatus() r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D68235
--HG--
extra : moz-landing-system : lando
2020-03-29 19:18:56 +00:00
Cosmin Sabou
79929c6462
Backed out changeset ad4847d17298 (bug 1551306) for causing build bustages. CLOSED TREE
2020-03-27 20:24:17 +02:00
sonakshi
145046fde2
Bug 1551306 - Remove context parameter from nsIProgressEventSink.onProgress() and nsIProgressEventSink.onStatus() r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D68235
--HG--
extra : moz-landing-system : lando
2020-03-27 17:57:10 +00:00
Mihai Alexandru Michis
c1256a18a6
Backed out changeset d91e4acdd63c (bug 1551306) for causing bustages in request::InitBitsRequest
...
CLOSED TREE
2020-03-27 16:12:47 +02:00
sonakshi
b5f7fb3be7
Bug 1551306 - Remove context parameter from nsIProgressEventSink.onProgress() and nsIProgressEventSink.onStatus() r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D68235
--HG--
extra : moz-landing-system : lando
2020-03-27 14:05:02 +00:00
Mark Banner
15cfe23b88
Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D65703
--HG--
extra : moz-landing-system : lando
2020-03-07 10:09:44 +00:00
Andrea Marchesini
8ee171e01e
Bug 1619518
- part 4 - FileBlobImpl inherits BlobImpl directly, r=ssengupta,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D65166
--HG--
extra : moz-landing-system : lando
2020-03-05 05:48:58 +00:00
Simon Giesecke
88ead5d627
Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/media. r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D65178
--HG--
extra : moz-landing-system : lando
2020-03-04 15:39:20 +00:00
Tim Huang
04d44bae12
Bug 1616570 - Part 1: Rename CookieSettings to CookieJarSettings. r=Ehsan
...
Given that we are going to add ContentBlockingAllowList in
CookieSettings, so CookieSettings will be responsible for more stuff than the
cookie behavior and cookie permission. We should use a proper name to
reflect the purpose of it. The name 'CookieSettings' is misleading that
this is only for cookie related stuff. So, we decide to rename
'CookieSettins' to 'CookieJarSettings' which serves better meaning here.
Differential Revision: https://phabricator.services.mozilla.com/D63935
--HG--
rename : netwerk/cookie/CookieSettings.cpp => netwerk/cookie/CookieJarSettings.cpp
rename : netwerk/cookie/nsICookieSettings.idl => netwerk/cookie/nsICookieJarSettings.idl
extra : moz-landing-system : lando
2020-03-04 08:59:08 +00:00
Simon Giesecke
3f36ef12b2
Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/xhr. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D63174
--HG--
extra : moz-landing-system : lando
2020-02-20 15:59:01 +00:00
Simon Giesecke
b50347f917
Bug 1611415 - Prefer using std::move over forget. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D60980
--HG--
extra : moz-landing-system : lando
2020-02-13 14:38:48 +00:00
shindli
91aa0518dd
Backed out changeset 0c982bc69cb3 (bug 1611415) for causing build bustages in /builds/worker/workspace/build/src/obj-firefox/dist/include/nsCOMPtr CLOSED TREE
2020-02-12 20:13:29 +02:00
Simon Giesecke
f604a47fa5
Bug 1611415 - Applied FixItHints from mozilla-non-std-move. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D60980
--HG--
extra : moz-landing-system : lando
2020-02-12 17:24:41 +00:00
Edgar Chen
8346d0956a
Bug 1575425 - Part 4: Remove manually checking shareness in various APIs implmentation; r=bzbarsky
...
Now we support [AllowShared] in WebIDL, we don't need to manually check shareness
and throw exception if API don't accept SharedArrayBuffer, the binding will handle
it.
Differential Revision: https://phabricator.services.mozilla.com/D60001
--HG--
extra : moz-landing-system : lando
2020-01-23 13:51:04 +00:00
Andrea Marchesini
a9cf3442be
Bug 1607791 - Get rid of IDBMutableFile.getFile() - part 3 - Rename SameProcessDifferentThread to SameProcess, r=asuth,sfink
...
Differential Revision: https://phabricator.services.mozilla.com/D59142
--HG--
extra : moz-landing-system : lando
2020-01-15 12:02:17 +00:00
Mihai Alexandru Michis
4345a38d0d
Backed out 9 changesets (bug 1607791, bug 1605566) for causing multiple wpt failures.
...
CLOSED TREE
Backed out changeset 39f34852842e (bug 1605566)
Backed out changeset 3427a92445c8 (bug 1605566)
Backed out changeset 36631ec96f1f (bug 1605566)
Backed out changeset 554b2bdce66c (bug 1605566)
Backed out changeset 37026beadbd8 (bug 1605566)
Backed out changeset f15835338319 (bug 1607791)
Backed out changeset 4c92f506cf62 (bug 1607791)
Backed out changeset 80707bcc8427 (bug 1607791)
Backed out changeset 75bc7533c899 (bug 1607791)
2020-01-15 13:45:33 +02:00
Andrea Marchesini
6d6aa4cc66
Bug 1607791 - Get rid of IDBMutableFile.getFile() - part 3 - Rename SameProcessDifferentThread to SameProcess, r=asuth,sfink
...
Differential Revision: https://phabricator.services.mozilla.com/D59142
--HG--
extra : moz-landing-system : lando
2020-01-15 09:59:16 +00:00
Matt Woodrow
dc86748b77
Bug 1599438 - Store sandbox flags on the LoadInfo when creating a channel for a docshell, so that we don't read a stale value from the BrowsingContext later. r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D59263
--HG--
extra : moz-landing-system : lando
2020-01-15 08:02:57 +00:00
Narcis Beleuzu
c59ca04e7b
Backed out changeset b3538b7016aa (bug 1599438) for bustages on TestHttpFuzzing.cpp . CLOSED TREE
2020-01-15 06:03:55 +02:00
Matt Woodrow
dd0d183cb4
Bug 1599438 - Store sandbox flags on the LoadInfo when creating a channel for a docshell, so that we don't read a stale value from the BrowsingContext later. r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D59263
--HG--
extra : moz-landing-system : lando
2020-01-15 02:05:57 +00:00
Andrea Marchesini
2616cac8b3
Bug 1030481 - Remove nsIMutable, r=smaug
...
nsIMutable is used only by DOM Blob/File. But Blobs are immutable by spec.
FileBlobImpl has a couple of lazy member values, but those are called when
the object is cloned in order to be sent to a different thread/process.
Differential Revision: https://phabricator.services.mozilla.com/D58946
--HG--
extra : moz-landing-system : lando
2020-01-07 15:02:00 +00:00
Brindusan Cristian
ed883ce3f4
Backed out changeset 61101e3eebb3 (bug 1030481) for mochitest failures at test_file.xhtml. CLOSED TREE
2020-01-07 16:30:53 +02:00
Andrea Marchesini
4059db5bc7
Bug 1030481 - Remove nsIMutable, r=smaug
...
nsIMutable is used only by DOM Blob/File. But Blobs are immutable by spec.
FileBlobImpl has a couple of lazy member values, but those are called when
the object is cloned in order to be sent to a different thread/process.
Differential Revision: https://phabricator.services.mozilla.com/D58716
--HG--
extra : moz-landing-system : lando
2020-01-07 12:37:12 +00:00
Kris Maglione
0b1a146519
Bug 1596918: Part 4c - Fix callers which depend on document lifecycle changes. r=mccr8
...
ContentTask tasks have a different lifetime than SpecialPowers tasks, with the
former being tied to the lifetime of a message manager and the latter tied to
the lifetime of a window global. That means that existing ContentTask callers
which expect to be able to register load listeners before the creation of a
window global, or which expect to persist after a page has navigated, won't
work as SpecialPowers tasks.
Since those sorts of tasks are not really resilient in the face of Fission,
they should really be written to work differently, but this patch mostly just
reverts them to using ContentTask for the time being.
Differential Revision: https://phabricator.services.mozilla.com/D53744
--HG--
extra : moz-landing-system : lando
2019-12-13 20:36:36 +00:00
Kris Maglione
94e3b0bd8d
Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
...
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.
Differential Revision: https://phabricator.services.mozilla.com/D53740
--HG--
extra : moz-landing-system : lando
2019-12-13 20:36:16 +00:00
shindli
91924fedc7
Backed out 9 changesets (bug 1596918) for causing mochitest permafailures in toolkit/content/tests/chrome/test_findbar_events.xhtml CLOSED TREE
...
Backed out changeset 45a1c42118f2 (bug 1596918)
Backed out changeset db09910ffa56 (bug 1596918)
Backed out changeset 5c9d9f141c10 (bug 1596918)
Backed out changeset 6a135670d603 (bug 1596918)
Backed out changeset 3a0184e0df72 (bug 1596918)
Backed out changeset 2f0036486823 (bug 1596918)
Backed out changeset a770c6d08d52 (bug 1596918)
Backed out changeset ef062eb7a6ee (bug 1596918)
Backed out changeset a6ea596e98db (bug 1596918)
2019-12-11 03:09:26 +02:00