Commit Graph

612868 Commits

Author SHA1 Message Date
Andrew McCreight
a5868c8235 Bug 1489617 - Get rid of XUL box related component registrations. r=Ehsan
Plus various boilerplate that is only used for the component registration.

Depends on D5289

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

--HG--
extra : moz-landing-system : lando
2018-09-09 15:05:18 +00:00
Xidorn Quan
04533463d7 Bug 1489387 - Have fullscreenerror event aligned to refresh driver tick. r=smaug
Depends on D5235

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

--HG--
extra : moz-landing-system : lando
2018-09-09 23:33:40 +00:00
Csoregi Natalia
6e3feb9c6b Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-10 00:48:15 +03:00
Csoregi Natalia
9f94b94ff3 Merge inbound to mozilla-central. a=merge 2018-09-10 00:43:53 +03:00
Narcis Beleuzu
24dd43668a Bug 1336075 - Disable browser_largeAllocation_non_win32.js on linux and mac for frequent failures. r=jmaher 2018-09-09 01:43:00 +03:00
Andrea Marchesini
f7df966db8 Bug 1489077 - Report to console when cookie permission is granted for trackers, r=ehsan 2018-09-09 20:03:09 +02:00
Cosmin Sabou
398ea88933 Merge mozilla-central to mozilla-inbound. a=merge 2018-09-09 01:03:00 +03:00
Cosmin Sabou
d4ef4e9747 Merge mozilla-inbound to mozilla-central. a=merge 2018-09-09 01:00:14 +03:00
Dão Gottwald
7e22f63cfb Bug 1489743 - Fix and clean up .toolbarbutton-menu-dropmarker styling after dropmarker.css changes. r=ntim 2018-09-08 15:36:37 +02:00
Joel Maher
dbbf14a45e Bug 1488689 - Add Octane shell benchmark to raptor. r=ahal
Add Octane to the jsshell-bench framework.

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

--HG--
extra : moz-landing-system : lando
2018-09-08 11:00:16 +00:00
Daniel Holbert
f26874e5ee Bug 1489696: Adjust Scheduler::GetPrefs() return type to let it benefit from RVO and to address -Wreturn-std-move build warning. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D5340

--HG--
extra : moz-landing-system : lando
2018-09-08 01:06:21 +00:00
Cosmin Sabou
dc72962df3 Backed out changeset 68805212630a (bug 1482752) for causing build bustages on dom/fetch. CLOSED TREE 2018-09-08 20:46:04 +03:00
Thomas Wisniewski
4d92a94c0d Bug 1482752 - Have Fetch bodies use File blobs for local files instead of regular blobs. r=baku
Have Fetch bodies use File blobs for local files instead of regular blobs.

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

--HG--
extra : moz-landing-system : lando
2018-09-08 14:34:37 +00:00
Mike Hommey
f9e00e249f Bug 1489728 - Unbreak MSVC builds after bug 1489363 r=froydnj
MSVC doesn't like AssignLiteral(condition ? "literal1" : "literal2")
even when both literals have the same length. (clang and gcc are both
happy with that)

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

--HG--
extra : moz-landing-system : lando
2018-09-08 11:38:57 +00:00
Coroiu Cristina
3c60ff7914 Merge mozilla-central to autoland a=merge 2018-09-08 16:21:27 +03:00
Coroiu Cristina
ed3ad91678 Merge inbound to mozilla-central a=merge 2018-09-08 16:17:31 +03:00
Cristina Coroiu
25e49284f9 Bug 1482004 - Disable browser_ext_browserAction_popup_resize.js for frequent failures r=jmaher 2018-09-08 02:56:00 +03:00
Daniel Varga
39123ed0a9 Merge mozilla-central to mozilla-inbound a=merge
--HG--
extra : amend_source : e8894d01270a9899bbbf144ea05ebed716660ba4
2018-09-08 07:01:36 +03:00
Daniel Varga
1539df295b Merge mozilla-inbound to mozilla-central a=merge 2018-09-08 06:53:43 +03:00
Andreea Pavel
69e3cd3bb2 Backed out changeset 1507ae5193d7 (bug 1128458) for failing bc at toolkit/mozapps/extensions/test/browser/browser_discovery.js 2018-09-08 06:00:09 +03:00
divyansh
3f176f3b98 Bug 1128458 - Discovery pane now sends only information of addons supported by addons.mozilla.com prior to which it sent info of all addons. a=aswan
Summary:
Bug 1128458 - Discovery pane now sends only information of addons supported by addons.mozilla.com prior to which it sent info of all addons.


Reviewers: aswan

Reviewed By: aswan

Bug #: 1128458

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

--HG--
extra : rebase_source : f7edbe5f4b2d122c3c752478f38207462e87095d
extra : histedit_source : ab83709ca57ee078a83b7993c4c391282a941790
2018-09-08 04:55:42 +03:00
Csoregi Natalia
ef2ff61afa Backed out changeset 4ed98e49718c (bug 1489387) for element-request-fullscreen-active-document.html failures. CLOSED TREE 2018-09-08 04:37:09 +03:00
Kris Maglione
09c4acee00 Fix absurd assertion message. r=me (no bug) DONTBUILD
--HG--
extra : amend_source : 7a8cf1806e7b6a9f9b64e463882ea6136ff1f54d
2018-09-07 17:38:58 -07:00
Csoregi Natalia
0400fe7b57 Backed out changeset bd8baf88f373 (bug 1468222) for test_security-info-parser.js failures. CLOSED TREE 2018-09-08 03:16:25 +03:00
Gabriel Luong
77b3ad5206 Bug 1478397 - Part 8: Refactor the flex item shown to prevent it from being hidden on reflow updates. r=rcaliman
- This removes the "shown" property from the flexItem types, and introduces a flexItemShown
property in the flexbox state that keeps track of the node actor ID of the flex item that is shown.
2018-09-07 20:00:30 -04:00
Gabriel Luong
74d7f402ee Bug 1478397 - Part 7: Add a flex item selector in the flexbox panel. r=rcaliman 2018-09-07 20:00:27 -04:00
Jared Wein
aebbdcfa2c Bug 1482808 - Clear the field-specific merchant error invalid state when the field has been edited. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D5081

--HG--
extra : moz-landing-system : lando
2018-09-07 23:15:09 +00:00
Jared Wein
6415cfa9e8 Bug 1485837 - Position merchant field-specific error messages relative to the height of their related input field. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D5302

--HG--
extra : moz-landing-system : lando
2018-09-07 23:18:50 +00:00
Ted Campbell
32c07d8408 Bug 1489806 - Avoid using namespaces across modules of js/src r=jwalden
To reduce coupling between components of engine, avoid top-level |using
namespace js::...;| between distinct components. This fixes most but a
few very intertwined cases remain.

MozReview-Commit-ID: 1ftg5aIADpt

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

--HG--
extra : moz-landing-system : lando
2018-09-09 06:15:25 +00:00
Andrew McCreight
351cb0c4ac Bug 1489571 - Remove unused @mozilla.org/dom/storagemanager. r=Ehsan
Depends on D5126

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

--HG--
extra : moz-landing-system : lando
2018-09-09 15:04:17 +00:00
chansuke
41097313c4 Bug 1489862 - Format style component. r=emilio
This cherry-picks servo/servo#21652.
2018-09-09 17:03:19 +02:00
shindli
55d70d1e02 Backed out changeset 07c23fd98229 (bug 1489437) for multiple failures in nsHtml5DocumentBuilder 2018-09-09 12:09:56 +03:00
Boris Chiou
58b7c8f2bd Bug 1486094 - Part 5: Use the standalone struct and enum for the flags in SVG path. r=emilio,birtles
We define the standalone types for using derive macro easily and overriding
the behaviors of this traits. This could avoid defining the general
behavior of booleans.

Depends on D4788

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

--HG--
extra : moz-landing-system : lando
2018-09-07 22:25:59 +00:00
Boris Chiou
a969445b87 Bug 1486094 - Part 4: Write tests for ComputeSquaredDistance on SVGPathData. r=birtles
Add tests for ComputeSquaredDistance on |offset-path:path()|.

Depends on D4791

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

--HG--
extra : moz-landing-system : lando
2018-09-07 22:18:29 +00:00
Boris Chiou
f11f05d3e1 Bug 1486094 - Part 3: Add reftests for interpolations of offset-path and clip-path. r=birtles
In order to make sure the rendering result is correct, we add some
reftests here.

Depends on D4787

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

--HG--
extra : moz-landing-system : lando
2018-09-07 22:17:35 +00:00
Boris Chiou
6604dde882 Bug 1486094 - Part 2: Make offset-path:path() animatable. r=birtles
Here, we change the animation type of offset-path as ComputedValue, so
we could do animation on it. Also enable the wpt for offset-path
interpolation. In test_transition_per_property.html, we add some basic tests
ifor offset-path.

ToAnimatedZero for PathCommand will be dropped later.

Because the animations of arcs with mismatched flags are fallen back to
discrete animations, the result of getComputedValue is not normalized in this
case. This makes some wpt failed even though the progress is 100%.

Depends on D4786

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

--HG--
extra : moz-landing-system : lando
2018-09-07 22:29:12 +00:00
Boris Chiou
7f3e5437ff Bug 1486094 - Part 1: Make SVGPathData and |clip-path:path()| animatable. r=birtles
Implement Animate trait for SVGPathData.

The basic idea is: we normalize |this| and |other| svg paths, and then
do interpolation on the normalized svg paths. The normalization is to
convert relative coordinates into absolute coordinates, so we could do
real number interpolation on each path command directly.

In this patch, we also make |clip-path:path()| animatable.

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

--HG--
extra : moz-landing-system : lando
2018-09-07 22:15:50 +00:00
Jan Henning
474fa41a84 Bug 1489594 - Decouple application-background event from clearing of current activity. r=jchen
When the OS needs to display a permission prompt, our current activity is paused
and onSaveInstanceState gets called, however the activity isn't stopped yet.
When the permission handling then returns with the results to us, we display
the file picker using the current activity as retrieved from the GeckoActivity-
Monitor.

The problem is that in bug 1437382, our application-background handling was
changed such that it would already be triggered by the preparatory onSave-
InstanceState call. This had the side effect that the current activity would
be cleared from the GeckoActivityMonitor at that point already. Therefore, in
our case showing the file picker would fail because the GAM would have cleared
the current activity already after the runtime permission prompt caused our
previous activity to save its state.

To fix this, we change the behaviour of the GeckoActivityMonitor such that it
will continue to trigger our application-background handling during onSave-
InstanceState if possible, but will only clear the current activity when it is
stopping for real.

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

--HG--
extra : moz-landing-system : lando
2018-09-07 21:47:58 +00:00
Xidorn Quan
38f40d8252 Bug 1489387 - Have fullscreenerror event aligned to refresh driver tick. r=smaug
Depends on D5235

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

--HG--
extra : moz-landing-system : lando
2018-09-07 19:00:03 +00:00
Dipen Patel
0679e09a9a Bug 1468222 Consolidate nsISSLStatus info nsITransportSecurityInfo r=snorp,ato,sfraser,keeler,baku,mcmanus,Gijs
Move all fields of nsISSLStatus to nsITransportSecurityProvider
Remove nsISSLStatus interface and definition
Update all code and test references to nsISSLStatus
Maintain ability to read in older version of serialized nsISSLStatus.  This
is verified with psm_DeserializeCert gtest.

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

--HG--
extra : moz-landing-system : lando
2018-09-07 22:50:17 +00:00
Xidorn Quan
afd201db11 Bug 1489385 part 2 - Make the refresh driver event dispatching specific to fullscreen events. r=smaug
The mechanism was added in bug 1168705 for fullscreen, and is only used
for this since then. The spec now has a specific step for this in the
event loop, so specialize this mechanism to match the spec closer.

This patch also changes the caller type of the fullscreenchange event
from non-system to system (via using DispatchTrustedEvent rather than
EventTarget::DispatchEvent(Event&)).

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

--HG--
extra : source : 179f5fbd9db08518804b613f5e3fefa659c1e0a2
2018-09-08 08:53:33 +10:00
Xidorn Quan
b99f2af048 Bug 1489385 part 1 - Have MozDOMFullscreen::NewOrigin event de-aligned with refresh driver. r=smaug
In following patches, we are changing how fullscreen events dispatches,
and this patch removes the only dependency of the original mechanism
outside content-exposed fullscreen events.

Listeners of NewOrigin event nowadays just send a message to the chrome,
so it doesn't really matter a lot when is it dispatched.

This event was made that way as part of bug 1168705. I cannot recall
the exact reason for doing so, but maybe that time we still care about
non-e10s, and syncing this event with flush can help merging the browser
chrome UI change into the same flush on non-e10s.

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

--HG--
extra : source : 9ee1f744c213db0d89d48e6764ade0e0a13af103
2018-09-08 08:53:33 +10:00
Csoregi Natalia
affc6dfb7a Backed out 2 changesets (bug 1488871) for failures on browser_windowopen.js. CLOSED TREE
Backed out changeset 078929426a6e (bug 1488871)
Backed out changeset 39b3a22e2552 (bug 1488871)
2018-09-08 01:40:10 +03:00
chansuke
0f1a2fb4bc Bug 1489667 - Format component of style_derive. r=emilio
This cherry-picks servo/servo#21635
2018-09-08 00:22:21 +02:00
Robert Bartlensky
b889ef3572 Bug 1489522: Fix sizeof typos in js/src/builtin/Promise.cpp and js/src/builtin/Array.cpp. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D5274

--HG--
extra : moz-landing-system : lando
2018-09-07 18:21:33 +00:00
Henri Sivonen
39dc649092 Bug 1488697 - Make StringBuilder::ToString avoid repeated capacity and aliasing checks as well as terminator writes. r=smaug
* Avoid the string implementation's capacity checks, since we know they
   succeed.
 * Avoid the string implementation's aliasing checks, since we know there's no
   aliasing.
 * Avoid writing the zero terminator more than once or out of sequence.
 * Use u"" literals when appending literals to a UTF-16 string.
 * Write runs of non-escaped code units instead of writing code unit by code
   unit in order to benefit from SIMD (either via memcpy or
   ConvertLatin1toUTF16).

This results in a 13% execution time reduction on desktop Haswell i7 when
getting the innerHTML of the body of the Selectors spec. (The WebKit
optimization target from https://bugs.webkit.org/show_bug.cgi?id=81214 .)

MozReview-Commit-ID: LAg3gkGJnpQ

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

--HG--
extra : moz-landing-system : lando
2018-09-08 07:47:28 +00:00
Rob Lemley
e1efc2daaf Bug 1489355 - Windows installer build fixes r=Callek
Bug 1484264 made changes to how the repackage tasks is configured.
The package-name field was hard-coded to "firefox". This field is later
used to build the Windows installer, and Thunderbird requires that it
be set to "thunderbird" or the build fails.

This patch changes package-name to be a templated field like the others.

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

--HG--
extra : moz-landing-system : lando
2018-09-07 17:51:02 +00:00
Edgar Chen
045c48d80f Bug 1489437 - HTML parser should invoke custom element's callbacks before appending child nodes to it; r=smaug
Per step 3.3 of https://html.spec.whatwg.org/multipage/parsing.html#insert-a-foreign-element

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

--HG--
extra : moz-landing-system : lando
2018-09-07 16:56:10 +00:00
Matt Woodrow
f4a90435ef Bug 1488980 - Implement StartFrameTimeRecording for WebRender. r=mstange
MozReview-Commit-ID: Ib5t0e8S6df

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

--HG--
extra : moz-landing-system : lando
2018-09-08 18:41:34 +00:00
Mike Hommey
f1afe5ceec Bug 1489340 - Remove xpcom/typelib r=froydnj
Nothing is using the xpt module anymore, which means we can remove it,
as well as the runtests.py script that runs its test, and the
integration of those tests in the build system.

Depends on D5221

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

--HG--
extra : moz-landing-system : lando
2018-09-07 13:55:38 +00:00