Nicholas Nethercote
ca40b738e4
Bug 1294620 - Use infallible XPIDL attribute getters more. r=erahm.
...
This makes a lot of code more compact, and also avoids some redundant nsresult
checks.
The patch also removes a handful of redundant checks on infallible setters.
--HG--
extra : rebase_source : f82426e7584d0d5cddf7c2524356f0f318fbea7d
2016-08-12 15:19:29 +10:00
Nicholas Nethercote
e7f10a07fd
Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm.
...
This patch makes most Run() declarations in subclasses of nsIRunnable have the
same form: |NS_IMETHOD Run() override|.
As a result of these changes, I had to add |override| to a couple of other
functions to satisfy clang's -Winconsistent-missing-override warning.
--HG--
extra : rebase_source : 815d0018b0b13329bb5698c410f500dddcc3ee12
2016-08-08 12:18:10 +10:00
Tom Tromey
5538d692d3
Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
...
This removes the unnecessary setting of c-basic-offset from all
python-mode files.
This was automatically generated using
perl -pi -e 's/; *c-basic-offset: *[0-9]+//'
... on the affected files.
The bulk of these files are moz.build files but there a few others as
well.
MozReview-Commit-ID: 2pPf3DEiZqx
--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Thomas Nguyen
d90a1c6522
Bug 1264164 - Support Referrer Policy HTTP header. r=jdm
...
MozReview-Commit-ID: GANRqgAZQ5C
2016-07-19 15:38:26 +08:00
Kannan Vijayan
84798b84de
Bug 1287163 - Remove over-strict asserts in InternalResponse IPC code. r=sicking
2016-07-18 13:01:00 -04:00
Nicholas Nethercote
2ebfc5116b
Bug 1197973 - Use MOZ_MUST_USE in AutoJSAPI. r=bz.
2016-07-14 13:18:11 +10:00
Ben Kelly
548ebdbbc0
Bug 1285502 P1 Make InternalRequest::GetRequestConstructorCopy() copy the referrer per the spec. r=asuth
2016-07-11 12:25:54 -07:00
Thomas Nguyen
64fdf9d702
Bug 1251378 - Use referrer policy of worker instead of default. r=ehsan
...
MozReview-Commit-ID: I8X8nMkaS9V
2016-04-01 11:52:28 +08:00
Andi-Bogdan Postelnicu
e432d12243
Bug 1282408 - add ignore initialization check flag for variables from InternalRequest. r=jst
...
MozReview-Commit-ID: Fc3IlwHO3jY
2016-06-30 10:05:00 +03:00
Andrea Marchesini
6209c0d90e
Bug 1269161 - Remove the separate worker bindings for URL, r=khuey
2016-06-29 07:43:44 +02:00
Andrea Marchesini
aac2306f2c
Bug 1269154 - Get rid of WorkerFeature: WorkerHolder, r=khuey
...
--HG--
rename : dom/cache/Feature.cpp => dom/cache/CacheWorkerHolder.cpp
rename : dom/cache/Feature.h => dom/cache/CacheWorkerHolder.h
rename : dom/workers/WorkerFeature.h => dom/workers/WorkerHolder.h
2016-06-23 10:53:14 +02:00
Carsten "Tomcat" Book
47aeb86e2c
Backed out changeset 1c5d78c7ba43 (bug 1269154) for bustage on a CLOSED TREE
...
--HG--
rename : dom/cache/CacheWorkerHolder.cpp => dom/cache/Feature.cpp
rename : dom/cache/CacheWorkerHolder.h => dom/cache/Feature.h
rename : dom/workers/WorkerHolder.h => dom/workers/WorkerFeature.h
extra : rebase_source : 49f9e9ce0500ac441fe97878cf9308804926544f
2016-06-23 10:13:54 +02:00
Andrea Marchesini
45087a7970
Bug 1269154 - Get rid of WorkerFeature: WorkerHolder, r=khuey
...
--HG--
rename : dom/cache/Feature.cpp => dom/cache/CacheWorkerHolder.cpp
rename : dom/cache/Feature.h => dom/cache/CacheWorkerHolder.h
rename : dom/workers/WorkerFeature.h => dom/workers/WorkerHolder.h
2016-06-22 17:24:35 +02:00
Christoph Kerschbaumer
19ac7d31c1
Bug 1274170 - Remove unnecessary includes of nsCorsListenerProxy. r=jkingston
...
--HG--
extra : rebase_source : 488864e497a7e6c127a98e05efd17d1d0580e000
2016-06-21 12:54:03 +02:00
Jarda Snajdr
b57da2dc12
Bug 1278778 - Show JS stack traces of Fetch requests in Netmonitor r=bkelly
2016-06-14 04:08:00 +01:00
Jonathan Watt
b15368cfcb
Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky
2016-06-07 21:10:18 +01:00
Andrew Sutherland
af016de2cb
Bug 1272436 - P0: Implement "only-if-cached" RequestCache mode. r=mayhemer, r=bkelly, r=bzbarsky for WebIDL change
...
The fetch spec has re-introduced "only-if-cached" mode which loads only from
the cache. There are privacy implications to this so for the time being it
is required that "same-origin" mode is used.
2016-06-08 12:10:15 -04:00
Andrea Marchesini
43a1cd6c16
Bug 1277226 - Implement MainThreadWorkerRunnable, r=sicking
2016-06-08 07:12:05 +02:00
Jonas Sicking
4ab94e9f20
Bug 1263991 part 4: Support response body. r=bkelly
2016-06-07 02:46:03 -07:00
Jonas Sicking
64a8f66145
Bug 1263991 part 3: Support incoming and outgoing requests/responses. r=baku f=bkelly
2016-06-07 02:46:03 -07:00
Carsten "Tomcat" Book
a62eba3cef
Backed out changeset 5853ea69f6c4 (bug 1263991)
2016-06-07 12:10:27 +02:00
Carsten "Tomcat" Book
493f097700
Backed out changeset 9be76aad30b1 (bug 1263991)
2016-06-07 12:10:26 +02:00
Jonas Sicking
c867263f70
Bug 1263991 part 4: Support response body. r=bkelly
2016-06-07 02:46:03 -07:00
Jonas Sicking
e6c14cd4ed
Bug 1263991 part 3: Support incoming and outgoing requests/responses. r=baku f=bkelly
2016-06-07 02:46:03 -07:00
Jonas Sicking
32162d33c2
Bug 1273279 - Changes in preparation for FlyWeb landing. Change InternalResponse handling to track body size. r=baku f=bkelly
...
--HG--
extra : amend_source : 257331b8f4b86d6e1c7608ca6866526ce6aa645a
2016-06-01 17:02:29 -04:00
Ben Kelly
f671f48c5d
Bug 1273070 P1 Fix fetch() WorkerRunnable classes to allow it to work with nested Workers. r=khuey
2016-05-19 11:39:13 -07:00
Ben Kelly
23a521f80e
Bug 1271493 Dispatch fetch control runnable even in opt builds. r=mccr8
2016-05-11 07:42:05 -07:00
Ben Kelly
45e5796248
Backout 212d1af61570 (bug 1271493) for winxp bustage. r=me
2016-05-10 17:38:39 -07:00
Ben Kelly
4fcf10742d
Bug 1271493 Dispatch fetch control runnable even in opt builds. r=mccr8
2016-05-10 16:43:17 -07:00
Tom Tung
842431d95a
Bug 1243792 - P1 implement response.redirected - Fetch API & Cache API & ServiceWorker changed. r=bkelly, r=baku.
...
--HG--
extra : rebase_source : 29ec29361738c6d2446b410a98bd4876a689ce99
2016-05-03 09:48:40 +08:00
Carsten "Tomcat" Book
a993b36b4a
Backed out changeset dc42de66de8c (bug 1243791) landing with wrong bug number
...
--HG--
extra : rebase_source : b016defba5a12065b401d0d59b3f03e8b1d7cbe1
2016-05-10 12:50:15 +02:00
Tom Tung
15b89607c6
Bug 1243791 - P1 implement response.redirected - Fetch API & Cache API & ServiceWorker changed. r=bkelly, r=baku.
2016-05-03 09:48:40 +08:00
Ben Kelly
4951f23f02
Bug 1270161 Make fetch() use a control runnable to cleanup if the worker thread is shutting down. r=baku
2016-05-05 13:02:27 -07:00
Kyle Huey
941ab1f522
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-05-05 01:45:00 -07:00
Andrea Marchesini
513590a1ac
Bug 1267904 - Add telemetry for WorkerMainThreadRunnable, r=khuey
2016-05-03 09:09:47 +02:00
Carsten "Tomcat" Book
ba3fe0975c
Backed out changeset 85ce8cb0639a (bug 1268313)
...
--HG--
extra : rebase_source : 56d1cf41a2dc4959b67f834e07192a5c772176a8
2016-04-29 14:21:16 +02:00
Kyle Huey
48a594a09e
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-04-28 14:08:25 -07:00
Kyle Huey
c73656947b
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
Ehsan Akhgari
756a1054f9
Bug 1265941 - Rename the ReferrerPolicy "origin-only" enum value to "origin"; r=jdm
2016-04-20 14:21:34 -04:00
Stone Shih
aa7c2fc2bd
Bug 1240436 - Part1: Convert UTF16 to UTF8 before generating nsStringInputStream. r=khuey
2016-04-12 16:33:53 +08:00
Marcos Caceres
f7ad23868a
Bug 1250048 - CSP manifest-src doesn't override default-src. r=ckerschb,bkelly,ehsan
...
MozReview-Commit-ID: Ceu3sYUcML4
2016-04-07 14:13:09 -07:00
Kyle Huey
d9265a3eaf
Bug 1259294: Part 2 - Use MOZ_ALWAYS_SUCCEEDS. r=froydnj
2016-03-28 10:28:15 -07:00
Kyle Huey
fe5f7b4105
Bug 1259290
: Part 5 - Remove the cx from WorkerFeature::Notify. r=bz
2016-03-28 10:28:14 -07:00
Wes Kocher
fe9aec58c3
Backed out changeset 1d5e6c22fd3a (bug 1250048) for CSP failures/assertions in various tests/chunks CLOSED TREE
...
MozReview-Commit-ID: I21ELiYYqdD
--HG--
extra : amend_source : 83d8554e6046153a3cf16ffefed7d6602e822241
2016-03-21 12:42:36 -07:00
Marcos Caceres
2e3ca60562
Bug 1250048 - CSP manifest-src doesn't override default-src. r=ckerschb
...
--HG--
extra : rebase_source : 1f8a65dcb9ea909588991cd5e8970560c3651426
2016-03-20 23:24:00 -04:00
Shawn Huang
582371f54e
Bug 918706 - Return NS_ERROR_DOM_SYNTAX_ERR if method is invalid, r=khuey
2016-03-17 15:29:42 +08:00
Ehsan Akhgari
24fbc15619
Bug 1120715 - Part 6: Remove the dom.requestcache.enabled pref; r=bkelly
2016-03-11 14:40:53 -05:00
Ehsan Akhgari
a014521971
Bug 1120715 - Part 5: Treat a default cache mode Request with a revalidation header as no-store; r=bkelly
2016-03-11 14:40:49 -05:00
Ehsan Akhgari
b70a0ad138
Bug 1120715 - Part 3: Connect the Necko level cache mode parameter with the Request cache mode variable; r=bkelly
2016-03-11 14:40:41 -05:00
Eric Rahm
ec9877219e
Bug 1253054 - Stop warning if request has already failed. r=bkelly
2016-03-11 11:18:07 -08:00