Kershaw Chang
0f07bc4a3d
Bug 1309358 - P1: Add wildcard to Access-Control-Expose-Headers r=baku
...
For requests without credentials, add wildcard to Access-Control-Expose-Headers.
Differential Revision: https://phabricator.services.mozilla.com/D36624
--HG--
extra : moz-landing-system : lando
2019-07-16 08:50:14 +00:00
Boris Zbarsky
75aa8f554d
Bug 1565767 part 4. Remove some unnecesary refcounting at Document::GetBaseURI callsites. r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D37972
--HG--
extra : moz-landing-system : lando
2019-07-15 18:28:43 +00:00
Boris Zbarsky
5062731c15
Bug 1565688. Remove unused IOService arg from NS_NewURI. r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D37968
--HG--
extra : moz-landing-system : lando
2019-07-15 13:39:51 +00:00
Andrea Marchesini
33eb80d210
Bug 1564821 - Response must call JS::ReadableStreamReleaseCCObject() if ::GetBody() fails, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D37711
--HG--
extra : moz-landing-system : lando
2019-07-12 23:43:16 +00:00
Alex Catarineu
dbce01f2ff
Bug 467035 - Add new internal DTD content types r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D35232
--HG--
extra : moz-landing-system : lando
2019-07-03 17:28:25 +00:00
Victor Porof
0a8ff0ad85
Bug 1561435 - Format dom/, a=automatic-formatting
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D35951
--HG--
extra : source : 62f3501af4bc1c0bd1ee1977a28aee04706a6663
2019-07-05 10:44:55 +02:00
Andrea Marchesini
a6803fce1e
Bug 1563032 - BodyStream must check the return value of BodyStreamHolder::GetReadableStreamBody(), r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D36717
--HG--
extra : moz-landing-system : lando
2019-07-03 16:08:30 +00:00
Andrea Marchesini
ee11e667ec
Bug 1557781 - Better life-time management for BodyStream/FetchStream - part 2 - BodyStream, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D35529
--HG--
extra : moz-landing-system : lando
2019-07-01 20:01:17 +00:00
Brian Hackett
f55ecd123b
Bug 1551256 - Show net monitor stacks for fetch() calls from workers, r=bzbarsky.
...
--HG--
extra : rebase_source : e21725f13ffc343befe68b26e4d70fc1a2733005
2019-06-15 06:46:22 -10:00
Thomas Nguyen
1d636c1d2d
Bug 1557636 Use Referrer info in worker and fix sharedworker's wrong referrer r=baku
...
SharedWorker should use worker's referrer info instead of default value
Differential Revision: https://phabricator.services.mozilla.com/D34861
--HG--
extra : moz-landing-system : lando
2019-06-13 20:37:34 +00:00
Andrea Marchesini
7009293bd7
Bug 1558923 - Simplify URL API, r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D34766
--HG--
extra : moz-landing-system : lando
2019-06-13 19:45:19 +00:00
Narcis Beleuzu
8e2da98d46
Backed out 2 changesets (bug 1558923) for mochitest crashes on AssertIsOnMainThread(). CLOSED TREE
...
Backed out changeset 643de99320a8 (bug 1558923)
Backed out changeset f758b5ccd0c0 (bug 1558923)
2019-06-13 20:59:33 +03:00
Andrea Marchesini
ac563a2551
Bug 1558923 - Simplify URL API, r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D34766
--HG--
extra : moz-landing-system : lando
2019-06-13 16:23:11 +00:00
Noemi Erli
dec16f16c7
Backed out 2 changesets (bug 1558923) for failures in nsContentUtils.cpp
...
Backed out changeset 12c977801cb2 (bug 1558923)
Backed out changeset d8a688f1b7ce (bug 1558923)
2019-06-13 19:19:05 +03:00
Olli Pettay
7004df09e8
Bug 1538516 - Resolve the Promise returned by fetch() later during page loads, r=baku
...
The patch depends on https://bugzilla.mozilla.org/show_bug.cgi?id=1558215
Depends on D34366
Differential Revision: https://phabricator.services.mozilla.com/D34367
--HG--
extra : moz-landing-system : lando
2019-06-12 18:37:49 +00:00
Andrea Marchesini
b35598172a
Bug 1558923 - Simplify URL API, r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D34766
--HG--
extra : moz-landing-system : lando
2019-06-13 15:10:24 +00:00
Cosmin Sabou
934be35969
Backed out 2 changesets (bug 1558923) for build bustages on dom/URL.h. CLOSED TREE
...
Backed out changeset 0bb5857422f2 (bug 1558923)
Backed out changeset d0411a373ace (bug 1558923)
2019-06-13 13:35:54 +03:00
Andrea Marchesini
ddcdb92776
Bug 1558923 - Simplify URL API, r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D34766
--HG--
extra : moz-landing-system : lando
2019-06-13 10:19:03 +00:00
Andrea Marchesini
30d3748577
Bug 1557121 - Implement Blob.text()/Blob.arrayBuffer()/Blob.stream() - part 3 - Rename FetchBodyConsumer to BodyConsumer, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D33828
--HG--
rename : dom/fetch/FetchConsumer.cpp => dom/base/BodyConsumer.cpp
rename : dom/fetch/FetchConsumer.h => dom/base/BodyConsumer.h
extra : moz-landing-system : lando
2019-06-07 14:16:59 +00:00
Andrea Marchesini
a96bc57140
Bug 1557121 - Implement Blob.text()/Blob.arrayBuffer()/Blob.stream() - part 2 - FetchBodyConsumer doesn't need to be a template class, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D33827
--HG--
extra : moz-landing-system : lando
2019-06-07 13:09:32 +00:00
Andrea Marchesini
16d8326f76
Bug 1557121 - Implement Blob.text()/Blob.arrayBuffer()/Blob.stream() - part 1 - Rename FetchStream to BodyStream, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D33826
--HG--
rename : dom/fetch/FetchStream.cpp => dom/base/BodyStream.cpp
rename : dom/fetch/FetchStream.h => dom/base/BodyStream.h
extra : moz-landing-system : lando
2019-06-07 13:09:12 +00:00
Kershaw Chang
993dce095a
Bug 1546041 - Throw TypeError if mode is Navigate r=baku
...
According to spec, we should throw TypeError if the mode is Navigate.
Differential Revision: https://phabricator.services.mozilla.com/D31245
--HG--
extra : moz-landing-system : lando
2019-05-27 13:51:16 +00:00
Brindusan Cristian
58d68b812b
Backed out changeset 3b6338393cc7 (bug 1546041) for mochitest failures at test_request.html. CLOSED TREE
2019-05-27 12:56:32 +03:00
Kershaw Chang
b53ba78d32
Bug 1546041 - Throw TypeError if mode is Navigate r=baku
...
According to spec, we should throw TypeError if the mode is Navigate.
Differential Revision: https://phabricator.services.mozilla.com/D31245
--HG--
extra : moz-landing-system : lando
2019-05-15 20:36:09 +00:00
Perry Jiang
144e795dbb
Bug 1426562 - Don't crash on `Response` constructor in WebExtensions. r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D29365
--HG--
extra : moz-landing-system : lando
2019-05-13 17:03:58 +00:00
Thomas Nguyen
b0bfbd85aa
Bug 1532318 - Part 2 : update changes of nsIHttpChannel in codebase r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D22786
--HG--
extra : moz-landing-system : lando
2019-05-02 12:33:55 +00:00
Andrea Marchesini
4426f8f63b
Bug 1548253 - Port pref cache variables of nsContentUtils to StaticPrefs - network.http.tailing.enabled, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D29520
--HG--
extra : moz-landing-system : lando
2019-05-01 21:10:31 +00:00
Hsin-Yi Tsai
7356311115
Bug 1544352 - update BUG_COMPONENT for some dom/* and testing/web-platform/* files. r=overholt,jmaher
...
This patch updates BUG_COMPONENT for some dom/* and testing/web-platform/* files
Differential Revision: https://phabricator.services.mozilla.com/D28721
--HG--
extra : moz-landing-system : lando
2019-04-25 09:14:08 +00:00
Sebastian Streich
a2d3e618af
Bug 1546913 - Remove GetLoadInfo callsites r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D27647
--HG--
extra : moz-landing-system : lando
2019-04-25 12:16:35 +00:00
Eden Chuang
9bffd42acf
Bug 1539208 - Propagate the result of mListener in InterceptedHttpChannel::OnStartRequest and ::OnStopRequest r=perry,ttung,kershaw
...
1. Propagate the mListener's result in InterceptedHttpChannel::OnStartRequest()
and ::OnStopRequest().
2. remove unnecessary assertion in FetchDriver::OnStartRequest().
Differential Revision: https://phabricator.services.mozilla.com/D28477
--HG--
extra : moz-landing-system : lando
2019-04-24 08:49:36 +00:00
Thomas Wisniewski
80259dac21
Bug 1539003 - update InternalHeaders get/set/append/delete to match the spec; r=hsivonen
...
update Fetch InternalHeaders get/set/append/delete to match the spec
Differential Revision: https://phabricator.services.mozilla.com/D27531
--HG--
extra : moz-landing-system : lando
2019-04-16 06:34:05 +00:00
Thomas Wisniewski
7886db55f5
Bug 1541598 - Have FetchBody::SetMimeType convert from ByteStrings to UTF8 CStrings to not corrupt Unicode values; r=hsivonen
...
Have FetchBody::SetMimeType convert from ByteStrings to UTF8 CStrings to not corrupt Unicode values
Differential Revision: https://phabricator.services.mozilla.com/D26011
--HG--
extra : moz-landing-system : lando
2019-04-14 15:02:39 +00:00
Luke Wagner
f7e7a23f16
Bug 1487113 - Use NS_MakeSyncNonBlockingInputStream in JSStreamConsumer (r=baku)
...
Differential Revision: https://phabricator.services.mozilla.com/D26728
--HG--
extra : rebase_source : f672687c0eaa91b8d3d6253298abeb6e26448f40
2019-03-25 14:39:17 -05:00
shindli
0dedef1eed
Bug 1539208 - P1 - Return an error when the Reponse object is null'd;
...
Reviewers: mayhemer, baku
Reviewed By: mayhemer
Bug #: 1539208
Differential Revision: https://phabricator.services.mozilla.com/D25228
--HG--
extra : rebase_source : f5e71904f20f35ea71ce2742ecd92d014da15e79
2019-04-01 17:35:46 +03:00
shindli
65afe7e3f7
Bug 1539208 - P2 - Use RandomNum while failing to get a random number from RandomGenerator;
...
Reviewers: asuth, baku
Reviewed By: baku
Subscribers: reviewbot
Bug #: 1539208
Differential Revision: https://phabricator.services.mozilla.com/D25104
--HG--
extra : rebase_source : df8e1b893174c6b8d62c65d7d787ac9907456cde
2019-04-01 17:34:38 +03:00
Andreea Pavel
c2f93b1a58
Backed out 2 changesets (bug 1539208) for causing bug 1540569 a=backout
...
Backed out changeset 7b17d77256be (bug 1539208)
Backed out changeset cec67adbdbb6 (bug 1539208)
2019-04-01 10:36:18 +03:00
Tom Tung
ebcbda67b0
Bug 1539208 - P2 - Use RandomNum while failing to get a random number from RandomGenerator; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D25104
--HG--
extra : moz-landing-system : lando
2019-03-29 09:04:10 +00:00
Tom Tung
33a688e689
Bug 1539208 - P1 - Return an error when the Reponse object is null'd; r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D25228
--HG--
extra : moz-landing-system : lando
2019-03-28 15:27:49 +00:00
dlee
9878ae650d
Bug 1522412 - P2. Remove nsIChannel.LOAD_CLASSIFY_URI flag. r=Ehsan
...
nsIChannel.LOAD_CLASSIFY_URI is no longer required so we can remove it from
the codebase.
In the mean time, we add a new LOAD_BYPASS_URL_CLASSIFIER load flag for
channel creator to be able to force channel to bypass URL classifier check.
The use of the new LOAD_BYPASS_URL_CLASSIFIER flag will be addressed in
the other patches.
Differential Revision: https://phabricator.services.mozilla.com/D22111
--HG--
extra : moz-landing-system : lando
2019-03-25 12:47:57 +00:00
Gurzau Raul
2666e16a53
Backed out 7 changesets (bug 1522412) for xpcshell failures at test_shouldclassify.js on a CLOSED TREE.
...
Backed out changeset 7c998456e1fd (bug 1522412)
Backed out changeset ebb581ddf1d1 (bug 1522412)
Backed out changeset 850e1c68d978 (bug 1522412)
Backed out changeset fe288a48cecb (bug 1522412)
Backed out changeset 5399bca472b1 (bug 1522412)
Backed out changeset 91e5b339fe11 (bug 1522412)
Backed out changeset b80098d0a5c4 (bug 1522412)
2019-03-21 11:02:09 +02:00
Dimi Lee
8f1caf4049
Bug 1522412 - P2. Remove nsIChannel.LOAD_CLASSIFY_URI flag. r=Ehsan
...
nsIChannel.LOAD_CLASSIFY_URI is no longer required so we can remove it from
the codebase.
In the mean time, we add a new LOAD_BYPASS_URL_CLASSIFIER load flag for
channel creator to be able to force channel to bypass URL classifier check.
The use of the new LOAD_BYPASS_URL_CLASSIFIER flag will be addressed in
the other patches.
Differential Revision: https://phabricator.services.mozilla.com/D22111
--HG--
extra : moz-landing-system : lando
2019-03-21 07:30:51 +00:00
Sebastian Hengst
cee711baf9
Bug 1535353 - update Core :: DOM: * bugzilla product and component meta data in moz.build files after reorganization in bug 1533440 r=hsinyi
...
Differential Revision: https://phabricator.services.mozilla.com/D23546
--HG--
extra : moz-landing-system : lando
2019-03-17 23:13:22 +00:00
Nika Layzell
1ebd4ff025
Bug 1532661 - Part 2: Use a field list macro header for synced fields, r=farre
...
Depends on D22190
Differential Revision: https://phabricator.services.mozilla.com/D22191
--HG--
extra : moz-landing-system : lando
2019-03-14 18:51:05 +00:00
Sylvestre Ledru
4aa92e3091
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D22514
2019-03-13 10:19:06 +01:00
Andrea Marchesini
cdabe87d66
Bug 1532553 - Use AutoRealm before calling JS::ReadableStreamGetMode(), r=jorendorff
...
Differential Revision: https://phabricator.services.mozilla.com/D23117
--HG--
extra : moz-landing-system : lando
2019-03-12 14:02:13 +00:00
Valentin Gosu
2f70f4be9d
Bug 1525036
- Respect CrossOriginPolicy in Fetch r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D21416
--HG--
extra : moz-landing-system : lando
2019-03-12 08:04:44 +00:00
Csoregi Natalia
d086070187
Backed out 5 changesets (bug 1525036
) for browser_httpCrossOriginHeader.js failures. CLOSED TREE
...
Backed out changeset 6717beb3ac53 (bug 1525036
)
Backed out changeset 0c05686bd62a (bug 1525036
)
Backed out changeset 502b0bb796cd (bug 1525036
)
Backed out changeset fa0363d33dbd (bug 1525036
)
Backed out changeset 6391f42aaa6d (bug 1525036
)
2019-03-09 02:39:11 +02:00
Valentin Gosu
a531a17e2a
Bug 1525036
- Respect CrossOriginPolicy in Fetch r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D21416
--HG--
extra : moz-landing-system : lando
2019-03-08 15:34:06 +00:00
Andrea Marchesini
8e20bbbc9a
Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 12 - nsICookieSettings for the channel creation, r=ckerschb,asuth,Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D21538
--HG--
extra : moz-landing-system : lando
2019-03-08 09:04:11 +00:00
Ciure Andrei
712dd2bb8c
Backed out 16 changesets (bug 1525245) for perma failing test_document_cookie.html CLOSED TREE
...
Backed out changeset 3fd27215698f (bug 1525245)
Backed out changeset d9a9e8e77873 (bug 1525245)
Backed out changeset 0e6f7be92e3f (bug 1525245)
Backed out changeset 6790802e2fa5 (bug 1525245)
Backed out changeset a5a9e01116ed (bug 1525245)
Backed out changeset 66e19a0c38dd (bug 1525245)
Backed out changeset fb90d51ba853 (bug 1525245)
Backed out changeset 4772db3625b3 (bug 1525245)
Backed out changeset 9affaf0cb998 (bug 1525245)
Backed out changeset a91b7ebe8bdd (bug 1525245)
Backed out changeset c2a13a7480e1 (bug 1525245)
Backed out changeset abe4482fa137 (bug 1525245)
Backed out changeset b3920c0bcf84 (bug 1525245)
Backed out changeset 0821b81f2724 (bug 1525245)
Backed out changeset 70bed2ad7899 (bug 1525245)
Backed out changeset 5f72ba232cc8 (bug 1525245)
2019-03-07 17:54:18 +02:00