Commit Graph

577919 Commits

Author SHA1 Message Date
Ben Kelly
a0b2fbfab0 Bug 1231211 P19 Make DevToolsUtils.newChannelForURL() set the loadingNode so that the SW controller is set on the channel. r=jryans 2018-01-23 10:38:54 -05:00
Ben Kelly
e95b043f8b Bug 1231211 P18 Make blob URL worker scripts inherit the parent's controller. r=asuth 2018-01-23 10:38:54 -05:00
Ben Kelly
d9fc56fabc Bug 1231211 P17 Fix test_sandbox_intercept.html to not use allow-same-origin attribute. r=asuth 2018-01-23 10:38:54 -05:00
Ben Kelly
6d79b8d92e Bug 1231211 P16 Expect to pass shared-worker-controlled.https.html now. r=asuth 2018-01-23 10:38:54 -05:00
Ben Kelly
a88ba0dac1 Bug 1231211 P15 Make xhr pass worker ClientInfo and ServiceWorkerDescriptor to NS_NewChannel(). r=asuth 2018-01-23 10:38:54 -05:00
Ben Kelly
ede8f70716 Bug 1231211 P14 Make fetch() pass worker ClientInfo and ServiceWorkerDescriptor to NS_NewChannel(). r=asuth 2018-01-23 10:38:54 -05:00
Ben Kelly
40376986e1 Bug 1231211 P13 Make worker ScriptLoader pass ClientInfo and ServiceWorkerDescriptor to NS_NewChannel() where appropriate. r=asuth 2018-01-23 10:38:54 -05:00
Ben Kelly
322046c942 Bug 1231211 P12 Allow the ClientInfo and ServiceWorkerDescriptor to be passed to NS_NewChannel() for principal based loads. r=valentin 2018-01-23 10:38:54 -05:00
Ben Kelly
132eba9966 Bug 1231211 P11 Add a StorageAllowedForChannel() and use it in ServiceWorkerInterceptController. r=asuth 2018-01-23 10:38:53 -05:00
Ben Kelly
70f338b679 Bug 1231211 P10 Move nsDocShell logic into separate ServiceWorkerInterceptController. r=asuth 2018-01-23 10:38:53 -05:00
Ben Kelly
1d94a9ebaa Bug 1231211 P9 Move logic out of nsDocShell::ChannelControlled() and into ServiceWorkerManager::DispatchFetchEvent(). r=asuth 2018-01-23 10:38:53 -05:00
Ben Kelly
bcb92a3fdd Bug 1231211 P8 Make nsDocShell::ShouldPrepareForIntercept() only depend on channel data. r=asuth 2018-01-23 10:38:53 -05:00
Ben Kelly
2dc82400a7 Bug 1231211 P7 Pass the nsIChannel to ShouldPrepareForIntercept(). r=asuth 2018-01-23 10:38:53 -05:00
Ben Kelly
1e076dddea Bug 1231211 P6 Automatically set the controller on the LoadInfo for subresource requests. r=asuth 2018-01-23 10:38:52 -05:00
Ben Kelly
c0ed8a4f53 Bug 1231211 P5 Add nsContentUtils::IsNonSubresourceInternalPolicyType() method. r=asuth 2018-01-23 10:38:52 -05:00
Ben Kelly
5a5a70b6f5 Bug 1231211 P4 Set isReload on LoadInfo in docshell. r=asuth 2018-01-23 10:38:52 -05:00
Ben Kelly
9225189e3a Bug 1231211 P3 Serialize LoadInfo's mClientInfo, mReservedClientInfo, and mReservedClientInfo members across IPC. r=valentin 2018-01-23 10:38:52 -05:00
Ben Kelly
8e535f8460 Bug 1231211 P2 Pass the controller ServiceWorkerDescriptor on the channel LoadInfo and back in PHttpChannel's OnStartRequest message. r=valentin 2018-01-23 10:38:52 -05:00
Ben Kelly
8d4bfc7c66 Bug 1231211 P1 Allow docshell reload state to be set on LoadInfo. r=valentin 2018-01-23 10:38:51 -05:00
Ryan VanderMeulen
b76790c074 Bug 1432174 - Allow ASAN fuzzing builds to use legacy and unsigned addons. r=froydnj 2018-01-23 10:19:23 -05:00
Ben Kelly
1a6be56766 Bug 1432272 Make Fetch API use the global's base URL instead of the entry document's base URL. r=bz
The fetch spec used to use the entry settings as the base for parsing relative
Request/Response URL's, but this is no longer the case.  This was changed in:

https://github.com/whatwg/fetch/issues/367

Update our code to match this behavior.  We basically convert GetEntryDocument()
to QI the global to nsGlobalWindowInner and use its ExtantDoc instead.

No changes are needed for workers since its not possible to perform cross-global
javascript access in worker threads.
2018-01-23 09:38:21 -05:00
Andrea Marchesini
fadb18e7bb Bug 1430997 - Rename nsINode::IndexOf to nsINode::ComputeIndexOf, r=me CLOSED TREE 2018-01-23 14:54:36 +01:00
Andrea Marchesini
85b163bc38 Bug 1430998 - Rename nsINode::InsertChildAt to InsertChildAt_Deprecated, r=catalinb 2018-01-23 14:30:18 +01:00
Andrea Marchesini
b8bb98af8c Bug 1430997 - Rename nsINode::IndexOf to nsINode::ComputeIndexOf, r=catalinb 2018-01-23 14:30:18 +01:00
Franziskus Kiefer
28c48ed8b7 Bug 1432177 - bump NSS version in old-configure.in
--HG--
extra : rebase_source : b206a2ce5351c46419807a8167a07b5311cb3647
2018-01-23 11:52:03 +01:00
Franziskus Kiefer
cdd881cf58 Bug 1432177 - land NSS 10f7e0179b18 UPGRADE_NSS_RELEASE, r=me
--HG--
extra : rebase_source : 73060b7dd79b86f22b4f53d2d3491266b1968904
2018-01-23 11:48:27 +01:00
Jon Coppeard
3bdf7ef24a Bug 1382020 - Don't preload nomodule scripts when modules are enabled r=hsivonen 2018-01-23 13:07:37 +00:00
Christoph Kerschbaumer
16dba8baf1 Bug 1432137 - Add test to verify insecure redirects to data: URIs are blocked for script modules. r=jonco 2018-01-23 14:04:21 +01:00
Benjamin Bouvier
f0075796d0 Bug 1431669: Follow up to fix build bustage on a CLOSED TREE; r=me
NoTypePolicy actually can't be used in a MixPolicy; revert this change.

MozReview-Commit-ID: 2BgZ3yNh8CP

--HG--
extra : rebase_source : 32615ccdc3181d60ff345e308ef63fa17362d043
2018-01-23 12:24:15 +01:00
Dan Minor
cf2b991775 Bug 1393119 - Remove webrtc gyp files; r=jesup
This removes the gyp files to build webrtc. It looks like part of Bug 1371485 is
to vendor gyp elsewhere in tree at which time we can complete cleaning this up.

MozReview-Commit-ID: 8MqatafniN5

--HG--
extra : rebase_source : 372440bdf73290e268d0a5318cb2c16ecfefcd2a
2017-12-19 09:21:03 -05:00
Dan Minor
63330c4c65 Bug 1393119 - Add generated files; r=jesup
MozReview-Commit-ID: 379Yq1cIQyD

--HG--
extra : rebase_source : 8865b2d88031c9ead9dbbd77cbaf762c515fae00
2017-12-01 12:44:51 -05:00
Dan Minor
28d0aa7c68 Bug 1393119 - Update gn files for mozilla build; r=jesup
MozReview-Commit-ID: KRaCt8uvTJH

--HG--
extra : rebase_source : 8c73406fb78c01d91e94bd1d8b3bffc03a28ff45
2017-07-27 13:04:25 -04:00
Dan Minor
1b50620f9c Bug 1393119 - Add webrtc.org trunk/build/ files to support gn build; r=jesup
MozReview-Commit-ID: KaupPBeJucK

--HG--
extra : rebase_source : d721dfdc6d4ec298291ff32d0e49ea33d25eeca1
2017-07-27 12:42:30 -04:00
Chris Manchester
a86c71dab3 Bug 1393119 - Add webrtc gn build config; r=dminor
MozReview-Commit-ID: FIPjkDWwAQx

--HG--
extra : rebase_source : de81c0f2a9a0d3c4406361a52076df8134771202
2017-11-29 11:18:44 -08:00
Benjamin Bouvier
1b5c4219fa Bug 1431669: Rename MToInt32 to MToNumberInt32; r=jandem
MozReview-Commit-ID: 2dBlzxvdZJG

--HG--
extra : rebase_source : d991723153c4ce75fe1452c35a169d39ab0ab60a
extra : histedit_source : a201fc080a4a27ca0f954498ee140664b08301f8
2018-01-19 11:38:56 +01:00
Benjamin Bouvier
ab1addf228 Bug 1431669: Comment the difference between MToInt32 and MTruncateToInt32 more precisely; r=jandem
MozReview-Commit-ID: H9M2gWte8jq

--HG--
extra : rebase_source : cd3976f97cd96f534a55887883865114e169e9aa
extra : histedit_source : ff3f0d1f984f2883cb08d4e987328af53ccc06f5
2018-01-19 11:25:09 +01:00
Benjamin Bouvier
b7acb08dbe Bug 1431669: Rename IntPolicy to UnboxedInt32Policy; r=nbp
MozReview-Commit-ID: CCSnQg7uo2p

--HG--
extra : rebase_source : f1f5c9540d52ce609fec24b8e5377f751deb364f
extra : histedit_source : aea144f284aa17412eb276dd69a61a1abc179e21
2018-01-19 11:08:03 +01:00
Daniel Stenberg
3d74499ee4 bug 1432150 - restore rcwn pref after test_immutable.js test complete, r=mcmanus
The test previously only switched off the pref and didn't restore the
old value when done.

--HG--
extra : rebase_source : 87a769b3148f17b74f98c343743039b8d0d265c2
2018-01-22 05:35:00 +02:00
Dragana Damjanovic dd.mozilla@gmail.com
cab6643096 Bug 1431738 - We will disable TFO on late beta and release. r=jduell
--HG--
extra : rebase_source : e38c9cb32b70b5d17b809d3ece01a1bef637b5ee
2018-01-19 05:57:00 +02:00
Jon Coppeard
d4526d2471 Bug 1431353 - Regoranise the shell interface to off-thread parsing to allow concurrent off-thread parse jobs r=luke 2018-01-23 10:36:35 +00:00
Jon Coppeard
d46c20f6fe Bug 1431353 - Remove limit on number of threads used for off-thread parsing r=luke 2018-01-23 10:35:58 +00:00
Dorel Luca
8d70b7215d Merge mozilla-central to mozilla-inbound r=merge 2018-01-23 12:14:02 +02:00
Dorel Luca
4b9ccdb392 Merge mozilla-inbound to mozilla-central r=merge a=merge 2018-01-23 12:02:17 +02:00
Gregory Szorc
bf2bef2b5b Bug 1399679 - Add a version string to cache names; r=glandium
So we can change a string in this file to force the use of new caches,
thus ensuring a clean break from one changeset to the next.

MozReview-Commit-ID: EZsR23a1PZE

--HG--
extra : amend_source : bf6a3c53ab14f2eb249fdf57ff70dce97388f0a0
2018-01-22 22:08:33 -08:00
Mike Hommey
cab7cc1091 Bug 1431314 - Update clang 3.9 and 5.0 toolchains. r=froydnj
Respectively to 3.9.1 and 5.0.1
2018-01-23 13:48:05 +09:00
Mike Hommey
4ddb944ee0 Bug 1399679 - Use debian7-*-build instead of desktop-build. r=gps
Switch almost all builds currently using the desktop-build image to use
the right debian7-*-build image instead. The only exception is the rust
bindgen spidermonkey builds, that require cmake being installed, but I
don't want to add it to the base images because that involves risking a
cmake dependency unwantedly slipping in Firefox (rust-bindgen ironically
requires cmake to build a single C++ file...)
2018-01-23 13:14:18 +09:00
Timothy Nikkel
3af81f80fc Bug 1414825. Use a shutdown observer to release the gfx resources of ImageBitmaps. r=kaku,nical 2018-01-22 21:38:45 -06:00
Kris Maglione
5c6644bdb6 Bug 1393270: Follow-up: Fix debug test bustage. r=bustage CLOSED TREE
MozReview-Commit-ID: 1R4BDt1lDNz

--HG--
extra : rebase_source : c59bdb6ecdf2e62e78fd9434b5ff4e864b671b0d
extra : amend_source : 44717b391ac819132080131dc783002ca6fda18b
2018-01-22 18:59:09 -08:00
Matthew Noorenberghe
136f27d589 Bug 1429278 - Follow-up to fix test for case change. r=bustage
CLOSED TREE

--HG--
extra : amend_source : 0836e7f40128ca94d3b8961ad1ef4d9f21221d24
2018-01-22 18:19:01 -08:00
Jeffrey Tran
5e0d50bd97 Bug 1064821 - Throw proper exceptions in contentprefs. r=yoric
CLOSED TREE

--HG--
extra : amend_source : 6ef090a73843d91f8f9459fc1f98e3f7733ceb15
extra : histedit_source : 9a19db31c969ba822c02a97a0de63259e4329069
2018-01-22 18:15:38 -08:00