Commit Graph

624622 Commits

Author SHA1 Message Date
Andrea Marchesini
a0e598311a Bug 1438945 - Part 7: SharedWorker can be intercepted by a ServiceWorker. r=asuth
--HG--
extra : rebase_source : 6b6f6790aded240ce94aefce35fcc915b40b98dd
2018-11-19 15:18:32 -08:00
Andrea Marchesini
dbb1bf7e31 Bug 1438945 - Part 6: CSP via IPC. r=ckerschb
--HG--
extra : rebase_source : 8ea27a931619ec0bf75035039c9b4d66d23d7e70
2018-11-19 15:18:21 -08:00
Andrea Marchesini
fd9ee3b364 Bug 1438945 - Part 5: SharedWorker browser test. r=asuth
--HG--
extra : rebase_source : 065a7528393499225a0da4206f22a7638c534bea
2018-11-19 15:18:21 -08:00
Andrea Marchesini
9c8f8ff9cc Bug 1438945 - Part 4: errors and communications. r=asuth
--HG--
extra : rebase_source : a73007e48d52c47c698dd2545ae4d61806a3ab53
2018-11-19 15:18:21 -08:00
Andrea Marchesini
0640b7884f Bug 1438945 - Part 3: SharedWorkerService and SharedWorkerManager. r=asuth
--HG--
extra : rebase_source : d6b247d0c6a1eb4074010c8b6baaff9fc1e01d87
2018-11-19 15:18:21 -08:00
Andrea Marchesini
1bf562b370 Bug 1438945 - Part 2: PSharedWorker protocol. r=asuth
--HG--
extra : rebase_source : 1ec6d2c9fc8dcffb9aa4958d81784408090df534
2018-11-19 15:18:20 -08:00
Andrea Marchesini
b0cbc4dcf9 Bug 1438945 - Part 1: Moving SharedWorker in a separate folder. r=asuth
--HG--
rename : dom/workers/SharedWorker.cpp => dom/workers/sharedworkers/SharedWorker.cpp
rename : dom/workers/SharedWorker.h => dom/workers/sharedworkers/SharedWorker.h
extra : rebase_source : a57218e0f428eb228c6d469f332872d51051cc43
2018-11-19 15:18:20 -08:00
Brian Hackett
a9c5259123 Bug 1508088 - Don't start new recording when navigating from blank tab, r=jlast.
--HG--
extra : rebase_source : 23363daf8e778bacda8f62d41413acc1f8db5de5
2018-11-17 11:28:50 -10:00
Luke Wagner
22d962a57d Bug 1492301 - Baldr: remove unneeded Debugger.allowWasmBinarySource option (r=yury)
--HG--
extra : rebase_source : 397043cf3cc70f46bf2ba10f6c69a11540ec1c79
2018-11-19 16:45:51 -06:00
Andrea Marchesini
256980ac39 Bug 1507769 - User-interaction required before granting storage access for some 3rd party trackers, r=ehsan 2018-11-19 23:56:04 +01:00
Andrea Marchesini
57c95d19dd Bug 1505571 - Store access-storage permissions in the top-level window too, r=ehsan
This is needed for any storage access request, coming synchronously after the
setting of the permission.
2018-11-19 23:56:04 +01:00
Andrea Marchesini
b421ccaac8 Bug 1505571 - Tests of localStorage access immediatelly after a user-interaction, r=ehsan 2018-11-19 23:56:04 +01:00
Andrea Marchesini
9aeee3b18d Bug 1505571 - Don't chcek user-interaction permission when the operation starts from user-interaction, r=ehsan
The permission has been just set, but the content process haven't received it
back from the parent process.
2018-11-19 23:56:03 +01:00
Razvan Maries
3b217cc771 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-11-20 00:36:35 +02:00
Timothy Guan-tin Chien
a56c6e8e81 Bug 1508147 - Re-remove unused CompartmentPrivate::isAddonCompartment, r=bholley
It was removed in bug 1478275, but re-introduced because of a false rebase in bug 1431255.

Differential Revision: https://phabricator.services.mozilla.com/D12331

--HG--
extra : moz-landing-system : lando
2018-11-19 18:46:57 +00:00
Dan Minor
a88b07525e Bug 1406941 - Add unittests for configuring AudioConduit; r=padenot
Depends on D12017

Differential Revision: https://phabricator.services.mozilla.com/D12018

--HG--
extra : moz-landing-system : lando
2018-11-19 17:00:35 +00:00
Dan Minor
5efc93cb87 Bug 1406941 - Make AudioConduit more easily unit testable; r=padenot
This makes Init and DeleteChannels virtual and mRecvChannelProxy and
mSendChannelProxy protected. This will allow unit test code to override
the creation of channels so that we can use a mocked ChannelProxy instead.

Depends on D12016

Differential Revision: https://phabricator.services.mozilla.com/D12017

--HG--
extra : moz-landing-system : lando
2018-11-19 17:00:43 +00:00
Dan Minor
80bc9e8334 Bug 1406941 - Remove unused error handling code from SetLocalRTPExtensions; r=padenot
Rather than returning an error, the channel proxies have asserts that the
underlying calls to the channel objects succeeded.

Depends on D12015

Differential Revision: https://phabricator.services.mozilla.com/D12016

--HG--
extra : moz-landing-system : lando
2018-11-19 17:46:15 +00:00
Dan Minor
6c797e79ae Bug 1406941 - Set opus maxplaybackrate in AudioConduit; r=padenot
This was regressed by the branch 64 update. The parameter is used in
audio_encoder_opus.cc.

Depends on D12014

Differential Revision: https://phabricator.services.mozilla.com/D12015

--HG--
extra : moz-landing-system : lando
2018-11-19 17:01:16 +00:00
Dan Minor
f064d3d180 Bug 1406941 - Fix typo in videoconduit_unittests.cpp; r=padenot
Depends on D12013

Differential Revision: https://phabricator.services.mozilla.com/D12014

--HG--
extra : moz-landing-system : lando
2018-11-19 17:01:25 +00:00
Dan Minor
a9a121b9e9 Bug 1406941 - Remove unused fields from JsepAudioCodecDescription; r=bwc
Packet size and rate are no longer configured inside AudioConduit, so there is
no reason to continue to define them here. We now take the defaults provided
by webrtc.org.

Depends on D12012

Differential Revision: https://phabricator.services.mozilla.com/D12013

--HG--
extra : moz-landing-system : lando
2018-11-19 17:44:16 +00:00
Dan Minor
450258b20a Bug 1406941 - Remove unused fields from AudioCodecConfig; r=padenot
With the branch 64 update we no longer configure packet size and rate
ourselves. Instead, we use the defaults provided in acm_codec_database.cc.
This removes the unused fields from AudioCodecConfig, the next commit does the
same thing for JsepAudioCodecDescription.

Differential Revision: https://phabricator.services.mozilla.com/D12012

--HG--
extra : moz-landing-system : lando
2018-11-19 17:01:33 +00:00
June Wilde
337c696973 Bug 1468542 - Restrict acceptable bounds for i in nss_secutil; r=rstrong
Summary:
Adds some missing braces on if structures
Adds a check for i being larger or equal to nb

Reviewers: rstrong

Reviewed By: rstrong

Bug #: 1468542

Differential Revision: https://phabricator.services.mozilla.com/D12193

--HG--
extra : rebase_source : 51a99f5376ed8877162e82b6c15f147df81981f8
2018-11-19 20:57:50 +02:00
Matthew Gaudet
4e19cf4cb4 Bug 1501787 - Reset entered counts on stub attachment r=djvj
Resetting the entered count on an IC stub chain makes interpretation of the
counter values easier. For example, if we see an IC chain like this

    A (1000) -> B(800) -> C (400) -> D (200) -> FB (100)

We can say that there have been 100 cases not handled by chain, (and we did
not attach new stubs for those cases), and B handled the most (400) queries
to the IC chain.

Differential Revision: https://phabricator.services.mozilla.com/D11883

--HG--
extra : moz-landing-system : lando
2018-11-19 18:56:39 +00:00
Ted Campbell
471c4d6a77 Bug 1508067 - Use clang-format off in vm/Opcodes.h instead of file ignore. r=sylvestre,jandem
Differential Revision: https://phabricator.services.mozilla.com/D12240

--HG--
extra : moz-landing-system : lando
2018-11-19 09:27:17 +00:00
Ted Campbell
87e6a3bb5d Bug 1508180 - Use uppercase high-order macro names in profiler. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D12235

--HG--
extra : moz-landing-system : lando
2018-11-19 17:41:27 +00:00
Ted Campbell
a75a26eb42 Bug 1508180 - Use uppercase high-order macro names in xptinfo. r=nika
This makes clang-format stop mangling the macros.

Differential Revision: https://phabricator.services.mozilla.com/D12234

--HG--
extra : moz-landing-system : lando
2018-11-19 17:31:14 +00:00
Ted Campbell
59d3110a5a Bug 1508180 - Use uppercase macro names in mfbt/RecordReplay.h r=bhackett
Rename MOZ_MakeRecordReplayWrapper to MOZ_MAKE_RECORD_REPLAY_WRAPPER so
that clang-format doesn't mangle code.

Differential Revision: https://phabricator.services.mozilla.com/D12233

--HG--
extra : moz-landing-system : lando
2018-11-19 18:52:49 +00:00
Ted Campbell
f8cc48bd62 Bug 1508180 - Use uppercase names for high-order macros in dom/ r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D12232

--HG--
extra : moz-landing-system : lando
2018-11-19 17:31:17 +00:00
Ted Mielczarek
c19311e565 bug 1454613 - build binsource when building SpiderMonkey. r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D11056

--HG--
extra : moz-landing-system : lando
2018-11-19 18:19:41 +00:00
Christian Holler
f80cef4fdd Bug 1507094 - Use tar.gz for gtest archive instead of zip. r=gps
Differential Revision: https://phabricator.services.mozilla.com/D12219

--HG--
extra : moz-landing-system : lando
2018-11-19 18:41:33 +00:00
Mark Banner
8fb3e110a9 Bug 1508322 - Define 'importGlobalProperties' variables as explicit in ESLint to help identify unused variables. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D12327

--HG--
extra : moz-landing-system : lando
2018-11-19 18:23:16 +00:00
WR Updater Bot
a023944719 Bug 1508231 - Re-vendor rust dependencies. r=kats
Depends on D12329

Differential Revision: https://phabricator.services.mozilla.com/D12330

--HG--
extra : moz-landing-system : lando
2018-11-19 18:25:34 +00:00
WR Updater Bot
fa2171c1f6 Bug 1508231 - Update webrender to commit 262edcb7d48deb72509141e14e1c7d914c1970fb (WR PR #3326). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D12329

--HG--
extra : moz-landing-system : lando
2018-11-19 18:25:27 +00:00
Michael Cooper
931c45e92e Bug 1506816 - Check for action errors in Normandy tests, and fix revealed problems. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D12156

--HG--
extra : moz-landing-system : lando
2018-11-19 18:23:54 +00:00
Tarek Ziadé
139a810511 Bug 1508257 - Remove io.activity.intervalMilliseconds - r=valentin
This preference is not used. Let's get rid of it.

Differential Revision: https://phabricator.services.mozilla.com/D12295

--HG--
extra : moz-landing-system : lando
2018-11-19 14:52:26 +00:00
Tim Nguyen
3a94eda144 Bug 1508143 - Remove builderView and contentView from tree binding. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D12224

--HG--
extra : moz-landing-system : lando
2018-11-19 18:04:15 +00:00
Jason Orendorff
15b39e62f9 Bug 1507845 - Dispense with TODO comment about cloneForBranch2 in ReadableStream implementation. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D12148

--HG--
extra : moz-landing-system : lando
2018-11-16 17:12:42 +00:00
Sylvestre Ledru
9202a447a8 Bug 1508220 - Refresh the list of third party code in dom/media/ r=jya
DONTBUILD

Differential Revision: https://phabricator.services.mozilla.com/D12249

--HG--
extra : moz-landing-system : lando
2018-11-19 14:41:33 +00:00
Sylvestre Ledru
1e099ba528 Bug 1508128 - Update our coding style config files r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D12221

--HG--
extra : moz-landing-system : lando
2018-11-19 15:55:00 +00:00
Daniel Varga
1c97afe7cd Merge mozilla-central to autoland. a=merge on a CLOSED TREE
--HG--
extra : rebase_source : 2a24106f8c3136d60a1a08aa839ec4c20d3f1a84
2018-11-19 19:06:29 +02:00
Jan de Mooij
bccfe7c569 Bug 1508065 - Change JS_PUBLIC_{API,DATA} and JS_FRIEND_{API,DATA} to be more like similar macros to avoid confusing clang-format. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D12256

--HG--
extra : moz-landing-system : lando
2018-11-19 17:02:47 +00:00
Daniel Varga
7f346e170a Merge mozilla-inbound to mozilla-central. a=merge 2018-11-19 19:01:21 +02:00
Nicolas Chevobbe
2df90a7acc Bug 1506118 - Use chromeUtilsWindow to start the parser worker; r=Honza.
As we were using the browserWindow to start the
parser worker, this was causing an exception
when evaluation from the browser toolbox.
Using chromUtilsWindow fixes the issue.

There is no tests yet as I'm not sure there's
an easy way to test things in the browser toolbox.

Differential Revision: https://phabricator.services.mozilla.com/D12101

--HG--
extra : moz-landing-system : lando
2018-11-19 16:33:22 +00:00
Michael Kaply
29e96df9fe Bug 1507223 - Show an error when full URL is used for permissions. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D12181

--HG--
extra : moz-landing-system : lando
2018-11-19 16:15:56 +00:00
Dorel Luca
3a97449464 Backed out changeset dfc775a144ad (bug 1504728) for Brwoser-chrome failure in browser/base/content/test/trackingUI/browser_trackingUI_trackers_subview.js. CLOSED TREE 2018-11-19 18:34:50 +02:00
Dorel Luca
d6df0e3688 Backed out changeset 87037e14247b (bug 1506852) for build bustage. CLOSED TREE 2018-11-19 18:30:36 +02:00
Ted Campbell
5d89dbbb32 Bug 1508064 - Use clang-format off in parts of js/ r=jandem
Protect tabular macros or struct initializers that can mangled by
clang-format.

Differential Revision: https://phabricator.services.mozilla.com/D12239

--HG--
extra : moz-landing-system : lando
2018-11-19 16:04:03 +00:00
Ted Campbell
2b703c59e4 Bug 1508064 - Simplify JS_FOR_PROTOTYPES. r=jandem
Add JS_FOR_PROTOTYPES_ macro that takes REAL_IF_SAB, etc helpers to
handle conditional proto keys. This is easier to read and avoids macro
expansion issues confusing clang-format.

Differential Revision: https://phabricator.services.mozilla.com/D12238

--HG--
extra : moz-landing-system : lando
2018-11-19 13:54:02 +00:00
Andreas Farre
7a0d054505 Bug 1506852 - Make sure to also clear opener in BrowsingContext. r=peterv
When calling nsGlobalWindowOuter::SetOpenerWindow with null we should
make sure to also clear BrowsingContext::mOpener.

Differential Revision: https://phabricator.services.mozilla.com/D11769

--HG--
extra : moz-landing-system : lando
2018-11-19 15:57:27 +00:00