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

86759 Коммитов

Автор SHA1 Сообщение Дата
Andreea Pavel 8d63d04d42 Bug 1578337 - disable test browser_storage_permission on all platforms r=egao
Differential Revision: https://phabricator.services.mozilla.com/D45477

--HG--
extra : moz-landing-system : lando
2019-09-11 05:50:28 +00:00
Agi Sferro 0d2253119a Bug 1561964 - Re-enable all tests in dom/security/test on Android. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D37488

--HG--
extra : moz-landing-system : lando
2019-09-13 03:31:57 +00:00
Coroiu Cristina 8d4d7a884d Backed out changeset 5a021b9f8790 (bug 1578973) for browser-chrome failures at browser/base/content/test/forms/browser_selectpopup.js 2019-09-13 03:55:26 +03:00
Boris Zbarsky e29b81501a Bug 1580082. Align Response constructor IDL with spec. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D45411

--HG--
extra : moz-landing-system : lando
2019-09-11 11:06:58 +00:00
alwu 5b20dd1672 Bug 1579588 - part2 : create media controller for media element only. r=chunmin
We use `NotifyMediaStarted()` and `NotifyMediaStopped()` to notify `MediaControlService` on parent process to start/stop a media controller, and use `NotifyMediaAudibleChanged()` to notify controller's audible state in order to request audio focus.

As our goal is to use media controller to control media element, not for web audio, web speech and other stuffs which also use audio channel agent.

Therefore, we should notify parent process to start/stop controller only for media element, instead of sending a notification in AudioChannelService because that would create media controller for all different consumers which uses audio channel agent.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 23:13:04 +00:00
alwu a54c7c082a Bug 1579588 - part1 : split NotifyAudioChannelAgent() to StartAudioChannelAgent() and StopAudioChanelAgent(). r=chunmin
Spliting NotifyAudioChannelAgent() to StartAudioChannelAgent() and StopAudioChanelAgent() allows us to start and stop an AudioChannelAgent in a clear naming function, and to do related operation and checking every time we start/stop the agent.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 23:13:04 +00:00
Gijs Kruitbosch b4ce4fda42 Bug 1580282 - Remove checks for plugins that are part of extensions and support for loading plugins from the app and profile dir, r=mconley,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D45450

--HG--
extra : moz-landing-system : lando
2019-09-12 23:15:49 +00:00
Hiroyuki Ikezoe 64f7ca1737 Bug 1578973 - Don't do autofocus process if the target node of 'autofocus' is in a cross-origin document. r=nika
Note that I've confirmed no-cross-origin-autofocus.html works fine with
enabling fission on w3c-test.org.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 22:14:37 +00:00
Dorel Luca 963e95b6db Backed out changeset a956d11fef6e (bug 1369436) for XPCshell failure on dom/push/test/xpcshell/test_notification_http2.js
--HG--
extra : rebase_source : faf44816363b784e7eacd15978d6aec558328ea2
2019-09-13 00:42:28 +03:00
Emma Malysz 8c1fe041e3 Bug 1369436, Load PushComponents.js after startup. r=lina
Differential Revision: https://phabricator.services.mozilla.com/D45079

--HG--
extra : moz-landing-system : lando
2019-09-12 16:53:55 +00:00
Boris Zbarsky 624bd9fd22 Bug 1578173 part 8. Remove support for [Constructor] from the Web IDL parser. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D45398

--HG--
extra : moz-landing-system : lando
2019-09-12 18:45:33 +00:00
Boris Zbarsky ecfb805c22 Bug 1578173 part 7. Remove remaining uses of [Constructor] from binding tests. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D45396

--HG--
extra : moz-landing-system : lando
2019-09-12 18:39:26 +00:00
Boris Zbarsky 1128b8dee8 Bug 1578173 part 6. Remove remaining uses of [Constructor] from bindings. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D45394

--HG--
extra : moz-landing-system : lando
2019-09-12 11:01:17 +00:00
Boris Zbarsky cdf754533a Bug 1578173 part 5. Remove vestigial binaryNames annotations from Bindings.conf. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D45393

--HG--
extra : moz-landing-system : lando
2019-09-11 21:23:25 +00:00
Boris Zbarsky 14c30e58d6 Bug 1578173 part 4. Switch event subclasses to constructor operations. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D45391

--HG--
extra : moz-landing-system : lando
2019-09-11 14:35:28 +00:00
Boris Zbarsky 122af58092 Bug 1578173 part 3. Remove ChromeConstructor. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D45390

--HG--
extra : moz-landing-system : lando
2019-09-11 21:04:12 +00:00
Boris Zbarsky 5d31299907 Bug 1578173 part 2. Convert chrome-webidl bits to constructor operations. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D45389

--HG--
extra : moz-landing-system : lando
2019-09-11 20:55:26 +00:00
Boris Zbarsky c0dd336d70 Bug 1578173 part 1. Add support for constructor operations in the parser. r=edgar
The grammar changes parallel those in https://github.com/heycam/webidl/pull/700

We don't prevent having both a constructor operation and [Constructor] or
[ChromeConstructor], because those extended attributes are about to get
removed, once they are no longer used in our IDL.

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

--HG--
extra : moz-landing-system : lando
2019-09-11 20:44:01 +00:00
Brad Werth 0e430e54bd Bug 1567310 Part 1: Add a ChromeOnly option for suppressing whitespace frames to getBoxQuads. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D45117

--HG--
extra : moz-landing-system : lando
2019-09-12 19:05:10 +00:00
John Lin 92ce0226c3 Bug 1570337 - p7: fix build error/warning for UNIFIED_SOURCES. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D44588

--HG--
extra : moz-landing-system : lando
2019-09-12 18:19:31 +00:00
John Lin 447114ddf7 Bug 1570337 - p6: repeat calling Drain() until no more output. r=jya
Existing tests will fail when there are more than 1 pending frames when Drain()
is called. Repeatly calling it to ensure all frames will be collected.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 18:19:24 +00:00
John Lin 8123c647d7 Bug 1570337 - p5: test initializing encoder both w/ and w/o specific parameters. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D43688

--HG--
extra : moz-landing-system : lando
2019-09-12 18:19:15 +00:00
John Lin 1083967985 Bug 1570337 - p4: implement Android encoder. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D43687

--HG--
extra : moz-landing-system : lando
2019-09-12 18:19:08 +00:00
John Lin 602e27f76e Bug 1570337 - p3: extract method for reuse. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D45109

--HG--
extra : moz-landing-system : lando
2019-09-12 18:19:00 +00:00
John Lin 4c35be9c69 Bug 1570337 - p2: extend and expose H.264 utility functions. r=jya
Some existing functions that manipulates H.264 bitstream already cover
most of the efforts for converting Android encoder output. With some minor
changes, they can be called by the encoder to avoid code duplications.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 18:18:51 +00:00
John Lin 3000d5dcd1 Bug 1570337 - p1: singletonize sPEMLog. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D43685

--HG--
extra : moz-landing-system : lando
2019-09-12 18:18:37 +00:00
alwu 654898b3ab Bug 1580015 - part2 : add test 'test_webvtt_infinite_processing_loop.html'. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D45567

--HG--
extra : moz-landing-system : lando
2019-09-12 08:13:48 +00:00
alwu 104f98fb8c Bug 1580015 - part1 : do not reentry function 'processCues()'. r=heycam
Accessing `offsetXXX` attributes of element, it would trigger reflow, and sometime it would result in a re-entry of `processCue()` because we would call `processCue()` when `resizecaption` occurs.

One specifical case is that, assigning CSS properties `min-width` and `max-width` at the same video element, in thise case, when we re-enter the `processCues()` and access `offsetXXX`. It seems that the layout system would reprocess those properites again and again and dispatch `resizecaption` when we access `offsetXXX`, which causes an infinite loop, starting from receving `resizecaption`, then calling `processCue()`, accessing `offSetXXX`, triggering reflow, sending `resizecaption` event again.

Therefore, we should stop revisiting `processCues()` if we're already running a processing, we should run a processing once at a time.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 08:13:46 +00:00
Zibi Braniecki 8aee81540e Bug 1578370 - Refactor TriggerInitialDocumentTranslation for readability. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D45589

--HG--
extra : moz-landing-system : lando
2019-09-12 16:07:49 +00:00
Tom Tung c960a1a6b6 Bug 1580238 - Extend the release for the prob of initialization time on QM and add another one to catch the longest time; r=janv,sg
Differential Revision: https://phabricator.services.mozilla.com/D45501

--HG--
extra : moz-landing-system : lando
2019-09-11 13:55:50 +00:00
Kris Maglione f261e424d2 Bug 1580377: Re-disable test_reloadInFreshProcess under Fission. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D45670

--HG--
extra : moz-landing-system : lando
2019-09-12 14:17:49 +00:00
Neil Deakin c3bcfee4c1 Bug 1580506, fix incorrect pointerlock message names, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D45577

MANUAL PUSH: re-push with eslint bustage fix

--HG--
extra : rebase_source : 88e90063f4ae11170c7151f21deabe6675971323
extra : amend_source : 5895721851fe48ce4f57f6f33838b5b1885fee3b
extra : source : f779d14e3ab8bb8b31a29601e9391775babbc2da
2019-09-12 12:08:41 +00:00
Razvan Maries 3e9327e5b9 Backed out changeset f779d14e3ab8 (bug 1580506) for ES Lint failure on browser_pointerlock_warning.js. CLOSED TREE 2019-09-12 16:02:04 +03:00
Neil Deakin f00a06829c Bug 1580506, fix incorrect pointerlock message names, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D45577

--HG--
extra : moz-landing-system : lando
2019-09-12 12:08:41 +00:00
Nika Layzell f103e26834 Bug 1579213 - Remove unused fields from ChangeRemoteness API, r=farre
This patch changes a few things about how nsFrameLoader is created, specifically
around the ChangeRemoteness API.

1. The private 'nsFrameLoader::nsFrameLoader' constructor has been simplified to
   only have one overload, shared by the different `::Create` static methods.

2. The creation static method used by `ChangeRemoteness` has changed name to
   `::Recreate`, as the signature is becoming more like the old method.

3. The `mNetworkCreated` bit is preserved when doing a `ChangeRemoteness`, as a
   remoteness change shouldn't be affecting that property.

4. Unused fields are removed from the ChangeRemoteness API.

5. The `remoteType` attribute is now mandatory in the ChangeRemoteness API,
   which simplifies the logic and makes it harder to accidentally misuse.

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

--HG--
extra : moz-landing-system : lando
2019-09-11 08:09:58 +00:00
Kris Maglione d7eecef1e9 Bug 1574593: Silently ignore load attempt on/from discarded BrowsingContext. r=nika
The (non-normative) window.open spec does not specify what should happen when
window.open is called on a window with a null/discarded browsing context, but
in general the lookup and creation rules do not make sense when the window has
no BC. It does, however, specify that we should return null when a target BC
cannot be found or created, and gives us broad discretion over when we decide
to ignore a load request and return null. Since we can't trigger a
cross-process load from a discarded BC, simply aborting in that case seems
like the logical solution.

For Location objects, the spec is more specific, and requires that we ignore
load attempts on Location objects whose documents are null, which in our
implementation corresponds to a discarded BrowsingContext.
LocationBase::SetURI already enforces this, but a second check in
BrowsingContext::LoadURI is probably a good idea as well.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 11:37:01 +00:00
Andreas Pehrson 710f275abc Bug 1575271 - Keep a SharedDummyStream in MediaEncoder for access to the MediaStreamGraph. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D45195

--HG--
extra : moz-landing-system : lando
2019-09-12 11:26:46 +00:00
Andreas Pehrson fdb303d9f1 Bug 1575271 - Add crashtest. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D45194

--HG--
extra : moz-landing-system : lando
2019-09-10 05:29:36 +00:00
Henri Sivonen b9752dabba Bug 1561564 - Introduce a JSString WebIDL type. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D42297

--HG--
extra : moz-landing-system : lando
2019-09-12 10:27:20 +00:00
Mike Conley 69618b0d2e Bug 1579716 - Disable OOP subframe crash test when Fission is not enabled. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D45594

--HG--
extra : moz-landing-system : lando
2019-09-12 07:54:48 +00:00
Jon Coppeard 0de32dc6cd Bug 1580474 - Replace #defines with constants in nsJSEnvironment files r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D45531

--HG--
extra : moz-landing-system : lando
2019-09-12 09:56:52 +00:00
Hiroyuki Ikezoe f61192f0f0 Bug 1541705 - Notify areas of out-of-process subframes from the compositor to the corresponding process. r=botond
Note that the areas are clipped out by all ancestor scroll ports and
their coordinate systems are the screen coordinate.  So that we can tell
arbitrary elements in out-of-process iframes are scrolled out or not with
this area and the transform matrix of the iframe on screen coodinate.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 08:08:45 +00:00
Hiroyuki Ikezoe f869493a22 Bug 1541705 - Factor out functionalities for obsversing animation style counts into testcommon.js. r=boris
We are going to use these functions in gfx/layers/apz/tests/mochitest/ for
fission.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 08:08:20 +00:00
Kris Maglione e1a1356818 Bug 1580220: Fix unhandled rejection logging for cross-origin objects. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D45362

--HG--
extra : moz-landing-system : lando
2019-09-11 14:10:06 +00:00
Alex Chronopoulos 966ab066dc Bug 1580112 - Stop updating the database when the value has not changed. r=alwu
In most of the cases, the value to be stored is the same as the existing value, which does not require an update to the database. Setting something in the database requires disk access. By using this we avoid accessing the disk in the majority of the cases.

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

--HG--
extra : moz-landing-system : lando
2019-09-11 20:21:51 +00:00
Narcis Beleuzu 18c3932ccd Backed out 7 changesets (bug 1570337) for bustages on AndroidDataEncoder.h . CLOSED TREE
Backed out changeset 3fac005abec8 (bug 1570337)
Backed out changeset 46ac027113e1 (bug 1570337)
Backed out changeset ef026d642642 (bug 1570337)
Backed out changeset 1fee7e3711e8 (bug 1570337)
Backed out changeset f98eb813a0e5 (bug 1570337)
Backed out changeset 5f22b364fffa (bug 1570337)
Backed out changeset 28c59c800b76 (bug 1570337)
2019-09-12 04:56:40 +03:00
John Lin 2f38ebe390 Bug 1570337 - p7: fix build error/warning for UNIFIED_SOURCES. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D44588

--HG--
extra : moz-landing-system : lando
2019-09-11 15:12:02 +00:00
John Lin 58beec691c Bug 1570337 - p6: repeat calling Drain() until no more output. r=jya
Existing tests will fail when there are more than 1 pending frames when Drain()
is called. Repeatly calling it to ensure all frames will be collected.

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

--HG--
extra : moz-landing-system : lando
2019-09-11 15:13:46 +00:00
John Lin 61a1b8dbda Bug 1570337 - p5: test initializing encoder both w/ and w/o specific parameters. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D43688

--HG--
extra : moz-landing-system : lando
2019-09-06 22:31:24 +00:00
John Lin a685ec4ca4 Bug 1570337 - p4: implement Android encoder. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D43687

--HG--
extra : moz-landing-system : lando
2019-09-11 15:12:56 +00:00