Commit Graph

664638 Commits

Author SHA1 Message Date
Nika Layzell
af25db52b0 Bug 1570369 - Part 3: Use IPDL refcounted for PBrowser, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D40254

--HG--
extra : moz-landing-system : lando
2019-08-08 16:46:24 +00:00
Nika Layzell
f9fb4fc118 Bug 1570369 - Part 2: Use IPDL refcounted for PAPZInputBridge, r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D40253

--HG--
extra : moz-landing-system : lando
2019-08-08 16:46:22 +00:00
Nika Layzell
57067bd337 Bug 1570369 - Part 1: Use IPDL refcounted for PWindowGlobal, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D40252

--HG--
extra : moz-landing-system : lando
2019-08-08 16:46:20 +00:00
Paul Bone
ac145a8bd1 Bug 1571439 - Add new test r=decoder
Differential Revision: https://phabricator.services.mozilla.com/D40807

--HG--
extra : moz-landing-system : lando
2019-08-08 23:30:15 +00:00
Andrew McCreight
78c8b1ffd6 Bug 1571855 - Disable tautology warning in nsIFrame.h in Clang. r=heycam
ClassID::nsBox_id is zero, so that case is trivial. Disable the
warning in Clang, like it is in GCC. The Clang pragma can't be behind
an #elseif because Clang appears to define __GNUC__, too.

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

--HG--
extra : moz-landing-system : lando
2019-08-08 22:20:01 +00:00
Henrik Skupin
d05735f6b3 Bug 1572542 - [wdspec] Don't navigate in switch_to_window/alerts.py to keep the outerWindowId. r=webdriver-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D41284

--HG--
extra : moz-landing-system : lando
2019-08-08 21:38:31 +00:00
alwu
df6d8d2448 Bug 1565689 - part7 : add browser test. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D38147

--HG--
extra : moz-landing-system : lando
2019-08-07 01:45:59 +00:00
alwu
9e0f93e8de Bug 1565689 - part6 : add gtests. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D38146

--HG--
extra : moz-landing-system : lando
2019-08-07 01:46:01 +00:00
alwu
0f5563b84f Bug 1565689 - part5 : control media from chrome process. r=farre,baku
This patch implements how to use MediaController to control corresponding media in content processes.

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

--HG--
extra : moz-landing-system : lando
2019-08-07 01:46:03 +00:00
alwu
caf1ec8024 Bug 1565689 - part4 : notify controller about media active state and audible state changed from content processes. r=baku
We implement some helpful functions in MediaControlUtils which can be used to notify controller when media starts/stops playing or become audible/inaudible.

For now, we can temporarily notify these changes in AudioChannelService where we have already known when media has these kinds of status changing.

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

--HG--
extra : moz-landing-system : lando
2019-08-08 20:01:19 +00:00
alwu
4f341cb99b Bug 1565689 - part3 : use static pref to control audio competing. r=baku
We don't want to enable audio competing by default, so hide this feature behind a static pref.

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

--HG--
extra : moz-landing-system : lando
2019-08-07 01:46:06 +00:00
alwu
4e911221c2 Bug 1565689 - part2 : implement AudioFocusManager. r=baku
In order to support audio competing among different tabs, we implement a new class AudioFocusManager.

AudioFocusManager is used to assign the audio focus to different requester and decide which requester can own audio focus when audio competing happens.
When the audio competing happens, the last request would be a winner who can still own the audio focus, and all the other requesters would lose the audio focus.
Now MediaController is the onlt requester, it would request the audio focus when it becomes audible and revoke the audio focus when the controller is no longer active.

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

--HG--
extra : moz-landing-system : lando
2019-08-07 01:46:08 +00:00
alwu
a9d4b33f07 Bug 1565689 - part1 : implement MediaController and MediaControlService. r=baku
In order to have a centralized audio control in the parent process, we create two new classes here.

* MediaController
MediaController is a class used to control certain amount of media in the content process. Every controller corresponds to a browsing context.
For example, TabMediaController would correspond to the top level browsing context, which mean it can control all media in the specific tab.

* MediaControlService
As there might be multiple tabs playing audio, so there would be multiple controllers. MediaControlService is a place to manage all of them, you can access specific controller through MediaControlService by providing controller ID.
Everytime a controller becomes active, which means there is a media starts in corresponding browsing context, then controller would be added into the list of the MediaControlService. And it would be removed from the list when the media in corresponding browsering context stopped.

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

--HG--
extra : moz-landing-system : lando
2019-08-07 01:46:10 +00:00
Gabriele Svelto
e71120d4fe Bug 1572229 - Use modern jsoncpp readers/writers when (de)serializing principals r=jkt
Differential Revision: https://phabricator.services.mozilla.com/D41088

--HG--
extra : moz-landing-system : lando
2019-08-08 22:39:07 +00:00
Tom Ritter
fdb3fb1c9e Bug 1572557 - Clarify a confusing comment in two security prefs
Differential Revision: https://phabricator.services.mozilla.com/D41286

--HG--
extra : moz-landing-system : lando
2019-08-08 21:42:16 +00:00
Daniel Varga
0e2158bb36 Bug 1571063 - Removing comment lines, part of 8017e6d5cbb6. Relanded with the correct bug number on a CLOSED TREE DONTBUILD
--HG--
extra : source : 5a02186b16a593aac36cd6474dff7cb580716cfb
extra : histedit_source : 565bf23781e84ad7ee704e2be3f3b2c49d719f05
2019-08-09 03:00:17 +03:00
Daniel Varga
25fe006248 Backed out changeset 5a02186b16a5 (bug 1511177) for wrong bug number. On a CLOSED TREE DONTBUILD
--HG--
extra : rebase_source : 174c5893441eb670cdfaa4367a7bd99b620e3bd0
2019-08-09 03:10:13 +03:00
Razvan Maries
a025d50160 Merge mozilla-central to autoland. a=merge on a CLOSED TREE
--HG--
extra : rebase_source : b9360eb82974f2add7877b6c9197a1297e0c74af
2019-08-09 02:57:47 +03:00
Daniel Varga
b349cb59f1 Bug 1511177 - Removing comment lines. On a CLOSED TREE DONTBUILD
--HG--
extra : rebase_source : f89ddc0183c3fa68df653275d6f645a12206bd79
2019-08-09 03:00:17 +03:00
Ehsan Akhgari
1676b3dd3c Bug 1572258 - Prevent concurrent instances of TemporaryAccessGrantObserver from being created for the same (principal, permission type) pair; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D41115

--HG--
extra : moz-landing-system : lando
2019-08-08 22:00:44 +00:00
Sebastian Hengst
216f59cc9d Bug 1572393 - Increase Windows 10 x64 QR debug browser-chrome max runtime to 90 minutes. r=gbrown on a CLOSED TREE
Reviewers: gbrown

Reviewed By: gbrown

Subscribers: rjl

Bug #: 1572393

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

--HG--
extra : amend_source : 422bf3b984a6192fc5b24e95a11c5003b219e496
2019-08-09 02:39:37 +03:00
Daniel Varga
c9464b0e91 Backed out 3 changesets (bug 1511177) for web-platform-tests-reftests at /css/css-tables/percent-width-cell-dynamic.html on a CLOSED TREE
Backed out changeset bbe9d07407c9 (bug 1511177)
Backed out changeset 13004b37170e (bug 1511177)
Backed out changeset 23282c683f67 (bug 1511177)

--HG--
extra : rebase_source : d92b55d541e4e366aca8db62d9398bdb23209e7b
2019-08-09 01:28:23 +03:00
Razvan Maries
0d85ff6bdd Merge mozilla-inbound to mozilla-central a=merge 2019-08-09 00:48:59 +03:00
Razvan Maries
d1b4485f2d Merge autoland to mozilla-central a=merge 2019-08-09 00:45:05 +03:00
Nicholas Nethercote
0c1c7fcd20 Bug 1563555 - Rename sVarCache_* as sMirror_*. r=KrisWright
Another step in the renaming of VarCache variables as mirror variables,
matching the 'mirror' field used in StaticPrefList.yaml.

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

--HG--
extra : moz-landing-system : lando
2019-08-08 21:33:22 +00:00
Nicholas Nethercote
4ee7b811de Bug 1563555 - Don't bindgen static prefs. r=emilio
Bindgen is no longer necessary now that Rust bindings are generated by
generate_static_pref_list.py.

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

--HG--
extra : moz-landing-system : lando
2019-08-08 21:33:15 +00:00
Razvan Maries
cbb99dc4bf Backed out changeset 4c31868ffe1c (bug 1561326) for perma fails on browser_startup_syncIPC.js. a=backout 2019-08-08 22:44:38 +03:00
mandy cheang
48f276929d Bug 1566489 - Avoid reading extension-setting.json on start-up, read it lazily. r=aswan,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D40860

--HG--
extra : moz-landing-system : lando
2019-08-08 16:15:17 +00:00
Mark Banner
4fa1cb92aa Bug 1572511 - Reduce time for search config tests by removing a bit of logging. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D41258

--HG--
extra : moz-landing-system : lando
2019-08-08 21:14:24 +00:00
Daniel Varga
3814a2adf5 Backed out changeset 14e11bbc0dd3 (bug 1571063) for geckoview-web-platform-tests failures at /html/cross-origin/anonymous.tentative.html
--HG--
extra : rebase_source : 48306727547384d7260d0fc59274de7806732785
2019-08-09 00:02:18 +03:00
Henrik Skupin
b21eb8eccc Bug 1214191 - [fxui] Re-enable testing/firefox-ui/tests/puppeteer/test_windows.py. r=webdriver-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D41276

--HG--
extra : moz-landing-system : lando
2019-08-08 20:55:44 +00:00
Adam Holm
69e41402aa Bug 1538557 - Use BytecodeLocation and BytecodeIterator in JitScript::initICEntriesAndBytecodeTypeMap to replace uses of jsbytecode* and pcToOffset. r=jandem,tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D40230

--HG--
extra : moz-landing-system : lando
2019-08-08 17:46:44 +00:00
Charlie Marlow
b469e3daed Bug 1572304: updating text-decoration-skip-ink to support ::first-line/first-letter/placeholder r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D41228

--HG--
extra : moz-landing-system : lando
2019-08-08 18:44:03 +00:00
Kristen Wright
8f762fbd63 Bug 1571544 - Convert privacy.fuzzyfox.clockgrainus to static pref. r=njn
Converts privacy.fuzzyfox.clockgrainus varcache pref to a static pref. This pref used two #define values, which I also removed.

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

--HG--
extra : moz-landing-system : lando
2019-08-08 17:00:19 +00:00
Emilio Cobos Álvarez
2747e35c51 Bug 1528616 - Make nsTypeAheadFind less prone to mismatched pres contexts. r=dholbert
Ranges don't cross documents, and there's no reason the typeahead find passes a
shell around. So just don't do it.

This also fixes a bug where references to frames were kept around a flush.
That's potentially unsafe, so I've avoided the flush by passing false to
nsRange.

If something depends on it all the callers need be audited and fixed to handle a
flush properly.

Depends on D40696

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

--HG--
extra : moz-landing-system : lando
2019-08-08 06:18:39 +00:00
Ed Lee
9775cca0a1 Bug 1571115 - Add context message, react-transition-group package and bug fixes to New Tab Page r=k88hudson,fluent-reviewers,flod
Depends on D40119

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

--HG--
extra : moz-landing-system : lando
2019-08-08 05:36:24 +00:00
Kristen Wright
b7b95930c5 Bug 1571544 - Convert mozilla.widget.disable-native-theme to static pref. r=njn
Converts mozilla.widget.disable-native-theme varcache pref to a static pref and updates uses of its associated global variable with the pref. This also renames the pref to widget.disable-native-theme to group with other widget prefs.

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

--HG--
extra : moz-landing-system : lando
2019-08-07 23:05:05 +00:00
Jeane Carlos
1af80f69c3 Bug 1570697 - Adding BSD 3-Clause to license file r=mhoye
Adding a new package "react-transition-group" which uses a BSD 3-Clause that isn't contained in this license file.

https://github.com/mozilla/activity-stream/pull/5196

It looks like BSD 3 is used in other files too https://searchfox.org/mozilla-central/search?q=bsd+3-clause&path=, but I wasn't sure the paths to add for the other files.

BSD is referenced in our Source Code License Policy and License Runbook


  - https://www.mozilla.org/en-US/MPL/license-policy/ (General BSD)
  - https://mana.mozilla.org/wiki/pages/viewpage.action?pageId=87365351 (New BSD, BSD 2-Clause, BSD 3-Clause)

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

--HG--
extra : moz-landing-system : lando
2019-08-07 21:18:58 +00:00
Narcis Beleuzu
c92483436e Backed out changeset 781d092114da (bug 1564168) for failures on test_onGarbageCollection.html 2019-08-08 05:12:21 +03:00
Narcis Beleuzu
b0c02638f6 Backed out changeset 0d73f35c5025 (bug 1172572) for failures on browser_dbg_rr_breakpoints-03.js 2019-08-08 05:11:13 +03:00
Kannan Vijayan
e53a880b1c Bug 1569262 - Rename nsIDocShellTreeItem::GetRootTreeItem to GetInProcessRootTreeItem for Fission marking. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D41064

--HG--
extra : moz-landing-system : lando
2019-08-07 19:24:00 +00:00
Dustin J. Mitchell
b6c8e578bf Bug 1572132 - fix URL generation in fetch-content r=glandium
MANUAL PUSH: to allow docker images to build without closing autoland

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

--HG--
extra : rebase_source : 60ae00549917411d1839b6e3f8e6ae962d217470
extra : amend_source : a2531b115f5732345f8c34c88669428510d100a4
2019-08-07 15:53:15 +00:00
Csoregi Natalia
078a572603 Merge mozilla-central to mozilla-inbound. CLOSED TREE 2019-08-08 12:35:42 +03:00
shindli
e00596468f Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-08-08 00:55:50 +03:00
Jared Wein
6843ec8397 Bug 1572131 - Add back role='option' on the login-list-items. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D41031

--HG--
extra : moz-landing-system : lando
2019-08-07 16:28:42 +00:00
Kristen Wright
28cbbdfccb Bug 1570883 - GlobalHelperThreadState should clear the LifoAlloc on JSContexts that haven't been used since the last free event. r=jandem
In the event of a JSContext having gone unused between the last triggerFreeUnusedMemory() and the current one, GlobalHelperThreadState should free the temp LifoAlloc from the main thread. This isn't safe for ContextData and requires tempLifoAlloc to take a different type.

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

--HG--
extra : moz-landing-system : lando
2019-08-07 16:09:44 +00:00
Carolina
75d85e4a0c Bug 1571427 - Fixes adjustCertInformation function not accessing elements that are not defined.r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D40639

--HG--
extra : moz-landing-system : lando
2019-08-07 16:51:14 +00:00
moz-wptsync-bot
c456ad7355 Bug 1571767 - [wpt-sync] Update web-platform-tests to ee257bdb4ecd061513b43dfb9582f700a32b93cd, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: ee257bdb4ecd061513b43dfb9582f700a32b93cd
wpt-type: landing
2019-08-07 13:18:39 +00:00
moz-wptsync-bot
82767e7ea1 Bug 1571179 [wpt PR 18266] - Update wpt metadata, a=testonly
wpt-pr: 18266
wpt-type: metadata
2019-08-07 13:18:38 +00:00
autofoolip
f29efcd9b6 Bug 1571179 [wpt PR 18266] - Update interfaces/web-nfc.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/web-nfc.idl (#18266)

Source: https://github.com/tidoust/reffy-reports/blob/c3773f7/whatwg/idl/web-nfc.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/567225403
--

wpt-commits: ee257bdb4ecd061513b43dfb9582f700a32b93cd
wpt-pr: 18266
2019-08-07 13:18:38 +00:00