Florian Quèze
2b1c8dccb6
Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop.
2018-02-01 20:45:22 +01:00
Luke Crouch
c95e646b6b
Bug 587523: update Fetch API referrer to check for private browsing pref r=valentin
...
MozReview-Commit-ID: 2DFYcWuXfnn
--HG--
extra : rebase_source : 05bf93b54e25ea7962379a6b6b51c46d73d660b6
2018-01-16 15:26:26 -06:00
Luke Crouch
111ae8a75d
Bug 587523 - rename referer.userControlPolicy to referer.defaultPolicy r=valentin
...
MozReview-Commit-ID: A2hkYfdTCR9
--HG--
extra : rebase_source : 6d3775da80338b66eee44f13ba177f29933dd114
2018-01-10 16:51:10 -06:00
Tom Tung
3fe83efbf0
Bug 1222008 - P3: Fix the test_fetch_basic_http_sw_reroute.html since we decide to propagate the response's URLs to the content. r=bkelly
...
Correct the redirected URL if it's hijacked by a service worker.
--HG--
extra : rebase_source : ab7afd6a8c083cc306022738720a6378935b1645
2017-11-03 10:39:07 +08:00
Edouard Oger
6341dc253c
Bug 1419146 - Respect mozErrors in Request. r=bkelly
...
MozReview-Commit-ID: Lbx395q7BYF
--HG--
extra : rebase_source : 9928a998378b4f84914f0b45ebb2266f34b04230
2017-11-20 17:07:26 -05:00
Edouard Oger
ee0f18811d
Bug 1416842 - Allow fetch to reject with nsresult in chrome code. r=bkelly
...
MozReview-Commit-ID: FD2NUJZtAhT
--HG--
extra : rebase_source : cff033ea3d7e9581112392e7725290819fbec18b
2017-11-15 14:53:42 -05:00
Luke Wagner
cf897d6fcb
Bug 1347644 - Baldr: implement ConsumeStreamCallback in browser (r=bkelly)
...
MozReview-Commit-ID: DXv2MegefDw
--HG--
extra : rebase_source : aca4d6e40ae9af03e05520ec8bdef92889e44acc
2017-10-10 14:41:24 -05:00
Andrea Marchesini
04cd5ddc32
Bug 1402317 - Remove dom.abortController.enabled and dom.abortController.fetch.enabled prefs, r=qdot
2017-09-27 03:50:46 +02:00
Andrea Marchesini
4753d050bd
Bug 1396848 - Iterating a Header object returns sorted and combined values, r=qdot
2017-09-17 11:18:20 +02:00
Andrea Marchesini
ec603f10be
Bug 1381748 - Cleanup FetchConsumer workflow - part 3 - shutdown workflow, r=catalinb
2017-09-04 17:06:47 +02:00
Andrea Marchesini
1fbe4316ad
Bug 1395006 - Use preferences to enable Abort API for testing in release. r=qdot
...
--HG--
rename : dom/tests/mochitest/fetch/slow.sjs => dom/abort/tests/slow.sjs
extra : rebase_source : 8bb35c3f2f92a06bebaba181d29c903d38deb40a
2017-08-29 23:09:00 -04:00
Andrea Marchesini
186795d3eb
Bug 1378342 - AbortSignal/AbortController - part 2 - Renaming FetchController/FetchSignal, r=bkelly
...
--HG--
rename : dom/abort/FetchController.cpp => dom/abort/AbortController.cpp
rename : dom/abort/FetchController.h => dom/abort/AbortController.h
rename : dom/abort/FetchSignal.cpp => dom/abort/AbortSignal.cpp
rename : dom/abort/FetchSignal.h => dom/abort/AbortSignal.h
rename : dom/abort/tests/file_fetch_controller.html => dom/abort/tests/file_abort_controller.html
rename : dom/abort/tests/test_fetch_controller.html => dom/abort/tests/test_abort_controller.html
rename : dom/abort/tests/worker_fetch_controller.js => dom/abort/tests/worker_abort_controller.js
rename : dom/webidl/FetchController.webidl => dom/webidl/AbortController.webidl
rename : dom/webidl/FetchSignal.webidl => dom/webidl/AbortSignal.webidl
2017-08-29 11:31:06 +02:00
Andrea Marchesini
bf4a05e410
Bug 1378342 - AbortSignal/AbortController - part 1 - Moving FetchController/FetchSignal into dom/abort, r=bkelly
...
--HG--
rename : dom/fetch/FetchController.cpp => dom/abort/FetchController.cpp
rename : dom/fetch/FetchController.h => dom/abort/FetchController.h
rename : dom/fetch/FetchSignal.cpp => dom/abort/FetchSignal.cpp
rename : dom/fetch/FetchSignal.h => dom/abort/FetchSignal.h
rename : dom/tests/mochitest/fetch/file_fetch_controller.html => dom/abort/tests/file_fetch_controller.html
rename : dom/tests/mochitest/fetch/test_fetch_controller.html => dom/abort/tests/test_fetch_controller.html
rename : dom/tests/mochitest/fetch/worker_fetch_controller.js => dom/abort/tests/worker_fetch_controller.js
2017-08-29 11:31:05 +02:00
Sebastian Hengst
784834cf76
Backed out changeset 81c100a42bb6 (bug 1378342) for linting failures, e.g. in file_abort_controller.html. r=backout
...
--HG--
rename : dom/abort/FetchController.cpp => dom/fetch/FetchController.cpp
rename : dom/abort/FetchController.h => dom/fetch/FetchController.h
rename : dom/abort/FetchSignal.cpp => dom/fetch/FetchSignal.cpp
rename : dom/abort/FetchSignal.h => dom/fetch/FetchSignal.h
rename : dom/abort/tests/file_fetch_controller.html => dom/tests/mochitest/fetch/file_fetch_controller.html
rename : dom/abort/tests/test_fetch_controller.html => dom/tests/mochitest/fetch/test_fetch_controller.html
rename : dom/abort/tests/worker_fetch_controller.js => dom/tests/mochitest/fetch/worker_fetch_controller.js
2017-08-29 09:17:57 +02:00
Sebastian Hengst
ffe4336403
Backed out changeset e5c6f95530f2 (bug 1378342)
...
--HG--
rename : dom/abort/AbortController.cpp => dom/abort/FetchController.cpp
rename : dom/abort/AbortController.h => dom/abort/FetchController.h
rename : dom/abort/AbortSignal.cpp => dom/abort/FetchSignal.cpp
rename : dom/abort/AbortSignal.h => dom/abort/FetchSignal.h
rename : dom/abort/tests/file_abort_controller.html => dom/abort/tests/file_fetch_controller.html
rename : dom/abort/tests/test_abort_controller.html => dom/abort/tests/test_fetch_controller.html
rename : dom/abort/tests/worker_abort_controller.js => dom/abort/tests/worker_fetch_controller.js
rename : dom/webidl/AbortController.webidl => dom/webidl/FetchController.webidl
rename : dom/webidl/AbortSignal.webidl => dom/webidl/FetchSignal.webidl
2017-08-29 09:17:21 +02:00
Andrea Marchesini
9b66f91da8
Bug 1378342 - AbortSignal/AbortController - part 2 - Renaming FetchController/FetchSignal, r=bkelly
...
--HG--
rename : dom/abort/FetchController.cpp => dom/abort/AbortController.cpp
rename : dom/abort/FetchController.h => dom/abort/AbortController.h
rename : dom/abort/FetchSignal.cpp => dom/abort/AbortSignal.cpp
rename : dom/abort/FetchSignal.h => dom/abort/AbortSignal.h
rename : dom/abort/tests/file_fetch_controller.html => dom/abort/tests/file_abort_controller.html
rename : dom/abort/tests/test_fetch_controller.html => dom/abort/tests/test_abort_controller.html
rename : dom/abort/tests/worker_fetch_controller.js => dom/abort/tests/worker_abort_controller.js
rename : dom/webidl/FetchController.webidl => dom/webidl/AbortController.webidl
rename : dom/webidl/FetchSignal.webidl => dom/webidl/AbortSignal.webidl
2017-08-29 07:30:19 +02:00
Andrea Marchesini
ac5b9df285
Bug 1378342 - AbortSignal/AbortController - part 1 - Moving FetchController/FetchSignal into dom/abort, r=bkelly
...
--HG--
rename : dom/fetch/FetchController.cpp => dom/abort/FetchController.cpp
rename : dom/fetch/FetchController.h => dom/abort/FetchController.h
rename : dom/fetch/FetchSignal.cpp => dom/abort/FetchSignal.cpp
rename : dom/fetch/FetchSignal.h => dom/abort/FetchSignal.h
rename : dom/tests/mochitest/fetch/file_fetch_controller.html => dom/abort/tests/file_fetch_controller.html
rename : dom/tests/mochitest/fetch/test_fetch_controller.html => dom/abort/tests/test_fetch_controller.html
rename : dom/tests/mochitest/fetch/worker_fetch_controller.js => dom/abort/tests/worker_fetch_controller.js
2017-08-29 07:30:19 +02:00
Andrea Marchesini
76f69afc03
Bug 1128959 - Implement the WHATWG Streams spec - part 15 - setting the correct global when ReadableStream.getReader() is called, r=bz
2017-08-10 18:04:56 -07:00
Andrea Marchesini
60f0e12e3d
Bug 1128959 - Implement the WHATWG Streams spec - part 14 - cross-compartment tests, r=bz
2017-08-10 18:04:56 -07:00
Andrea Marchesini
da90cb5c31
Bug 1128959 - Implement the WHATWG Streams spec - part 13 - testing ReadableStream with more than 1mb of data, r=bkelly
2017-08-10 18:04:55 -07:00
Andrea Marchesini
cb3c4dda07
Bug 1128959 - Implement the WHATWG Streams spec - part 12 - starting body consuming and passing the JSContext down from the binding entrypoints to where the ReadableStream could be read, r=bz
...
This patch does 2 things:
. when SetBodyUsed() is called, the pump for the stream reading is activated.
. Just because of the reading of the stream could end up executing JS code, we
need to pass the JSContext in the correct state down to SetBodyUsed.
2017-08-10 18:04:55 -07:00
Andrea Marchesini
4928cd7694
Bug 1128959 - Implement the WHATWG Streams spec - part 11 - add some stream mochitests r=bkelly
2017-08-10 18:04:55 -07:00
Andrew Sutherland
9138402fac
Bug 1374943 - Fetch needs to handle redirect=error not resulting in NS_FAILED. r=bkelly
...
The included test crashes without the included fix if run with --disable-e10s.
e10s doesn't crash because HttpChannelChild examines the return value of the
call to the listener's OnStartRequest method and invokes Cancel() if it
NS_FAILED. This is a divergence between e10s and non-e10s. See the bug for
more details and discussion.
--HG--
extra : rebase_source : 9da386b0f1c0b349728170b301f62b0175c2c571
2017-06-21 08:28:34 -04:00
Ben Kelly
979733b37f
Bug 1364276 Wait for service worker to activate before proceeding in tests. r=asuth
2017-05-15 06:22:20 -07:00
Ben Kelly
5fecc78f44
Bug 1361722 Remove bogus document.write() from test_formdataparsing.js. r=jdm
2017-05-03 13:51:19 -07:00
Tom Tung
b737881864
Bug 1330297 - Part 3: Update mochitests to align with spec since we normalize value before checking and throwing. r=baku
2017-04-12 10:44:52 +08:00
Joel Maher
59b23525ff
Bug 1325942 - disable two tests in asan for leaks. r=RyanVM
...
MozReview-Commit-ID: AnkQlsyoNw
2017-04-14 16:25:25 -04:00
Catalin Badea
d9085a7d38
Bug 1325942 - Fix test_fetch_cors_sw_empty_reroute.html. r=ehsan
...
MozReview-Commit-ID: HyT8APTWxN1
2017-03-29 01:49:00 +08:00
Tom Tung
3a17b5eae0
Bug 1346313 - Part 3: Update mochitests since we change the format for combined value. r=baku
2017-04-11 18:32:23 +08:00
Ryan VanderMeulen
468cc2b92a
Backed out changeset 167d391cabb9 (bug 1325942) for LSAN leaks.
...
--HG--
extra : rebase_source : d05f26c60198af3cf41e7333e06fa0326bc25f7a
2017-04-06 13:08:28 -04:00
Catalin Badea
fce9859c14
Bug 1325942 - Fix test_fetch_cors_sw_empty_reroute.html. r=ehsan
2017-03-29 01:49:00 +08:00
Andrea Marchesini
0ef3f36c49
Bug 1341738 - Implement FetchController and FetObserver - part 5 - Dispatching observer events, r=bkelly
2017-03-22 11:07:27 +01:00
Andrea Marchesini
cd6bd71606
Bug 1341738 - Implement FetchController and FetObserver - part 4 - FetchObserver WebIDL, r=bkelly
2017-03-22 11:06:23 +01:00
Andrea Marchesini
e6ad00d782
Bug 1341738 - Implement FetchController and FetObserver - part 3 - FetchSignal in Fetch API, r=bkelly
2017-03-22 11:06:08 +01:00
Andrea Marchesini
d80fbab759
Bug 1341738 - Implement FetchController and FetObserver - part 2 - Follow/Unfollow, r=bkelly
2017-03-22 11:05:10 +01:00
Andrea Marchesini
8552a5e7ba
Bug 1341738 - Implement FetchController and FetObserver - part 1 - FetchController in WebIDL, r=bkelly
2017-03-22 11:04:57 +01:00
Andrea Marchesini
9d68a92efe
Bug 1298823 - Make Request constructor throw less often, r=qdot
2017-03-01 11:44:38 +01:00
Masatoshi Kimura
7be7b11a1c
Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher
...
This patch is generated by the following sed script:
find . ! -wholename '*/.hg*' -type f \( -iname '*.html' -o -iname '*.xhtml' -o -iname '*.xul' -o -iname '*.js' \) -exec sed -i -e 's/\(\(text\|application\)\/javascript\);version=1.[0-9]/\1/g' {} \;
MozReview-Commit-ID: AzhtdwJwVNg
--HG--
extra : rebase_source : e8f90249454c0779d926f87777f457352961748d
2017-02-23 06:10:07 +09:00
Ben Kelly
33a49b42bf
Bug 1338304 P2 Add a test that verifies fetch() rejects if a redirect is CSP blocked. r=ckerschb
2017-02-14 10:06:38 -05:00
Florian Quèze
85611a7b6d
Bug 1331081
- script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
...
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Thomas Nguyen
d1229b6f90
Bug 1304623 - Create a pref to control the default referrer policy - part 1. r=bkelly
...
MozReview-Commit-ID: 6R7kLB6jvhP
2017-01-05 11:30:07 +08:00
André Bargull
8843a98210
Bug 1319936 - Remove String generics uses in dom. r=billm
...
--HG--
extra : rebase_source : f2b40e5d4a423035d2de8739570a76305a058cf0
2016-11-24 13:17:00 -08:00
Tom Tung
a63de77d6a
Bug 1264178 - Part 1: Expose URL fragment to request but not response. r=bkelly
...
--HG--
extra : rebase_source : ee0cac184ac64b1fa9185f912753f10b61a55383
2016-11-07 10:16:34 +08:00
Sebastian Hengst
41d0a78bc2
Bug 1310297 - Remove test annotations using b2g, mulet or gonk: dom/tests. r=RyanVM
...
MozReview-Commit-ID: 83L2jqWhzZe
--HG--
extra : rebase_source : 58c7339e13a0abdb3da2c6ccd2dc424b51869b08
2016-11-05 11:29:18 +01:00
Andrea Marchesini
2ba4b94b43
Bug 1312410 - Tests for Fetch API + MutableBlobStorage, r=qdot
2016-10-26 09:08:09 +02:00
Saurabh Singhal
0a5645d30d
Bug 1278275 - Update Headers::GetAll and Headers::Get to match the specification. r=jdm, r=bkelly
2016-10-10 22:50:14 +05:30
Ehsan Akhgari
9de6bbbaec
Bug 1261019 - Part 3: Remove Navigator.mozApps and code depending on it; r=myk,jryans,fabrice,mcmanus,peterv
2016-10-13 13:18:41 -04:00
Fabrice Desré
7846da76d6
Bug 1287107 - Making transition alive with gaia as chrome:// r=bholley,fabrice
...
MozReview-Commit-ID: 9uVUrmuVFXQ
--HG--
extra : rebase_source : 20f6f0235667530c21aca4889b5d33e39c2d1a48
2016-03-03 09:58:47 -08:00
Carsten "Tomcat" Book
c7846e126c
Backed out changeset 16aa7041c009 (bug 1287107) for causing xpcshell and mac tests
2016-07-22 11:30:23 +02:00
Fabrice Desré
f5b619fb28
Bug 1287107 - Making transition alive with gaia as chrome:// r=bholley,fabrice
...
MozReview-Commit-ID: 9uVUrmuVFXQ
--HG--
extra : rebase_source : d0c19fcda5c72ecdce3b0d0bbbafa5a7954d7a4c
2016-03-03 09:58:47 -08:00