Commit Graph

624649 Commits

Author SHA1 Message Date
David Major
ca5f5855d3 Bug 1508416: Check TLS initialization before reading sAlreadyHandlingTrap. r=luke
--HG--
extra : rebase_source : e8d9c35323a54540b57ef4efed2fe05548e07260
2018-11-19 20:30:51 -05:00
Andrew Swan
d6372b1489 Bug 1451532 follow-up: fix eslint on CLOSED TREE r=me
--HG--
extra : amend_source : b437275ac711d2f60879ffd0a86ae3e061b1ccb9
2018-11-19 17:26:42 -08:00
Boris Zbarsky
43bee0536a Bug 1507842. Removing an src attribute from an iframe should load about:blank in it. r=baku 2018-11-19 20:20:23 -05:00
Boris Zbarsky
47f81c215b Bug 1507540 part 7. Use notxpcom more in dom/. r=mccr8 2018-11-19 20:20:17 -05:00
Boris Zbarsky
64ae41821b Bug 1507540 part 6. Make nsIVariant's "type" a notxpcom attribute. r=froydnj 2018-11-19 20:20:05 -05:00
Boris Zbarsky
0216588e17 Bug 1507540 part 5. Use more notxpcom attributes in widget/. r=ehsan 2018-11-19 20:17:54 -05:00
Boris Zbarsky
ec2e099db9 Bug 1507540 part 4. Remove unused nsIProfiler::GetStartParams. r=mconley 2018-11-19 20:17:53 -05:00
Boris Zbarsky
9691e7ba88 Bug 1507540 part 3. Use more notxpcom attributes in netwerk/. r=valentin 2018-11-19 20:17:53 -05:00
Boris Zbarsky
71db58cf83 Bug 1507540 part 2. Use more notxpcom attributes in docshell/. r=smaug 2018-11-19 20:17:53 -05:00
Boris Zbarsky
b88f0dc956 Bug 1507540 part 1. Use more notxpcom attributes in caps/. r=mrbkap 2018-11-19 20:17:52 -05:00
Andrew Swan
226521947f Bug 1451532 Remove unneeded bootstrapped extensions in addon manager xpcshell tests r=kmag
In most case this involves switching to webextensions.  Some old or
redundant tests are removed, other tets are cleaned up and modernized
along the way.

--HG--
rename : toolkit/mozapps/extensions/test/xpcshell/test_update.js => toolkit/mozapps/extensions/test/xpcshell/test_update_strictcompat.js
extra : rebase_source : 28971274ca7c447d5f2eccf206e6772203bb0885
extra : source : 3267e1392e07a97c41abfc9e66bbbf73438b4f32
extra : histedit_source : 38e969ef1f6bbe022ffd60c5ecfaed0046226a1e
2018-11-18 16:35:51 -08:00
Andrew Swan
abeab24083 Bug 1451532 Clean up bootstrapped extensions in addon manager mochitests r=kmag
This is a quick pass to weed out some obsolete tests and update others.
browser_doorhanger_installs.js still needs a more comprehensive pass to
get rid of obsolete test cases.

--HG--
rename : toolkit/mozapps/extensions/test/browser/browser_bug596336.js => toolkit/mozapps/extensions/test/browser/browser_reinstall.js
extra : rebase_source : f8af8991e98424f151c6dd8822599e20c870be08
extra : source : 36ba8ad1c6000fb3810cf0fdd1542e49e50d0963
extra : histedit_source : abdb813afb162f3dff58906def889ce50a7b512b
2018-11-19 13:56:00 -08:00
Andrew Swan
0f726197c5 Bug 1451532 Convert test dictionary to modern packaging r=mstriemer
--HG--
extra : rebase_source : 34fe91f423febefcc92ddb721b8fd7bde35f3b80
extra : source : bd61ea913334acde1d7840785d51803e3a4015f6
extra : histedit_source : 1b263cfb60846363b2c6eb74d855a022fa42720a
2018-10-23 09:55:37 -07:00
Andrew Swan
17c6220cd8 Bug 1451532 Remove/replace legacy extensions in telemetry tests r=gfritzsche
--HG--
rename : toolkit/components/telemetry/tests/addons/dictionary/install.rdf => toolkit/components/telemetry/tests/addons/dictionary/manifest.json
rename : toolkit/components/telemetry/tests/addons/system/install.rdf => toolkit/components/telemetry/tests/addons/system/manifest.json
rename : toolkit/components/telemetry/tests/addons/theme/install.rdf => toolkit/components/telemetry/tests/addons/theme/manifest.json
extra : rebase_source : c0186e8692b90f5e9a09b68fa8c5dfe5c4a949c3
extra : source : dc9705697fba4144568a49b7e34b79e4576b1893
extra : histedit_source : 4227770f9201aa66c8f831e90170c40b51bd80f1
2018-10-22 11:42:16 -07:00
Andrew Swan
2f760aac66 Bug 1451532 Remove unused test addon r=kmag
--HG--
extra : rebase_source : 9a27c9f8163922e393e86375df610d086e8c68ae
extra : source : 5cbf314bb07f0c11815dc1c1f20c74ee05f76e0e
extra : histedit_source : bfbc3e935780af097529f6e9c0ea2277c1c0da4b
2018-10-22 09:57:27 -07:00
Blake Kaplan
d07117bf43 Bug 1438945 - Remove the string parameter in favor of always passing in an nsIURI. r=asuth
The duplication wasn't necessary.

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

--HG--
extra : rebase_source : caa6bb5df364943ff7abf36155fa883fead1f8e6
2018-11-19 15:18:34 -08:00
Blake Kaplan
fee145cbe3 Bug 1438945 - Allow passing an existing URL into the Worker script loader. r=asuth
In the next patch I get rid of the duplicated arguments.

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

--HG--
extra : rebase_source : 2c21364406b9a757a78ae523e212a180f848ff9b
2018-11-19 15:18:34 -08:00
Blake Kaplan
30bf37d472 Bug 1438945 - Pass around URIs instead of strings in RemoteWorker. r=asuth
In order to fix the problem mentioned in comment 91 & co, we need to hold onto
the URI object that we resolve in the child process when we construct the
SharedWorker. Otherwise, we risk the Blob getting deallocated from under us.
This patch isn't sufficient to fix that problem, however, because the worker
code itself ends up going back through strings. I fix that in the next couple
of patches.

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

--HG--
extra : rebase_source : c77854f00c0d7a102e73e0c81f59cc217f43fd69
2018-11-19 15:18:34 -08:00
Blake Kaplan
9b7c410ae7 Bug 1438945 - Fix process selection comments. r=asuth
This separates out the parent process from the list of child processes and
makes our handling of non-e10s more explicit.

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

--HG--
extra : rebase_source : 3d4a5c5b427a5ad709468b4063793cb7bce27117
2018-11-19 15:18:34 -08:00
Blake Kaplan
35a2a67c5b Bug 1438945 - Fix typos in comments. r=asuth
Some small fixes that I noticed.

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

--HG--
extra : rebase_source : b327c6690c25992140f9ddf98712b3b23e41b3be
2018-11-19 15:18:33 -08:00
Blake Kaplan
47e2d13b9b Bug 1438945 - Fix the suspend and freezing logic. r=asuth
This implements the behavior that as long as there's one non-frozen or
non-suspended actor, we resume or thaw the manager.

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

--HG--
extra : rebase_source : d5dd0e87581c94b383f1e155b03f63398b2a14a7
2018-11-19 15:18:33 -08:00
Andrea Marchesini
c2d9fd8153 Bug 1438945 - Part 13: keeping ContentProcess alive. r=asuth,mrbkap
--HG--
extra : rebase_source : 10f03713c5f31f3a41e4f45cde367f5daaa5ebd8
2018-11-19 15:18:33 -08:00
Andrea Marchesini
b08cb98eb5 Bug 1438945 - Part 12: Spawning a new process if needed. r=asuth
--HG--
extra : rebase_source : 76cfdb0b7798d73d755183f8c431d631f67b9fac
2018-11-19 15:18:33 -08:00
Andrea Marchesini
e9bd43a3d1 Bug 1438945 - Part 11: selection of RemoteWorker actors. r=asuth,mrbkap
--HG--
extra : rebase_source : 900cf926e5771964a7482cfba8c546aaf7877c36
2018-11-19 15:18:33 -08:00
Andrea Marchesini
db9d439a1d Bug 1438945 - Part 10: RemoteWorkerObserver. r=asuth
--HG--
extra : rebase_source : 4c4b6e7e896e0cc3d297ee0b14fb449ce09361eb
2018-11-19 15:18:33 -08:00
Andrea Marchesini
c292b31a93 Bug 1438945 - Part 9: RemoteWorker in SharedWorkerManager. r=asuth
--HG--
extra : rebase_source : 07a23a3f76ef06d76a456ba785186018e6fb77f1
2018-11-19 15:18:33 -08:00
Andrea Marchesini
7c7e94be60 Bug 1438945 - Part 8: RemoteWorker IPC. r=asuth
--HG--
extra : rebase_source : 06a8e3a2e60d6ff9596fcbacbd4356368475d3d4
2018-11-19 15:18:32 -08:00
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