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

86519 Коммитов

Автор SHA1 Сообщение Дата
Boris Zbarsky c7017dbe7d Bug 1577560. Change the key setup for the document's id and name table to not copy string keys on lookup. r=mccr8.
In the old setup, a lookup with an nsAString key would implicitly construct an
AtomOrString, which would assign the key to an nsString.  This would lead to
copies and heap-allocations if the key was an autostring, which it typically is
when coming from bindings.

This fix improves the performance of the new window-named-property-get.html pref
reftest by about 20-30%, and improves the new getElementById-1.html test by 2-3x.

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

--HG--
extra : moz-landing-system : lando
2019-08-29 17:53:38 +00:00
Andreas Pehrson 4ca24c269d Bug 1573102 - Remove MediaStreamGraphImpl strong-refs from MediaEngineWebRTCAudio. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D43668

--HG--
extra : moz-landing-system : lando
2019-08-29 13:33:08 +00:00
Andreas Pehrson 6319ba4dbc Bug 1573102 - Remove mGraph from MediaStreamTrack::MSGListener. r=karlt
To accomodate this, MediaStreamTrackListener::NotifyEnded/Removed get an
additional aGraph argument. NotifyEnabledStateChanged is getting it too, for
completion.

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

--HG--
extra : moz-landing-system : lando
2019-08-29 13:32:59 +00:00
Andreas Pehrson 04f22f20a5 Bug 1573102 - Remove mGraph from HTMLMediaElement::OutputMediaStream and OutputStreamManager. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D43666

--HG--
extra : moz-landing-system : lando
2019-08-29 13:32:50 +00:00
Andreas Pehrson 5b70e980ff Bug 1573102 - Remove mGraph from HTMLMediaElement::MediaStreamRenderer. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D43665

--HG--
extra : moz-landing-system : lando
2019-08-29 13:32:31 +00:00
Agi Sferro 426bf8391a 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-08-29 16:04:14 +00:00
Andreas Pehrson 46f4203220 Bug 1507193 - Don't leave dangling js promises after seeking. r=jya
Only SeekToNextFrame cares about promises, but prior to this patch the common
method HTMLMediaElement::Seek() would always return a promise.

When the caller was not SeekToNextFrame (e.g., SetCurrentTime, FastSeek), the
promise would end up *not* being exposed. When later rejected, we would catch
this and write an error to the js console.

This patch lifts the handling of the promise out of Seek() and into
SeekToNextFrame() so that we avoid creating promises that would not get exposed
to js.

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

--HG--
extra : moz-landing-system : lando
2019-08-29 14:30:06 +00:00
Tom Ritter 821203b7b6 Bug 1577243 - Backed out changeset cae99e27ccdd, restoring document.timeline and rAF timestamp comparisons r=birtles
Depends on D43788

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

--HG--
extra : moz-landing-system : lando
2019-08-28 23:44:14 +00:00
Boris Zbarsky dd6deca547 Bug 1575204. Fix crash when trying to run worker runnables on a not-ready-for-it worker thread. r=baku
We're getting crashes because either there's no CycleCollectedJSContext or it
has a null JSContext.  Hard to tell which, and whether this is happening
because our runnable comes really early in thread setup or really late in
thread teardown.  In either case, this is restoring the null-check that used to
be there in this code.

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

--HG--
extra : moz-landing-system : lando
2019-08-29 07:40:58 +00:00
Dan Minor fc82a0c5d5 Bug 1554976 - Obfuscate default rtp and rtcp candidates if required; r=ng
The default RTP candidate is used to populate the c= line in SDP. Rather than
using the mDNS address, which sipcc can not parse, we use 0.0.0.0:9, which is
what Chromium has chosen as well [1].

For RTCP, the mDNS obfuscated address is used.

[1] https://webrtc.googlesource.com/src.git/+/3ae59d33a310280e2f21ed4c53849950171e48e8

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

--HG--
extra : moz-landing-system : lando
2019-08-28 19:50:25 +00:00
Dan Minor 69b6cff0bd Bug 1554976 - Disable host address obfuscation for simulated NAT mochitests; r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D38497

--HG--
extra : moz-landing-system : lando
2019-08-28 19:50:13 +00:00
Dan Minor 6c6b65f876 Bug 1554976 - Add plumbing to enable/disable host address obfuscation; r=mjf
This only enables mDNS on OS X for now. Some versions of Windows lack mDNS
support, there are some oddities with resolving IPv6 addresses on Linux, and
Android has not yet been tested. All of these will be addressed in follow on
bugs.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 19:50:06 +00:00
Dan Minor 2665020e51 Bug 1554976 - Copy actual address to CandidateInfo in MediaTransportHandler; r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D38494

--HG--
extra : moz-landing-system : lando
2019-08-28 19:49:36 +00:00
Andreas Pehrson 137f5c591b Bug 1574965 - Remove GraphDriver::Revive. r=karlt,padenot
Depends on D43663

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

--HG--
extra : moz-landing-system : lando
2019-08-28 10:05:22 +00:00
Andreas Pehrson 87b3c4b78a Bug 1574965 - Remove a graph that becomes empty from gGraphs synchronously. r=karlt,padenot
This gives control of the graph's lifetime to main thread. Not being in gGraphs
means it's not meant to be used for any new streams as it will irreversibly be
shutting down.

This obsoletes GraphDriver::Revive.

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

--HG--
extra : moz-landing-system : lando
2019-08-29 12:49:43 +00:00
Nicolas B. Pierron 2b2064b0e4 Bug 1573904 - Measure the potential for a streaming parser. data-review=chutten r=jorendorff,chutten
Differential Revision: https://phabricator.services.mozilla.com/D42039

--HG--
extra : moz-landing-system : lando
2019-08-26 15:26:16 +00:00
Sylvestre Ledru 4dae1553dd Bug 1577236 - clang-10: Fix -Wimplicit-int-float-conversion warnings in dom/base/ r=Ehsan
Depends on D43780

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

--HG--
extra : moz-landing-system : lando
2019-08-29 11:35:42 +00:00
Paul Zuehlcke 735128f5c7 Bug 1559167 - Updated logMessage to support logging of scriptErrors from parent to content process. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D42295

--HG--
extra : moz-landing-system : lando
2019-08-27 17:37:55 +00:00
Andreea Pavel f652361ce2 Backed out changeset f20ce5c7a25c (bug 1575870) for assertion failure at nsNavHistory.cpp on a CLOSED TREE 2019-08-29 13:45:54 +03:00
Frederic Wang ea067f91f0 Bug 1575870. Remove support for XLink on MathML elements. r=emilio
See https://groups.google.com/forum/#!topic/mozilla.dev.platform/70NFnet82cU

This commit introduces a new mathml.xlink.disabled option to disable support
for XLink attributes on MathML elements together with a use counter and
deprecation warning when support is enabled. For now, support is only disabled
in Nighly.

In the past, we relied on custom MathML deprecation warnings but those are
removed here. Corresponding tests for these legacy warning messages are
also removed from test_bug553917.html.

link-1.xhtml is run with XLink support enabled (since it check xlink:href)
while browser_contentAltClick.js is updated to check whether XLink has any
effect on MathML, depending on whether the option is enabled.

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

--HG--
extra : moz-landing-system : lando
2019-08-29 08:20:01 +00:00
Sylvestre Ledru 5a7e9e7eb6 Bug 1577236 - clang-10: Fix -Wimplicit-int-float-conversion warnings in dom/smil r=birtles
Depends on D43778

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

--HG--
extra : moz-landing-system : lando
2019-08-29 06:37:38 +00:00
Mihai Alexandru Michis a105826a55 Backed out 6 changesets (bug 1576407) for causing wpt and mochitest failures. CLOSED TREE
Backed out changeset 3b0498064cbf (bug 1576407)
Backed out changeset 38e4ea431445 (bug 1576407)
Backed out changeset 19bf40067233 (bug 1576407)
Backed out changeset 0ddbc451dcab (bug 1576407)
Backed out changeset 08d4c25fc670 (bug 1576407)
Backed out changeset be7cbc61f825 (bug 1576407)
2019-08-29 03:00:47 +03:00
Kris Maglione 976fe13555 Bug 1576407: Follow-up: Ignore window.opener get/set when BrowsingContext is discarded.
Differential Revision: https://phabricator.services.mozilla.com/D43833

--HG--
extra : moz-landing-system : lando
2019-08-28 21:50:44 +00:00
Sylvestre Ledru acfbfdc9af Bug 1577236 - clang-10: Fix -Wimplicit-int-float-conversion warnings in dom/animation/ r=hiro
Depends on D43779

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

--HG--
extra : moz-landing-system : lando
2019-08-28 21:31:46 +00:00
Edgar Chen ff387f6937 Bug 1576627 - Move MaybeNotifyAutoplayBlocked from Document to HTMLMediaElement; r=alwu
Given that it is used only in HTMLMediaElement.

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

--HG--
extra : moz-landing-system : lando
2019-08-27 21:22:19 +00:00
Dorel Luca 547786f1cd Backed out 3 changesets (bug 1343678) for WPT failures on Android. CLOSED TREE
Backed out changeset 619e7838ebfd (bug 1343678)
Backed out changeset 5010684cdca4 (bug 1343678)
Backed out changeset b01343e4c2eb (bug 1343678)
2019-08-28 23:09:08 +03:00
Kris Maglione 47e9394082 Bug 1576407: Part 5 - Update test expectations to handler cross-process window.opener being available. r=farre
This also sets the fission.rebuild_frameloaders_on_remoteness_change=true
preference for some mochitest directories which require it for cross-process
window.opener to work in top-level windows, and makes a minor change to the
hack in browser_temporary_permissions.js to keep it passing reliably in try
runs.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 18:07:41 +00:00
Kris Maglione 49be7509f5 Bug 1576407: Part 4 - Stop storing opener redundantly on nsGlobalWindowOuter. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D43693

--HG--
extra : moz-landing-system : lando
2019-08-28 18:07:45 +00:00
Kris Maglione a0c3533e18 Bug 1576407: Part 3 - Return window opener as a WindowProxyHolder or BrowsingContext. r=farre
Also adds a legacy `GetSameProcessOpener()` method for callers which can only
deal with in-process windows and may need to be updated for Fission.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 18:07:38 +00:00
Kris Maglione 69502ff746 Bug 1576407: Part 2 - Don't set BrowsingContext opener when forcing noopener. r=farre
We currently handler this correctly for the opener stored on the outer window,
but not on the BrowsingContext.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 18:07:28 +00:00
Kris Maglione a75b009eab Bug 1576407: Part 1 - Add HadOriginalOpener flag to BrowsingContext. r=farre
This is currently only available on the outer window, but needs to move to
BrowsingContext in order from us to remove redundant opener tracking from the
former.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 18:07:31 +00:00
Barret Rennie 6e865b7b87 Bug 1510569 - Use nsIPrincipal and nsIContentSecurityPolicy in WebProgressLocationChangeData directly r=nika
Now that there is an {IPDL}ParamTraits implementation for nsIPrincipal* and
nsIContentSecurityPolicy*, we need not manually transform it to/from a
PrincipalInfo/CSPInfo ourselves.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 18:56:44 +00:00
Barret Rennie 3844e69d02 Bug 1510569 - Add nsIWebProgressListener2 to BrowserChild's interface map r=Ehsan
The members of nsIWebProgressListener2 were added to BrowserChild (then
TabChild) in commit 1028814583232487b52b9c20d47e3b38dc1c288a, but the interface
was never added to the interface map.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 18:56:02 +00:00
Barret Rennie c48dcf7d7c Bug 1510569 - Port onSecurityChange from WebProgressChild.jsm to C++; remove WebProgressChild r=Ehsan,ochameau
This is the last message that WebProgressChild was sending to the
RemoteWebProgress in the parent process, so we can remove the module entirely.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 18:55:45 +00:00
Julian Descottes 541fe531d2 Bug 1575766 - Set mIsDevToolsDocument on DevTools documents r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D43639

--HG--
extra : moz-landing-system : lando
2019-08-28 19:08:17 +00:00
Dorel Luca b09fe526aa Backed out 4 changesets (bug 1510569) for build bustage. CLOSED TREE
Backed out changeset d7db6a1935ce (bug 1510569)
Backed out changeset 03b7cf756a7f (bug 1510569)
Backed out changeset fa318eec0e76 (bug 1510569)
Backed out changeset cecb17bd8c03 (bug 1510569)
2019-08-28 21:46:40 +03:00
Barret Rennie 697c695a3c Bug 1510569 - Use nsIPrincipal and nsIContentSecurityPolicy in WebProgressLocationChangeData directly r=nika
Now that there is an {IPDL}ParamTraits implementation for nsIPrincipal* and
nsIContentSecurityPolicy*, we need not manually transform it to/form a
PrincipalInfo/CSPInfo ourselves.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 18:00:36 +00:00
Barret Rennie d60f7b37a8 Bug 1510569 - Add nsIWebProgressListener2 to BrowserChild's interface map r=Ehsan
The members of nsIWebProgressListener2 were added to BrowserChild (then
TabChild) in commit 1028814583232487b52b9c20d47e3b38dc1c288a, but the interface
was never added to the interface map.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 18:00:27 +00:00
Barret Rennie e0d50ea7ce Bug 1510569 - Port onSecurityChange from WebProgressChild.jsm to C++; remove WebProgressChild r=Ehsan,ochameau
This is the last message that WebProgressChild was sending to the
RemoteWebProgress in the parent process, so we can remove the module entirely.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 18:00:23 +00:00
James Willcox 3c29fb1982 Bug 1343678 - Enable web push pref for GeckoView r=geckoview-reviewers,droeh,smaug
Differential Revision: https://phabricator.services.mozilla.com/D41288

--HG--
extra : moz-landing-system : lando
2019-08-28 16:06:39 +00:00
Agi Sferro 2ad08f6d15 Bug 1576204 - Set remote flag in nsWindow for e10s. r=kmag,snorp
Chrome flags need to be set both on the `window` and the `browser` object.
Right now we only set them on the `browser` objects and that could lead to
unintended consequences. This patch sets the flags to the `window` accordingly.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 18:11:08 +00:00
Yura Zenevich dae04e052b Bug 1564968 - add isElementThemed method to InspectorUtils to infer native theme styling such as focus. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D43441

--HG--
extra : moz-landing-system : lando
2019-08-28 17:49:22 +00:00
Boris Zbarsky 58b843488c Bug 1569735. Move almost all uses of binaryNames out of Bindings.conf and into .webidl files. r=peterv
The one exception, apart from tests, is a place where the constructor is being
renamed, because there is no way to support that syntactically yet.  There will
be if https://github.com/heycam/webidl/issues/636 is fixed.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 17:51:37 +00:00
Andrew Creskey 7134be5031 Bug 1575938 Convert dom/JSEnvironment GC timing constants to StaticPref r=edgar
Converted the following to StaticPrefs so that we can easily test variations:

NS_GC_DELAY
NS_SHRINK_GC_BUFFERS_DELAY
NS_FIRST_GC_DELAY
NS_FULL_GC_DELAY
NS_INTERSLICE_GC_DELAY

NS_USER_INTERACTION_INTERVAL

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

--HG--
extra : moz-landing-system : lando
2019-08-26 15:51:01 +00:00
Coroiu Cristina 57a229355c Backed out changeset dd79fbdfac8d (bug 1507193) for wpt failures at media-source/mediasource-seek-beyond-duration.html on a CLOSED TREE 2019-08-28 20:40:18 +03:00
Gurzau Raul e4ce5cd90c Backed out changeset cbce223800c1 (bug 1540247) for xpcshell failures at test_obsoleteOrigins.js on a CLOSED TREE. 2019-08-28 19:47:27 +03:00
Simon Giesecke fc1e20f375 Bug 1540247 - Expose MozURL::Init to JS for QuotaManager tests r=ttung,asuth
Differential Revision: https://phabricator.services.mozilla.com/D39207

--HG--
extra : moz-landing-system : lando
2019-08-27 18:14:35 +00:00
Frederic Wang 3f8a2878fa Bug 1548524 - Remove attributes deprecated from MathML3. r=emilio
See https://github.com/mathml-refresh/mathml/issues/5#issuecomment-475506856
and https://groups.google.com/forum/#!topic/mozilla.dev.platform/kl5c87mBlO0

This patch introduces a new preference
mathml.deprecated_style_attributes.disabled in order to disable legacy support
for attributes background, color, fontfamily, fontsize, fontstyle and
fontweight. Note that xlink:href will be handled separately in bug 1575870.

* A new counter and deprecation message is introduced for these attributes.
  In nsMathMLElement, the old WarnDeprecated calls are replaced with a single
  call to WarnOnceAbout for the deprecate attributes. Notice that for some
  reason, the color attribute used to send warning in both ParseAttribute and
  MapMathMLAttributesInto.
* sMtableStyles is removed and replaced with a simple comparison.
* sMathML3Attributes is split into two tables: one for script attributes which
  will be handled in bug 1548471 and one for style attributes, handled here.
  The attributes in this second table is now ignored when the feature flag is
  disabled.
* test_bug553917.html is updated so that it no longer checks the old warning
  messages for these attributes. New warning messages have been verified
  manually.
* Reftests checking support for these attributes are run with the support
  enabled.
* Finally, WPT tests are run with the support disabled and a new test
  is added to verify that these attributes are no longer mapped to CSS.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 14:59:55 +00:00
Andreas Pehrson c1e8b487e0 Bug 1507193 - Don't leave dangling js promises after seeking. r=jya
Only SeekToNextFrame cares about promises, but prior to this patch the common
method HTMLMediaElement::Seek() would always return a promise.

When the caller was not SeekToNextFrame (e.g., SetCurrentTime, FastSeek), the
promise would end up *not* being exposed. When later rejected, we would catch
this and write an error to the js console.

This patch lifts the handling of the promise out of Seek() and into
SeekToNextFrame() so that we avoid creating promises that would not get exposed
to js.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 14:57:13 +00:00
Gurzau Raul a6c5c5e3ac Backed out 14 changesets (bug 1554976) for Windows build bustages on a CLOSED TREE.
Backed out changeset a9b209d9d880 (bug 1554976)
Backed out changeset 27b4dddf9597 (bug 1554976)
Backed out changeset 3e16c10bb966 (bug 1554976)
Backed out changeset 6a404fca61dc (bug 1554976)
Backed out changeset 77c4e76c8130 (bug 1554976)
Backed out changeset 24f146b86cc4 (bug 1554976)
Backed out changeset b49b4326dcfd (bug 1554976)
Backed out changeset e2c837d1e0a0 (bug 1554976)
Backed out changeset 24728144c263 (bug 1554976)
Backed out changeset a099e69241a0 (bug 1554976)
Backed out changeset 0e34595c2680 (bug 1554976)
Backed out changeset a506bb40047e (bug 1554976)
Backed out changeset 513026415092 (bug 1554976)
Backed out changeset e0fc6a1d4332 (bug 1554976)
2019-08-28 18:10:11 +03:00
Mirko Brodesser 45015bce27 Bug 1576899: change `nsIContentSerializer` to take output string as argument in `nsIContentSerializer::Init`. r=hsivonen
Before, all `nsIContentSerializer::Append`* methods took an output
string. The state of `nsPlainTextSerializer` depended on the string
pointing to the same object.

Now, it's ensured that the same output string is used between
`nsIContentSerializer::Init` and `nsIContentSerializer::Finish`.

Moreover, `nsHTMLCopyEncoder::EncodeToStringWithContext` re-used
`mSerializer` without initializing it again. This was error-prone,
because after serializing with `mSerializer`, it's internal state might
have changed to an undesirable one (e.g.
`nsPlainTextSerializer::mWrapColumn` could've been modified).
Hence, it is now initialized again before serializing the common
ancestors.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 11:54:49 +00:00
Dan Minor b07a76f4bd Bug 1554976 - Obfuscate default rtp and rtcp candidates if required; r=ng
The default RTP candidate is used to populate the c= line in SDP. Rather than
using the mDNS address, which sipcc can not parse, we use 0.0.0.0:9, which is
what Chromium has chosen as well [1].

For RTCP, the mDNS obfuscated address is used.

[1] https://webrtc.googlesource.com/src.git/+/3ae59d33a310280e2f21ed4c53849950171e48e8

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

--HG--
extra : moz-landing-system : lando
2019-08-28 13:11:42 +00:00
Dan Minor 70005885cc Bug 1554976 - Disable host address obfuscation for simulated NAT mochitests; r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D38497

--HG--
extra : moz-landing-system : lando
2019-08-28 13:11:35 +00:00
Dan Minor 2da923ff0b Bug 1554976 - Add plumbing to enable/disable host address obfuscation; r=mjf
This only enables mDNS on OS X for now. Some versions of Windows lack mDNS
support, there are some oddities with resolving IPv6 addresses on Linux, and
Android has not yet been tested. All of these will be addressed in follow on
bugs.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 13:11:33 +00:00
Dan Minor 717793ab02 Bug 1554976 - Copy actual address to CandidateInfo in MediaTransportHandler; r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D38494

--HG--
extra : moz-landing-system : lando
2019-08-28 13:11:20 +00:00
Bogdan Tara 02e806d54a Backed out 6 changesets (bug 1564968) by yzen's request CLOSED TREE
Backed out changeset 4b7516635108 (bug 1564968)
Backed out changeset c3227d4ff4b3 (bug 1564968)
Backed out changeset 868dbd59c79e (bug 1564968)
Backed out changeset db1a396ab58e (bug 1564968)
Backed out changeset e69163dc4683 (bug 1564968)
Backed out changeset c12857bc6980 (bug 1564968)
2019-08-28 16:06:23 +03:00
Yura Zenevich 830e72a287 Bug 1564968 - add isElementThemed method to InspectorUtils to infer native theme styling such as focus. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D43441

--HG--
extra : moz-landing-system : lando
2019-08-27 03:35:13 +00:00
Emilio Cobos Álvarez 1fab526cce Bug 1554498 - followup: Add a null-check since XBL can call into UnbindFromTree at odd times. a=Aryx,btara
Quite oddly, this is only busting ccov builds... I'm mildly curious about why,
but also not really.

MANUAL PUSH: This bug busted ccov builds which only land on central.
2019-08-28 13:45:38 +02:00
Andreas Pehrson 680502c0ac Bug 1572858 - Tighten MSG::AddStream assert. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D43596

--HG--
extra : moz-landing-system : lando
2019-08-27 22:56:49 +00:00
Bogdan Tara c384db506a Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-08-28 12:47:20 +03:00
Bogdan Tara 786d0c66bc Merge autoland to mozilla-central. a=merge 2019-08-28 12:39:23 +03:00
Mirko Brodesser 914af8665f Bug 1576903: Remove debugging comment added accidentally in bug 1575218. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D43607

--HG--
extra : moz-landing-system : lando
2019-08-28 08:23:23 +00:00
Emilio Cobos Álvarez c19cf5ff3f Bug 1577043 - Turn two anonymous-content-related NS_ASSERTIONs into MOZ_ASSERTs. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D43697

--HG--
extra : moz-landing-system : lando
2019-08-28 09:36:44 +00:00
Cameron Kaiser fd573a0948 Bug 817058 - VMX acceleration for nsTextFragment. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D43566

--HG--
extra : moz-landing-system : lando
2019-08-28 05:03:54 +00:00
shindli 3c01a01df9 Merge autoland to mozilla-central. a=merge 2019-08-28 03:48:53 +03:00
Sebastian Hengst 2e7e5f93bc Backed out changeset 20abb86e0049 (bug 1559841) for several fission regressions, e.g. bug 1576413. a=backout,kmag 2019-08-27 22:26:15 +02:00
Paul Bone 08bc01ab37 Bug 1576814 - Skip tests that timeout r=kmag
Depends on D43572

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

--HG--
extra : moz-landing-system : lando
2019-08-27 19:07:43 +00:00
Paul Bone 36bed861bf Bug 1576814 - These tests are currently failing for fission r=kmag
Depends on D43571

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

--HG--
extra : moz-landing-system : lando
2019-08-27 23:42:25 +00:00
Paul Bone 22abd7da9b Bug 1576814 - Remove fail-if tests that are now passing r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D43571

--HG--
extra : moz-landing-system : lando
2019-08-27 19:05:41 +00:00
Mirko Brodesser 252c68413f Bug 1575839: part 5) Factor out `ReplaceVisiblyTrailingNbsps` from `nsPlainTextSerializer::Write`. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D43419

--HG--
extra : moz-landing-system : lando
2019-08-27 10:41:44 +00:00
Mirko Brodesser ff890f861f Bug 1575839: part 4) Remove `nsPlainTextSerializer::Write::atFirstColumn`. r=hsivonen
Its value was at all places where it's read equal to
`outputLineBreak` which is now used instead.

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

--HG--
extra : moz-landing-system : lando
2019-08-27 10:40:47 +00:00
Mirko Brodesser 85412ffd47 Bug 1575839: part 3) Simplify assignment to `nsPlainTextSerializer::Write::atFirstColumn`. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D43417

--HG--
extra : moz-landing-system : lando
2019-08-27 10:40:39 +00:00
Mirko Brodesser e2bc2108a5 Bug 1575839: part 2) Declare some methods `const` or `static`. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D43416

--HG--
extra : moz-landing-system : lando
2019-08-27 10:40:30 +00:00
Mirko Brodesser 86fa840e79 Bug 1575839: part 1) Add `nsPlainTextSerializer::Settings::HasFlag`. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D43415

--HG--
extra : moz-landing-system : lando
2019-08-27 10:40:16 +00:00
Emilio Cobos Álvarez 0176e7d22e Bug 1554498 - Fix an assertion that starts firing with the previous patch after addressing review feedback. r=smaug
After addressing review comments in the other patch of this bug, debug builds
assert all the time here when called from UnbindFromTree() on an already-unbound
subtree.

We clear the binding parent on unbind, so this is only guaranteed to match for
connected nodes, as far as I can tell.

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

--HG--
extra : moz-landing-system : lando
2019-08-27 22:09:26 +00:00
Emilio Cobos Álvarez 3efe2b6ed0 Bug 1554498 - Don't use nsIMutationObserver for ShadowRoot. r=smaug
This penalizes a bit non-shadow-DOM content, in exchange of making Shadow DOM
slightly faster as well.

The biggest advantage of this is that all ContentRemoved notifications would see
the flattened tree before the changes, which is something a11y needs to be
correct.

XBL would still not be handled right by a11y, but that's not new and content
cannot do random stuff with XBL so it's not too bad.

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

--HG--
extra : moz-landing-system : lando
2019-08-27 22:10:46 +00:00
longsonr 40d4617494 Bug 1570799 - pass the original element into nsXMLContentSerializer::CheckElementEnd so that we can determine whether it has children properly r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D43450

--HG--
extra : moz-landing-system : lando
2019-08-27 20:33:46 +00:00
Andreas Pehrson a6e5ed4ab7 Bug 1573536 - Allow gUM with audio:{mediaSource:audioCapture} and video:true simultaneously. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D42531

--HG--
extra : moz-landing-system : lando
2019-08-26 14:54:22 +00:00
Andreas Pehrson b0320d7a8a Bug 1573536 - Add crashtest. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D42530

--HG--
extra : moz-landing-system : lando
2019-08-27 07:36:40 +00:00
alwu c5413ef080 Bug 1572939 - part2 : remove editable content tests. r=masayuki
As we will allow user inputs on editable content to activate document, we should remove them from black list test.

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

--HG--
extra : moz-landing-system : lando
2019-08-27 04:46:13 +00:00
alwu 4f544e7be2 Bug 1572939 - part1 : allow user inputs on editable content to activate document. r=masayuki
As Chrome and Safari didn't block autoplay when haiving user input on editable content, it causes a compatible issue on Firefox because we only allow user inputs happening on non-editable content to activate document.

It seems that we don't really need to restrict that user inputs, which can activate document, should only occur on non-editable content.
Even if they occur on non-editable content, it might still have a chance to annoy user, it's totally depending on websites' design.

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

--HG--
extra : moz-landing-system : lando
2019-08-27 04:45:05 +00:00
Andreas Pehrson 0005a9e68a Bug 1571667 - Lift constraint checking of deviceId and groupId out of MediaEngineSources. r=jib
Before this patch, it was unclear who was responsible for checking deviceId and
groupId constraints for devices. MediaManager was doing it through one path for
getUserMedia, with the help of the devices, as part of selecting the
best-fitting device. However, Reconfigure() took another path where the regular
backends for camera and microphone were implemented correctly, but fake devices
were left out so automated tests for applyConstraints were failing.

This patch lifts the responsibility for checking deviceId and groupId
constraints out of the MediaEngineSources into MediaDevice, which already is the
owner of the anonymized ids that MediaEngineSources are unaware of.
This makes constraints checking a two-staged approached where deviceId and
groupid goes first. If they satisfy the constraints, the underlying device is
queried for whether the constraints fit.

As a bonus, this unclutters a lot of the MediaEngineSource interface.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 08:39:57 +00:00
Andreas Pehrson b150866dce Bug 1571667 - Memoize capabilities in MediaEngineRemoteVideoSource. r=jib,dminor
Differential Revision: https://phabricator.services.mozilla.com/D41241

--HG--
extra : moz-landing-system : lando
2019-08-28 08:39:50 +00:00
Chun-Min Chang ce631c35ff Bug 1523920 - P4: Move the state from SpeechSynthesisUtterance to nsSpeechTask. r=eeejay
It would be easier to reuse the utterance if it's stateless. The state
could still be tracked by moving from SpeechSynthesisUtterance to
nsSpeechTask, which is the place to change the state in original
implementation. By removing state in utterance, we don't need to check
the state of utterance when it's pushed into the speech queue.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 20:37:02 +00:00
Chun-Min Chang a6590ebebf Bug 1523920 - P2: Destroy AudioChannelAgent when error occurs. r=eeejay
When error occurs, there is no need to use audio.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 20:11:27 +00:00
Chun-Min Chang cd92fea69f Bug 1523920 - P1: Align the LOG policy in the nsSpeechTask. r=eeejay
All the LOG are placed in Dispatch*Impl except DispatchErrorImpl. Move
the LOG from DispatchError to DispatchErrorImpl to align the LOG policy
in the nsSpeechTask.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 20:11:17 +00:00
Mihai Alexandru Michis ac5564a095 Merge mozilla-central to autoland. 2019-08-27 02:02:26 +03:00
Mihai Alexandru Michis 42b26a5a1a Merge inbound to mozilla-central. a=merge
--HG--
rename : dom/base/Location.cpp => dom/base/LocationBase.cpp
rename : dom/base/Location.h => dom/base/LocationBase.h
2019-08-27 01:31:58 +03:00
Andrew McCreight 2a7c750b84 Bug 1575711 - CallerSubsumes should return false for remote object proxies. r=peterv
This check is used to reject cross-origin objects from being passed in
as |any| or |object| parameters to WebIDL methods. Remote object
proxies are technically same-origin, but we want to make them behave
the same as when Fission is not enabled.

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

--HG--
extra : moz-landing-system : lando
2019-08-26 18:26:02 +00:00
Andreea Pavel fb6a57f9b8 Backed out 2 changesets (bug 1532994) for build bustages on a CLOSED TREE
Backed out changeset 5b1337b35e30 (bug 1532994)
Backed out changeset c906462eddc7 (bug 1532994)
2019-08-26 21:22:39 +03:00
Kris Maglione 4814bcf9a6 Bug 1532994: Part 2 - Support SetHref() and Replace() in RemoteLocationProxy. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D43328

--HG--
extra : moz-landing-system : lando
2019-08-26 11:45:16 +00:00
Kris Maglione 773bf2d878 Bug 1532994: Part 1 - Move cross-origin-accessible Location logic to base class. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D43327

--HG--
rename : dom/base/Location.cpp => dom/base/LocationBase.cpp
rename : dom/base/Location.h => dom/base/LocationBase.h
extra : moz-landing-system : lando
2019-08-26 10:40:08 +00:00
Andreea Pavel 38b21106da Backed out changeset 31f52909af17 (bug 1575711) for failing test_bug1036214.html on a CLOSED TREE 2019-08-26 20:50:21 +03:00
Sebastian Streich 0fac17f172 Bug 1576039 - Adding more Time to Prevent Timeouts r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D43454

--HG--
extra : moz-landing-system : lando
2019-08-26 16:41:16 +00:00
Andrew McCreight 06cff83c9f Bug 1575711 - CallerSubsumes should return false for remote object proxies. r=peterv
This check is used to reject cross-origin objects from being passed in
as |any| or |object| parameters to WebIDL methods. Remote object
proxies are technically same-origin, but we want to make them behave
the same as when Fission is not enabled.

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

--HG--
extra : moz-landing-system : lando
2019-08-26 11:56:50 +00:00
Kris Maglione 06bd2c54e9 Bug 1532994: Part 2 - Support SetHref() and Replace() in RemoteLocationProxy. r=farre
MANUAL PUSH: Can't update phabricator patch.

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

--HG--
extra : rebase_source : 66fc9a03238921b6f72b0e6a88b1ee7769edc940
extra : histedit_source : 57e8defe42bc9954bab8455bfd1f15aa2f45d01f
2019-08-23 16:20:37 -07:00
Kris Maglione c1bf7db314 Bug 1532994: Part 1 - Move cross-origin-accessible Location logic to base class. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D43327

--HG--
rename : dom/base/Location.cpp => dom/base/LocationBase.cpp
rename : dom/base/Location.h => dom/base/LocationBase.h
extra : rebase_source : 304f876fac6b06d4707b78b93acc1fdfe3d9a4f2
2019-08-23 15:26:51 -07:00
Boris Zbarsky 7d2bac0334 Bug 921496 part 2. Remove NavigatorProperty. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D40111

--HG--
extra : moz-landing-system : lando
2019-08-26 19:00:04 +00:00
Boris Zbarsky 3c20a5844b Bug 921496 part 1. Remove the one consumer of NavigatorProperty. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D40110

--HG--
extra : moz-landing-system : lando
2019-08-26 18:56:34 +00:00
Mirko Brodesser 3ec84ce64d Bug 1575495: part 5) Add comment to `setWrapColumn` that value 0 disables wrapping. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D42841

--HG--
extra : moz-landing-system : lando
2019-08-23 13:17:08 +00:00
Mirko Brodesser 887a1c3c6d Bug 1575495: part 4) Add `AddLineBreak` to `CurrentLineContent`. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D42840

--HG--
extra : moz-landing-system : lando
2019-08-23 14:00:50 +00:00
Mirko Brodesser eea034bd57 Bug 1575495: part 3) Sync argument names of declaration and definition of `DoAddText`. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D42839

--HG--
extra : moz-landing-system : lando
2019-08-23 13:16:46 +00:00
Mirko Brodesser 6515718068 Bug 1575495: part 2) Move `MaybeReplaceNbspsForOutput` to `CurrentLineContent`. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D42838

--HG--
extra : moz-landing-system : lando
2019-08-23 13:16:37 +00:00
Mirko Brodesser 7dc44a76e6 Bug 1575495: part 1) Simplify assignments to `mAtFirstColumn`. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D42837

--HG--
extra : moz-landing-system : lando
2019-08-23 13:16:30 +00:00
Brad Werth 5ba85219c5 Bug 1575097 Part 3: Make nsScreen::GetRDMScreenSize get the size from the window. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D42745

--HG--
extra : moz-landing-system : lando
2019-08-25 23:53:54 +00:00
Brad Werth ea3e370cf2 Bug 1575097 Part 2: Make nsScreen::GetRDMScreenSize accept a CSSIntSize instead of an nsRect. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D42743

--HG--
extra : moz-landing-system : lando
2019-08-25 23:53:31 +00:00
Brad Werth 5dccfe286b Bug 1575097 Part 1: Add a method nsGlobalWindowOuter::GetRDMDeviceSize and use it in GetOuterSize. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D43130

--HG--
extra : moz-landing-system : lando
2019-08-25 23:53:04 +00:00
Edgar Chen 20182dbcb2 Bug 1576154 - Check mSVGDocumentWrapper when trying to report use counters; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D43256

--HG--
extra : moz-landing-system : lando
2019-08-25 22:45:33 +00:00
Jan Varga 359aa0d597 Bug 1576453 - Fix a problem with unused variable in non-nightly builds; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D43357

--HG--
extra : moz-landing-system : lando
2019-08-25 17:39:17 +00:00
Jan Varga f4529437df Bug 1563023 - Part 9: Ignore quota cache if LSNG is disabled; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D39881

--HG--
extra : moz-landing-system : lando
2019-08-25 00:45:41 +00:00
Jan Varga f4d108788b Bug 1563023 - Part 8: Ignore quota cache if the user loads the same profile in different builds; r=asuth
This patch adds support for quota cache invalidation if the profile is loaded in different builds.

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

--HG--
extra : moz-landing-system : lando
2019-08-25 00:45:19 +00:00
Jan Varga 3e97ea2f34 Bug 1563023 - Part 7: Implement caching functionality; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D38817

--HG--
extra : moz-landing-system : lando
2019-08-25 01:34:37 +00:00
Cosmin Sabou 8a4a4f0f3a Bug 1564700 - Disable test_bug949946.html for causing crashes on Android. r=intermittent-reviewers,gbrown
Differential Revision: https://phabricator.services.mozilla.com/D43345

--HG--
extra : moz-landing-system : lando
2019-08-24 23:04:49 +00:00
Ciure Andrei 0a6d4a24f8 Merge inbound to mozilla-central. a=merge 2019-08-24 12:51:09 +03:00
Alex Vincent cec0c5cbdb Bug 1508169, Remove performAction* from nsITreeView.idl in mozilla-central. r=peterv, johannh
performAction, performActionOnRow and performActionOnCell are methods of the
nsITreeView interface that are never called.  This is to remove these methods.
A comm-central patch will be along shortly.

Differential Revision: https://phabricator.services.mozilla.com/D39273
2019-08-24 00:49:55 +02:00
Edwin Gao ae04af04bb Bug 1576011 - set expectation for tests in gl1c for tests that pass in Debian 10 r=jmaher
Changes:
- when specifying `fail-if` condition for linux platform, narrow down the scope using Ubuntu version `16.04` since some tests are passing on Debian 10

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

--HG--
extra : moz-landing-system : lando
2019-08-23 17:41:16 +00:00
Kashav Madan 508a24d1a6 Bug 1562264 - Update skip-if annotations, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D41763

--HG--
extra : moz-landing-system : lando
2019-08-23 16:05:08 +00:00
Kashav Madan ea42e15279 Bug 1562264 - Propagate remote/fission flags from parent to child for content window.open() calls, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D40836

--HG--
extra : moz-landing-system : lando
2019-08-23 16:06:09 +00:00
Csoregi Natalia 77448b7aee Bug 1554808 - Disabled test_streams_element_capture.html on all platforms. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D43235

--HG--
extra : moz-landing-system : lando
2019-08-23 17:56:52 +00:00
Jonathan Watt 4562fab69f Bug 1559841. Make the 'load' event wait for OOP-iframes to load. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D41953

--HG--
extra : moz-landing-system : lando
2019-08-24 00:03:54 +00:00
Kearwood "Kip" Gilbert 291ee2b5f1 Bug 1574682 - Implement VREventObserver::NotifyEnumerationCompleted r=imanol
Differential Revision: https://phabricator.services.mozilla.com/D43202

--HG--
extra : moz-landing-system : lando
2019-08-23 06:30:56 +00:00
Ehsan Akhgari 1b69ad9fa2 Bug 1575609 - Switch away from using Fission-incompatible inprocess APIs for finding the window top in the anti-tracking backend; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D42974

--HG--
extra : moz-landing-system : lando
2019-08-22 17:22:08 +00:00
Ehsan Akhgari ba7fe6ea70 Bug 1556015 - Retrieve the content blocking log using an IPC stream in order to support logs of arbitrary sizes; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D42959

--HG--
extra : moz-landing-system : lando
2019-08-22 17:17:34 +00:00
Logan Smyth 66e57fe122 Bug 1562708 - Allow disabling of the mutation event warning for system-group event listeners. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D43147

--HG--
extra : moz-landing-system : lando
2019-08-23 14:35:05 +00:00
Jan Varga 76cfa3e3e3 Bug 1563023 - Part 6: Simplify iterations over all client types; r=asuth
This patch converts index based client type loops to iterator based client type
loops. This way the static cast is avoided and the loops are simpler and more
readable.

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

--HG--
extra : moz-landing-system : lando
2019-08-23 04:48:36 +00:00
Jan Varga d97b501006 Bug 1563023 - Part 5: Rationalize Client::TypeToText and Client::TypeFromText methods; r=asuth
This patch makes it easier to create new Client::TypeTo and Client::TypeFrom
variations by creating generic reusable helpers.

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

--HG--
extra : moz-landing-system : lando
2019-08-23 04:49:14 +00:00
Jan Varga a650fac7b0 Bug 1563023 - Part 4: Get rid of custom usage tracking in LS by using client usage tracked by QM; r=asuth
This patch gets rid of gUsages in LSNG. This provides better consistency and
makes it easier to cache quota info on disk.
The patch also fixes some edge cases when usage was not adjusted correctly after
a failed file or database operation.

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

--HG--
extra : moz-landing-system : lando
2019-08-23 04:46:14 +00:00
Jan Varga 0e46119bb9 Bug 1563023 - Part 3: Change client usage type to support the null value; r=asuth
This patch wraps the uint64_t type in a Maybe container, so the client usage can
represent a state when there are no files on disk for the given client. Zero
usage then represents a state when there are some files but they are empty or
the client tracks logical size (not physical size of files on disk) and the
logical size is zero. This can be useful especially for LocalStorage.

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

--HG--
extra : moz-landing-system : lando
2019-08-22 20:52:09 +00:00
Abdoulaye O. Ly 92b69fc0cb Bug 1574269 - Improve in-tree documentation for fission. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D43101

--HG--
extra : moz-landing-system : lando
2019-08-22 21:56:50 +00:00
Kearwood "Kip" Gilbert 29c4fe1941 Bug 1574681 - VRManagerChild::GetVRDisplays returns void rather than bool r=thomasmo
Differential Revision: https://phabricator.services.mozilla.com/D42399

--HG--
extra : moz-landing-system : lando
2019-08-22 14:59:53 +00:00
Frédéric Wang 8f3b2a9292 Bug 1575542 - Add counter and warnings for deprecated MathML lengths. r=emilio
This commit introduces new counters and deprecation warnings for the following
MathML features:
* mathspace names (bug 1575542)
* mathsize names (bug 1548527)
* linethickness names (bug 1548529)

Note: helper parsing functions for mfrac and mpadded are changed to non-static
in order to pass the document parameter needed to log warnings to the console.

Change manually tested with
    <math>
      <mspace width="thinmathspace"></mspace>
      <mpadded width="2thickmathspace"></mpadded>
      <mfrac linethickness="thin"><mn>1</mn><mn>2</mn></mfrac>
      <mtext mathsize="big">3</mtext>
    </math>

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

--HG--
extra : moz-landing-system : lando
2019-08-22 06:29:26 +00:00
Jan Varga 9ab967ef1e Bug 1563023 - Part 2: Add support for getting origin usage from memory; r=asuth
This patch modifies getUsageForPrincipal to support getting origin usage from
memory. Support for getting group usage is factored out to a standalone method
called Estimate.
Operations based on NormalOriginOperationBase can now avoid directory locking
if they don't touch disk.

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

--HG--
extra : moz-landing-system : lando
2019-08-22 20:51:09 +00:00
Kris Maglione fb8619c074 Bug 1563578: Make browser_getActor_filter.js Fission-compatible.
Differential Revision: https://phabricator.services.mozilla.com/D36974

--HG--
extra : moz-landing-system : lando
2019-08-22 20:28:36 +00:00
Noemi Erli 2d0fff3267 Backed out changeset 4bedbc45e231 (bug 1505412) for failures in test_bug1505412.html CLOSED TREE 2019-08-22 19:52:49 +03:00
Andrew McCreight ff786abc93 Bug 1575272 - Fix DOM bindings tests to work with Fission. r=peterv
These test that various DOM things fail when done
cross-origin. They'll fail in a different way if done cross-process,
so change the origin used so that it is same-process, but
cross-origin, even with Fission.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 20:10:33 +00:00
Johann Hofmann e91d880e08 Bug 1570674 - Default to "Never Allow" for notification permission prompt denials. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D43081

--HG--
extra : moz-landing-system : lando
2019-08-22 16:24:56 +00:00
Sebastian Streich 140ba11647 Bug 1536058 - Add a Test for cache isolation r=ckerschb,Ehsan
***
Adding Ehsans nits
***

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

--HG--
extra : moz-landing-system : lando
2019-08-22 15:21:09 +00:00
Sebastian Streich 5c3cba344d Bug 1505412 - Skip CSP-Nonce check for CSP-Ro+Redirected Channels r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D36916

--HG--
extra : moz-landing-system : lando
2019-08-22 15:23:17 +00:00
Jan Varga 9f906cd7c4 Bug 1563023 - Part 1: Implement per client usage tracking; r=asuth
This patch adds a fixed-size array of client usages to OriginInfo and modifies
quota tracking APIs to require the client type to be passed in.
A new method ResetUsageForClient is implemented. The method is used during
client-specific origin clearing. ResetUsageForClient is much faster than calling
GetUsageForOrigin and calling DecreaseUsageForOrigin after that.
LockedUsage now has an assertion that verifies that the total sum of client
usages matches total origin usage. This method should be called instead of
touching mUsage directly.
A new assertion is added to GetQuotaObject which verifies that passed file
belongs to the given persistence type, origin, and client.

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

--HG--
extra : moz-landing-system : lando
2019-08-22 13:06:48 +00:00
Christian Holler a5c67a2bba Bug 1567170 - Avoid thread leak in media fuzzing target. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D41719

--HG--
extra : moz-landing-system : lando
2019-08-22 10:29:29 +00:00
Cosmin Sabou a5e3e00d01 Bug 1571583 - Disable test_urgent_start.html on mac debug cause of leaks. r=jmaher 2019-08-22 10:02:17 +03:00
Marcos Cáceres f5706147e3 Bug 1575140 - Manifest ImageResource sizes should be an array r=baku
per spec, the ImageResource sizes member should be returned as an array.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 10:29:16 +00:00
Frédéric Wang 90172bae44 Bug 1575596 - MathML Lengths: Do not accept numbers ending with a dot. r=emilio
See https://github.com/mathml-refresh/mathml/issues/23
and https://groups.google.com/forum/#!topic/mozilla.dev.platform/wIjm9JjVHNg

This commit introduces a new preference option
mathml.legacy_number_syntax.disabled to disable legacy MathML numbers
(e.g. "1234.") that are not supported by CSS. This feature is now disabled by
default.

* test_bug553917.html is updated to check that such legacy values now cause an
  error message to be logged into the console when the feature is disabled.
* Legacy MathML features are now disabled for WPT mathml test in a global
  __dir__.ini file. Removing legacy numbers allow to pass
  mathml/relations/css-styling/lengths-2.html

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

--HG--
extra : moz-landing-system : lando
2019-08-21 23:49:36 +00:00
Nika Layzell 33acd18c7e Bug 1570369 - Part 16: Use IPDL refcounted for POfflineCacheUpdate, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D40267

--HG--
extra : moz-landing-system : lando
2019-08-16 10:55:52 +00:00
Andreas Pehrson 3321f57840 Bug 1573524 - In MediaRecorder::MediaStreamReady, get the graph rate from a track that's guaranteed live. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D42525

--HG--
extra : moz-landing-system : lando
2019-08-26 07:48:23 +00:00
Mirko Brodesser 1a703a2360 Bug 1575585: prevent mutating individual members of `nsPlainTextSerializer::Settings`. r=hsivonen
Reasoning about this class and its callers becomes easier.

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

--HG--
extra : moz-landing-system : lando
2019-08-26 12:00:58 +00:00
Andreas Farre 6e42fb98f8 Bug 1563619 - Handle subframe crashes in BrowserParent::ActorDestroy. r=mconley,kmag,peterv
Differential Revision: https://phabricator.services.mozilla.com/D40937

--HG--
extra : moz-landing-system : lando
2019-08-26 13:08:32 +00:00
Emilio Cobos Álvarez 70b6fda902 Bug 1575926 - Check that we have a target in CalculateCumulativeChangeHint. r=hiro
Seems we'll update the change hint properly via SetTarget if we get a new
target.

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

--HG--
extra : moz-landing-system : lando
2019-08-26 09:08:22 +00:00
Mike Hommey 66d7fe943e Bug 1575420 - Replace MOZ_WIDGET_TOOLKIT value of "gtk3" with "gtk". r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D42765

--HG--
extra : moz-landing-system : lando
2019-08-21 12:25:42 +00:00
Jan Varga dc66b57d8b Bug 1574569 - Don't abort LocalStorage requests when a sync message from parent is detected; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D42796

--HG--
extra : moz-landing-system : lando
2019-08-21 20:24:00 +00:00