Граф коммитов

88240 Коммитов

Автор SHA1 Сообщение Дата
Bogdan Tara 80377e90ee Backed out 6 changesets (bug 1552176) for causing Hazard bustages CLOSED TREE
Backed out changeset c79b90bae420 (bug 1552176)
Backed out changeset 4b970cc771ca (bug 1552176)
Backed out changeset de7aa0eaf4c8 (bug 1552176)
Backed out changeset c8e692a40cd3 (bug 1552176)
Backed out changeset 68882d1eccac (bug 1552176)
Backed out changeset 692e5e51e19e (bug 1552176)
2019-11-11 12:11:36 +02:00
Valentin Gosu 60297f04a5 Bug 1552176 - pass TRRMode into nsHTMLDNSPrefetch methods r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D49159

--HG--
extra : moz-landing-system : lando
2019-11-10 17:12:19 +00:00
Valentin Gosu 4fe6130ec3 Bug 1552176 - Add nsIRequest.set/getTRRMode r=dragana
* Makes it possible to selectively enable TRR for pbmode/container/window/etc

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

--HG--
extra : moz-landing-system : lando
2019-11-10 17:11:41 +00:00
Gijs Kruitbosch 76124b05a3 Bug 1593725 - cache gfx information so we don't re-read prefs and re-search blocklists for each content process, r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D51644

--HG--
extra : moz-landing-system : lando
2019-11-09 02:21:18 +00:00
Brendan Dahl a3a9d09976 Bug 1492582 - Don't create scroll frames for windows that don't need them. r=emilio
When browser.xhtml switches to an <html> root element, the frame structure
changed and caused performance regressions on talos for tart and tresize.
browser.xhtml doesn't need scrolling, so we can disable it and keep performance
on par with XUL <window>.

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

--HG--
extra : moz-landing-system : lando
2019-11-08 23:34:08 +00:00
Brendan Dahl 880b358f10 Bug 1492582 - Support the <body> element being the default focus node in browser.xhtml r=Gijs
Previously we were returning the documentElement in order to match the old XUL behavior.
Now that we have a document.body we can just follow the normal HTML convention.

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

--HG--
extra : moz-landing-system : lando
2019-11-08 23:33:52 +00:00
Junior Hsu d49c1bb5ec Bug 1594147 - prevent possible null dereference in MaybeDispatchPrematureAbortEvents, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D52409

--HG--
extra : moz-landing-system : lando
2019-11-08 22:28:07 +00:00
Haik Aftandilian 5c7403d2a1 Bug 1589809 - [macOS] Use OS_ACTIVITY_MODE=disable for child processes r=spohl
Set the environment variable OS_ACTIVITY_MODE=disable on sandboxed Mac child processes.

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

--HG--
extra : moz-landing-system : lando
2019-11-09 00:27:48 +00:00
alwu 7d10362ad8 Bug 1592461 - part3 : included header changes. r=bzbarsky
As we have removed the use of `MediaControlActions` in `nsGlobalWindowOuter`, we can remove the related included files and add other included files, which are needed, separatly on each files.

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

--HG--
extra : moz-landing-system : lando
2019-10-31 02:41:27 +00:00
alwu 28a59c21ab Bug 1592461 - part2 : use 'MediaActionHandler' to handle 'MediaControlActions'. r=bzbarsky
Instead of letting the outer window to process `MediaControlActions`, it would be better to handle those actions all in `MediaActionHandler`.

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

--HG--
extra : moz-landing-system : lando
2019-10-31 21:22:33 +00:00
alwu c6946788e6 Bug 1592461 - part1 : create an intermediate layer to encapsulate the detail of handling 'MediaControlActions' r=bzbarsky,chunmin
For now we only handle some `MediaControlActions` by using our custom default behaviors, however, once we have an active media session which has already had `MediaActionHandler` for corresponding action, then we should use those handlers to let website decides how they should act when media action occurs.

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

--HG--
extra : moz-landing-system : lando
2019-11-08 21:17:22 +00:00
Olli Pettay 422cff01c2 Bug 1588311 - Update mousedown targets when native anonymous content is recreated, r=masayuki
Test click handling on input element which has a placeholder.

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

--HG--
extra : moz-landing-system : lando
2019-11-08 19:08:27 +00:00
Randell Jesup a42777ee14 Bug 1594015: Ensure that threads with odd ProcessNextEvent loops get correct event delays r=froydnj
Socket Thread and Worker Threads use custom event loops and don't wait in
calls to ProcessNextEvent all the time; this can lead to odd Responsiveness numbers.

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

--HG--
extra : moz-landing-system : lando
2019-11-08 21:07:52 +00:00
Csoregi Natalia 3127824f86 Backed out 2 changesets (bug 1594141) for media failures on test_mediarecorder_principals.html. CLOSED TREE
Backed out changeset 6d4a958ff155 (bug 1594141)
Backed out changeset 0516cc76b5b2 (bug 1594141)
2019-11-08 23:32:18 +02:00
Bogdan Tara 8f38f4a3fb Backed out 6 changesets (bug 1552176) for bustages complaining about ServiceWorkerManager.cpp CLOSED TREE
Backed out changeset bff9110e434e (bug 1552176)
Backed out changeset ac8f8a6dbd98 (bug 1552176)
Backed out changeset 8dd630e7534a (bug 1552176)
Backed out changeset 7ce9e220cdb9 (bug 1552176)
Backed out changeset ee9911acfcd4 (bug 1552176)
Backed out changeset 652b3bd6848d (bug 1552176)
2019-11-08 22:18:05 +02:00
Gijs Kruitbosch fd3b69986c Bug 1595048 - move JSWindowActor notes into Fission.rst document, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D52352

--HG--
extra : moz-landing-system : lando
2019-11-08 19:42:02 +00:00
Alexander Surkov c03d533179 Bug 1594122 - convert XBL test test_bug330925.xhtml to shadow DOM test r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D52209

--HG--
rename : dom/base/test/test_bug330925.xhtml => dom/base/test/test_bug330925.html
extra : moz-landing-system : lando
2019-11-08 18:40:40 +00:00
Valentin Gosu 4354a83c3d Bug 1552176 - pass TRRMode into nsHTMLDNSPrefetch methods r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D49159

--HG--
extra : moz-landing-system : lando
2019-11-08 17:13:47 +00:00
Valentin Gosu adfeaf25f5 Bug 1552176 - Add nsIRequest.set/getTRRMode r=dragana
* Makes it possible to selectively enable TRR for pbmode/container/window/etc

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

--HG--
extra : moz-landing-system : lando
2019-11-08 17:13:05 +00:00
Bryce Seager van Dyk 4252288506 Bug 1594141 - Handle failure to reconfigure video encoder in MediaEncoder. r=pehrsons
If the VP8 encoder fails to reconfigure in the middle of a stream it can
transition from a state where it was returning `true` for `IsInitialized` to
then returning false. This would trigger an assert in `GetEncodedData` in
`MediaEncoder`. This patch changes to instead handle this case by early
returning if we're in an error state, and ensuring we enter the error state if
a track encoder fails to reconfigure.

Update the TrackEncoder contract to differentiate the error used if encoding has
been canceled or completed, from other, more severe errors.

This also adjusts the logs in the vp8 track encoder to more clearly log if a
reconfigure of the encoder failed or not.

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

--HG--
extra : moz-landing-system : lando
2019-11-07 23:11:30 +00:00
Bryce Seager van Dyk c8adc74223 Bug 1594141 - Add crashtest for if a Vp8 track encoder becomes uninitialized mid stream. r=pehrsons
This is adapted from the original test on the bug. The only changes are:
- Adding reftest-wait so the test plays nice with our harness.
- Removing code that doesn't appear required to hit the assert.
  - There are a few lines that don't appear needed.
  - Simplified some arguments to make the test more human readable.

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

--HG--
extra : moz-landing-system : lando
2019-11-07 23:11:17 +00:00
Masayuki Nakano 0f9b3a05da Bug 1594215 - Make `PuppetWidget::GetEditCommands()` check `mBrowserChild` before using it r=smaug
The reason of the crash is, the window may have already been destroyed and
`PuppetWidget::mBrowserChild` was set to `nullptr` when synthesizing key event.

This patch makes `PuppetWidget::GetEditCommands()` check whether it's `nullptr`
and returns whether it's succeeded or not.  Therefore, `TextInputProcessor`
can throw exception in such case.

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

--HG--
extra : moz-landing-system : lando
2019-11-08 11:32:51 +00:00
Brindusan Cristian 06dcacf2e7 Backed out changeset 0163a2b9ca5c (bug 1592620) for mochitest failures at test_dataChannel_hostnameObfuscationWhitelist.html. CLOSED TREE 2019-11-08 17:09:08 +02:00
Simon Giesecke deb959c93c Bug 1168606 - Resolved clang-tidy warnings. r=ttung,asuth
Differential Revision: https://phabricator.services.mozilla.com/D49274

--HG--
extra : moz-landing-system : lando
2019-11-08 13:22:28 +00:00
Simon Giesecke dda03b6843 Bug 1168606 - Replace custom for loops over hashtables by range-based for/STL algorithms. r=ttung,asuth
Differential Revision: https://phabricator.services.mozilla.com/D45506

--HG--
extra : moz-landing-system : lando
2019-11-08 14:04:02 +00:00
Simon Giesecke 608f5bac34 Bug 1168606 - Replace pseudo-move constructor of StructuredCloneReadInfo by explicit DeserializeStructuredCloneReadInfo function. r=ttung,asuth
Differential Revision: https://phabricator.services.mozilla.com/D46593

--HG--
extra : moz-landing-system : lando
2019-11-08 13:22:08 +00:00
thomasmo bf1c6a04c7 Bug 1594794 - NULL Crash in MediaKeySystemAccessManager::CheckDoesWindowSupportProtectedMedia r=bryce,bzbarsky
This change fixes a crash when there is no BrowserChild available (i.e., e10s is is turned off in Windows). In this case, the window is assumed to support protected media and will proceed without making the IPC call to check.

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

--HG--
extra : moz-landing-system : lando
2019-11-08 11:43:51 +00:00
shindli 7c774ed0a3 Backed out 8 changesets (bug 1497007) for causing build bustages in /builds/worker/workspace/build/src/dom/indexedDB/IDBTransaction.cpp CLOSED TREE
Backed out changeset 15de0d72f1c4 (bug 1497007)
Backed out changeset 7056932f6422 (bug 1497007)
Backed out changeset 7304fae8c436 (bug 1497007)
Backed out changeset be22a95de04b (bug 1497007)
Backed out changeset 98ac48b5f1ef (bug 1497007)
Backed out changeset 562d3cda9fa3 (bug 1497007)
Backed out changeset 3f96e71be2e3 (bug 1497007)
Backed out changeset 3d9e86698c9f (bug 1497007)
2019-11-08 16:28:53 +02:00
Dan Minor 4438d45346 Bug 1592620 - Add whitelist for mDNS hostname obfuscation; r=bwc
This adds a whitelist of domains for which mDNS hostname obfuscation is
disabled. The implementation is an updated version of the old screensharing
whitelist code.

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

--HG--
extra : moz-landing-system : lando
2019-11-07 20:59:29 +00:00
John Dai 4802a58013 Bug 1594708 - Enable formdata event by default; r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D52172

--HG--
extra : moz-landing-system : lando
2019-11-08 13:46:06 +00:00
Simon Giesecke 365b8934ac Bug 1497007 - Mark group of methods exposed via webidl. r=ttung,asuth
Differential Revision: https://phabricator.services.mozilla.com/D47232

--HG--
extra : moz-landing-system : lando
2019-11-08 13:33:56 +00:00
Simon Giesecke 67ff3f2964 Bug 1497007 - Added explaining comments. r=ttung,asuth
Differential Revision: https://phabricator.services.mozilla.com/D47231

--HG--
extra : moz-landing-system : lando
2019-11-08 13:33:45 +00:00
Simon Giesecke b390f011e5 Bug 1497007 - Use IDBTransaction::IsWriteAllowed to simplify code. r=ttung,asuth
Differential Revision: https://phabricator.services.mozilla.com/D47230

--HG--
extra : moz-landing-system : lando
2019-11-08 13:33:33 +00:00
Simon Giesecke 66ba8c7bd1 Bug 1497007 - Extracted GetIndexedDBThreadLocal function. r=ttung,asuth
Differential Revision: https://phabricator.services.mozilla.com/D46949

--HG--
extra : moz-landing-system : lando
2019-11-08 13:33:25 +00:00
Simon Giesecke f5146ed829 Bug 1497007 - Replace custom for loops by range-based for and appropriate algorithms. r=ttung,asuth
Differential Revision: https://phabricator.services.mozilla.com/D46948

--HG--
extra : moz-landing-system : lando
2019-11-08 13:33:13 +00:00
Simon Giesecke a90f156203 Bug 1497007 - Minor improvements. r=ttung,asuth
Differential Revision: https://phabricator.services.mozilla.com/D46947

--HG--
extra : moz-landing-system : lando
2019-11-08 13:29:58 +00:00
Simon Giesecke d905508bee Bug 1497007 - Extracted HasTransactionChild and DoWithTransactionChild functions. r=ttung,asuth
Differential Revision: https://phabricator.services.mozilla.com/D46946

--HG--
extra : moz-landing-system : lando
2019-11-08 13:29:46 +00:00
Simon Giesecke df38d08c1d Bug 1497007 - Use const where easily possible. r=ttung,asuth
Differential Revision: https://phabricator.services.mozilla.com/D46945

--HG--
extra : moz-landing-system : lando
2019-11-08 13:29:39 +00:00
Sebastian Hengst 0341151d63 Bug 1594981 - update Core::DOM* and Core::Storage* bugzilla product and component meta data in moz.build files after reorganization in bug 1594717. r=annevk
Differential Revision: https://phabricator.services.mozilla.com/D52345

--HG--
extra : moz-landing-system : lando
2019-11-08 12:17:57 +00:00
Gijs Kruitbosch e5ac0416bc Bug 1593487 - tighten up registerWindowActor's handling of nonsensical actor specifications and remove cruft, r=nika,mconley
Differential Revision: https://phabricator.services.mozilla.com/D52002

--HG--
extra : moz-landing-system : lando
2019-11-08 11:59:37 +00:00
Andreas Pehrson 490b0df753 Bug 1590997 - Defer setting MediaRecorder mimeType attribute until firing start event. r=jib
Depends on D52255

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

--HG--
extra : moz-landing-system : lando
2019-11-07 23:07:07 +00:00
Andreas Pehrson d2bc237912 Bug 1590997 - Update tests for new MediaRecorder mimetype-at-start-event behavior. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D52255

--HG--
extra : moz-landing-system : lando
2019-11-07 23:11:00 +00:00
Simon Giesecke 7296de4e10 Bug 1586189 - Reenable fission tests. r=ttung
Differential Revision: https://phabricator.services.mozilla.com/D49753

--HG--
extra : moz-landing-system : lando
2019-10-30 16:37:33 +00:00
joshua stein 0fce47207d Bug 1580271: enhance sandbox on OpenBSD with unveil() r=gcp
ExpandUnveilPath() takes care of expanding potentially
environment-specific XDG_DATA/CONFIG/CACHE_HOME dirs.

The unveil config files lists the allowed paths & modes.

'disable' in the files will disable the corresponding pledge/unveil
syscall.

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

--HG--
extra : moz-landing-system : lando
2019-11-08 07:31:09 +00:00
joshua stein c931d974d2 Bug 1580268: Sandbox GPU process on OpenBSD with pledge() r=gcp
Differential Revision: https://phabricator.services.mozilla.com/D51386

--HG--
extra : moz-landing-system : lando
2019-11-07 09:56:07 +00:00
joshua stein d2fd2a4478 Bug 1584839 - Move OpenBSD pledge promises to files r=gcp
this way, preferences cant be modified by an extension, and they're
locked down in root-owned files.

Pledge promises files consist of a promise by line, are read first from
/etc/MOZ_APP_NAME/pledge.${processtype} (allowing overriding by a local
root if needed), and if not found
/usr/local/lib/MOZ_APP_NAME/browser/defaults/preferences is used, which
is where the OpenBSD packaging system will install the defaults.

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

--HG--
extra : moz-landing-system : lando
2019-11-07 09:52:18 +00:00
Jim Porter d30a0e636c Bug 1592470 - Don't cancel content JS when "navigating" to javascript: URLs; r=smaug
Prior to this patch, users entering javascript: URLs in the location bar
(e.g. via a bookmark) would trigger the cancel content JS path for the page
they were on, potentially breaking the site. Since javascript: URLs
(generally) don't navigate to a new page, we should avoid canceling the
current page's JS.

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

--HG--
extra : moz-landing-system : lando
2019-11-08 02:43:00 +00:00
Andrew Halberstadt 21c38703ad Bug 1594907 - Fix some duplicate URL segments in firefox-source-docs, r=sylvestre
This also moves the 'mach' docs from /python/mach to /mach. The reason being
that 'mach' doesn't really have anything to do with Python other than its
implemented in it.

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

--HG--
extra : moz-landing-system : lando
2019-11-07 23:07:20 +00:00
Noemi Erli 3e13b4783a Backed out changeset ec5a8a6a37d4 (bug 1594874) for causing Linux build bustages CLOSED TREE 2019-11-08 03:51:10 +02:00
Emma Malysz f52491766c Bug 1594874, remove xbl.properties and instances r=zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D52281

--HG--
extra : moz-landing-system : lando
2019-11-08 00:10:59 +00:00