Commit Graph

639941 Commits

Author SHA1 Message Date
Bryce Van Dyk
0bc2120ed3 Bug 1532354 - Remove GMPServiceParent::ProcessPossiblePlugin decl as it is unimplemented. r=cpearce
Differential Revision: https://phabricator.services.mozilla.com/D21967

--HG--
extra : moz-landing-system : lando
2019-03-05 00:30:13 +00:00
arthur.iakab
28ec31dd6f Backed out changeset f5a2a974495b (bug 1530832) by request of khyperia CLOSED TREE 2019-03-05 16:12:48 +02:00
Ashley Hauck
ced38572c6 Bug 1530832 - Refactor classDefinition and replace Maybe::reset() with a block. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D21270

--HG--
extra : moz-landing-system : lando
2019-03-05 13:23:21 +00:00
Laphets
befcb837ee Bug 1446018 - Set HAR log version to 1.2. r=Honza
Before the change, the HAR export log version is 1.1. After this change, the log version is set to 1.2.

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

--HG--
extra : moz-landing-system : lando
2019-03-05 12:23:37 +00:00
ECarr
cea157f39b Bug 1247403 - Rename tabActive property to activeTab in the Tab Component. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D21498

--HG--
extra : moz-landing-system : lando
2019-03-05 12:21:53 +00:00
Florian Quèze
6522db5f93 Bug 1531798 - Avoid deadlock when dumping a profile while the IOInterposer is active, r=gerald,mstange.
Differential Revision: https://phabricator.services.mozilla.com/D21712

--HG--
extra : moz-landing-system : lando
2019-03-05 12:01:33 +00:00
Tim Nguyen
fa021187df Bug 1513343 - Remove textarea binding and replace usages with html:textarea. r=bgrins,dao
Differential Revision: https://phabricator.services.mozilla.com/D15001

--HG--
extra : moz-landing-system : lando
2019-03-05 11:41:42 +00:00
Alexandre Poirot
24ef486f1d Bug 1530861 - Fix typo in deprecated firefox version comment. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D21511

--HG--
extra : moz-landing-system : lando
2019-03-05 11:13:28 +00:00
alexandru.ionescu
1b4fb7feae Bug 1532542 raptor-tp6m-youtube-geckoview output problem r=davehunt
Differential Revision: https://phabricator.services.mozilla.com/D22061

--HG--
extra : moz-landing-system : lando
2019-03-05 11:04:30 +00:00
Simon Fraser
00dc9e2a57 Bug 1532236 Remove extra newlines from partials logging r=mtabara
Differential Revision: https://phabricator.services.mozilla.com/D22072

--HG--
extra : moz-landing-system : lando
2019-03-05 10:39:23 +00:00
yulia
6f475afa31 Bug 1529247 - remove unused eventlisteners method; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D21703

--HG--
extra : moz-landing-system : lando
2019-03-05 10:42:20 +00:00
Gijs Kruitbosch
11cb3ce73a Bug 1530557 - tabprompt dialog box size restrictions are completely broken, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D22020

--HG--
extra : moz-landing-system : lando
2019-03-05 10:42:32 +00:00
Sam Sneddon
f392bc3d20 Bug 1531740 - make reftest-analyzer.xhtml stricter finding images r=dbaron
Depends on D21688

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

--HG--
extra : moz-landing-system : lando
2019-03-05 00:23:49 +00:00
Sam Sneddon
565ef75673 Bug 1530008 - make reftest-analyzer.xhtml work with local WPT output r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D21688

--HG--
extra : moz-landing-system : lando
2019-03-05 10:03:52 +00:00
phoenixabhishek
db1e6b953a Bug 1532247 - Focused node should have a white arrow. r=nchevobbe
Focused node should have a white arrow

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

--HG--
extra : moz-landing-system : lando
2019-03-05 09:31:30 +00:00
Bogdan Tara
e264b82244 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-03-05 11:30:19 +02:00
Bogdan Tara
3e0f1d95fc Merge inbound to mozilla-central. a=merge 2019-03-05 11:27:18 +02:00
devguru
c0169d8829 Bug 1254242 - Clean up React propType definitions in devtools/client/memory/components/Toolbar.js. r=nchevobbe.
Differential Revision: https://phabricator.services.mozilla.com/D22004

--HG--
extra : moz-landing-system : lando
2019-03-05 09:19:11 +00:00
Matt Woodrow
7132aa2044 Bug 1531532: Remove incorrect reftest fuzzy annotation. r=bustage 2019-03-05 18:36:39 +13:00
Ciure Andrei
698d0759ec Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-03-05 06:24:16 +02:00
Ciure Andrei
253bf420a1 Merge inbound to mozilla-central. a=merge 2019-03-05 06:20:52 +02:00
Jeff Muizelaar
4febae72fc Bug 1495170. Use CreateClippedDrawTarget more. r=mstange
This lets us restrict the size of the mask surface that we allocate
to the destination tile size. This gives a large performance
improvement.

It also includes some miscelanous fixes to the CreateClippedDrawTarget
code path.

Differential Revision: https://phabricator.services.mozilla.com/D21750
2019-03-04 22:30:09 -05:00
Jeff Muizelaar
acbf363d37 Bug 1495170. Handle mask offsets.
Differential Revision: https://phabricator.services.mozilla.com/D21749
2019-03-04 22:30:08 -05:00
Jeff Muizelaar
967d03ef66 Bug 1531532. Use preTranslate instead of postTranslate when correcting for the mask offset. r=mattwoodrow
DTO = DrawTargetOffset = (-Origin.x, -Origin.y)
CTM = CurrentTransform
MASKT = MaskTransform = Inv(CurrentTransform)
MASKO = MaskOffset = (GetRect().x, GetRect().y)

The transform to device space is:

MASKT * CTM * DTO

Currently we do:
MASKT = MASKT * MASKO

Which gives us MASKT * MASKO * CTM * DTO. This works fine if there's no scale but
will not properly cancel out if there is.

I believe we want:
MASKO * MASKT * CTM * DTO

To get this we need to preTranslate instead of postTranslate.

Differential Revision: https://phabricator.services.mozilla.com/D21604
2019-03-04 22:30:06 -05:00
Luke Wagner
80a840b62f Bug 1487113 - Use CloseWithStatus in ScriptLoader.cpp to indicate failure (r=baku) 2019-03-04 19:35:41 -06:00
Hiroyuki Ikezoe
2fcc3c784e Bug 1532477 - Return BEnd() from LogicalRect::YMost() in the case of non vertical. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D22035

--HG--
extra : moz-landing-system : lando
2019-03-05 01:22:06 +00:00
Andreea Pavel
d95defff13 Backed out changeset 34d5cbb640e3 (bug 1530557) for failing bc at browser_double_close_tab.js 2019-03-05 03:20:24 +02:00
Soeren Hentzschel
6da0e18dfe Bug 1522856 - Add an "import" option to the file menu to make browser migration discoverable. r=MattN,felipe
Differential Revision: https://phabricator.services.mozilla.com/D19274

--HG--
extra : rebase_source : 7289825a0a5fa83082d6bd2908d3debb06793bb6
extra : amend_source : 1d8799059a50555a516e3949efecdac7810b05da
extra : histedit_source : 47fa2b61fc1d41cf249957762fbb0717c9ead1e1%2C63e64f6cfc61f67cc4914a8b77a6e7983bbc503c
2019-03-04 15:29:03 -08:00
Jeff Walden
3f385ffa33 Bug 1532005 - Implement a new js/public/ArrayBuffer.h header to centralize functionality for creating and interacting with ArrayBuffers. r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D21827

--HG--
extra : rebase_source : 833bbfce12d90bcb92f7cd88ec65247e48c024c0
2019-03-04 15:19:16 -08:00
Luke Wagner
b15a5f46a8 Bug 1487113 - MOZ_RELEASE_ASSERT existing implicit assumption about alt-data Write() in ScriptLoader.cpp (r=baku) 2019-03-04 19:38:13 -06:00
Razvan Maries
02d5932d51 Backed out changeset 9a345448aaa1 (bug 1532005) for causing perma fails and Spidermonkey fails. CLOSED TREE 2019-03-05 01:08:44 +02:00
Razvan Maries
65e4948ca0 Backed out 4 changesets (bug 1532005, bug 1531638) for causing perma fails and Spidermonkey fail. CLOSED TREE
Backed out changeset 4913d941de92 (bug 1532005)
Backed out changeset 9635abe5bf24 (bug 1532005)
Backed out changeset 738cf4b1126a (bug 1532005)
Backed out changeset e5d9f2ee7ac7 (bug 1531638)
2019-03-05 01:07:28 +02:00
Jeff Walden
c2cbf926cb Bug 1532005 - Adjust the names of two other functions somehow inexplicably missed in prior renaming. r=i-was-saying-boo-urns 2019-03-04 14:41:24 -08:00
Jeff Walden
3b2f22a772 Bug 1532005 - Don't prefix GetArrayBufferLengthAndData with JS:: in typedarray.rs, because the macro it's passed to wants ident, not expr. r=boo-urns
--HG--
extra : rebase_source : 58feb5561de0f941028de35262eb341d1927eae7
2019-03-04 14:08:24 -08:00
Ciure Andrei
5ebab45abd Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-03-04 23:54:12 +02:00
Ciure Andrei
e97d6d2ed4 Merge inbound to mozilla-central. a=merge 2019-03-04 23:50:12 +02:00
Jeff Walden
b7ac200b5d Bug 1532005 - Update the SpiderMonkey Rust bindings for the new ArrayBuffer.h header. r=bustage 2019-03-04 13:41:03 -08:00
Robert Strong
bf9d1edd25 Bug 1510276 - Fix GetLongPath so it returns the proper case for the path. r=mhowell
Always uppercase the first char of the path in GetLongPath
Remove GetLongPathNameW since it isn't setting the proper case for the path segments below the leaf name

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

--HG--
extra : moz-landing-system : lando
2019-03-04 18:22:54 +00:00
Andreea Pavel
1fa9697217 Backed out changeset cc4b2dbdfd83 (bug 1530208) for failing dom/base/test/unit/test_isequalnode.js on a CLOSED TREE 2019-03-04 21:00:27 +02:00
Steve Fink
220bd79b56 Bug 1528794 - Check clone buffer contents at runtime r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D21817

--HG--
extra : moz-landing-system : lando
2019-03-04 18:28:20 +00:00
Kartikaya Gupta
44eed3b2a7 Bug 1532336 - Turn off optimizations for searchfox jobs. r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D21964

--HG--
extra : moz-landing-system : lando
2019-03-04 17:56:29 +00:00
bomisore
29045a1971 Bug 1463347 - Add distinction between timeLog and timeEnd messages r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D21306

--HG--
extra : moz-landing-system : lando
2019-03-04 17:12:47 +00:00
Brian Birtles
8ed54f03c6 Bug 1527210 - Drop KeyframeEffect::MaybeUpdateFrameForCompositor; r=hiro
Since bug 1524480 we set the NS_FRAME_MAY_BE_TRANSFORMED frame bit when needed
in RestyleManager::ProcessRestyledFrames so that it is now redundant to also set
it from KeyframeEffect.

Furthermore, setting frame bits from KeyframeEffect is a little fragile since it
depends on the life cycle of the KeyframeEffect which is independent of the
nsFrame. If we can avoid doing that, we probably should.

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

--HG--
extra : moz-landing-system : lando
2019-03-05 03:09:48 +00:00
Brian Birtles
d83da99f63 Bug 1527210 - Fix handling of animation of opacity on display:table; r=hiro
As with the previous patch in this series, we need to pay particular attention
to how we handle display:table content when detecting animations on a element.
Please see the extended description in that patch for an explanation of
different frame types involved.

As with transforms, our handling of opacity is also inconsistent.  In
particular, we fail to return true from nsIFrame::HasOpacityInternal for
display:table content with opacity animations applied due to the conflicting
requirements for a primary frame and having opacity animations (which are stored
on the style frame).

Unlike transforms, however, we do not inherit the opacity to the table wrapper.
Instead we leave it on the inner table frame. As a result, we should not check
for a primary frame, but instead we should check for the style frame for the
primary frame.

This patch adjusts this handling to check instead for the appropriate style
frame as opposed to requiring a primary frame. It includes a reftest that fails
without the code changes in this patch.

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

--HG--
extra : moz-landing-system : lando
2019-03-05 03:09:33 +00:00
Brian Birtles
4264e3210a Bug 1527210 - Be more consistent about only applying transforms to primary frames; r=hiro
For display:table content we generate two frames: a table wrapper frame and an
inner table frame. The styles are applied to the inner frame (referred to as the
style frame), whilst the wrapper frame is the primary frame for the content.

However, in order to make tables with transforms behave as a container for
abspos/fixed-pos content as required by the spec, we apply the transform to the
wrapper frame (bug 722777) by inheriting the transform from inner to wrapper and
then ignoring the transform on the inner frame (bug 722777 and bug 816458).

When handling animations on table elements we need to be careful of this
distinction. in particular, css animations[1] and web animations[2] require that
when we have an unfinished transform animation targetting an element, the
element acts as if it had `will-change: transform` applied and therefore
generates a stacking context. As a result we need to accurately detect when
a frame should be considered as having transform animations applied to it or not
for the purpose of creating a stacking context.

Previously our handling of display:table content was quite inconsistent and
contradictory. For example, `nsIFrame::HasAnimationOfTransform` would check for
a primary frame AND for animations on that frame, despite the fact that we only
ever store animations on the style frame. As a result it could never return true
for either a table wrapper or inner table frame.

This patch attempts to make this handling at least a little more consistent,
producing the following result:

Outer table frame (primary frame):

    nsIFrame::IsTransformed → true
    nsIFrame::IsCSSTransformed → true
    nsIFrame::HasAnimationOfTransform → true
    nsLayoutUtils::HasAnimationOfProperty(frame, eCSSProperty_transform) → false

Inner table frame (style frame):

    nsIFrame::IsTransformed → false
    nsIFrame::IsCSSTransformed → false
    nsIFrame::HasAnimationOfTransform → false
    nsLayoutUtils::HasAnimationOfProperty(frame, eCSSProperty_transform) → true

We maintain that the NS_FRAME_MAY_BE_TRANSFORMED bit is only set on the primary
frame whilst the mMayHaveTransformAnimation flag is only set on the style frame.

Note that we don't simply always put everything on the primary frame because for
other property types (e.g. opacity) the default setup of putting all styles and
animations on the style frame is simpler and correct. So far it is only
transforms that require special handling to apply the effect to the wrapper
frame.

This patch adds a reftest that fails without the code changes included in this
patch.


[1] https://drafts.csswg.org/css-animations/#animations
[2] https://drafts.csswg.org/web-animations-1/#side-effects-section

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

--HG--
extra : moz-landing-system : lando
2019-03-05 03:09:19 +00:00
Ciure Andrei
28e824acfe Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-03-05 06:22:50 +02:00
Zibi Braniecki
7e28ab1e17 Bug 1532226 - Move observers registration for Fluent DOM to C++. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D21898

--HG--
extra : moz-landing-system : lando
2019-03-05 02:16:14 +00:00
Mellina Yonashiro
f424ec57d6 Bug 1530801 - Replace waitForCondition in browser_947914_button_addons.js withTestUtils.waitForCondition r=johannh
waitForCondition usage in the browser_947914_button_addons.js test file can be replaced by the TestUtils.waitForCondition utility function.

> The function was replaced. There was only one occurance in this file (browser_947914_button_addons.js), but may exists in other ones.

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

--HG--
extra : moz-landing-system : lando
2019-03-04 21:36:02 +00:00
Alastor Wu
3628b4659f Bug 1530220 - part4 : separate tesing web audio with gum to another test. r=cpearce
Testing web audio with GUM is not related with the original purpose of this test. In order to reduce the complexity of this test, separate this part as another new test.

Also modify the naming of functions, because Mozilla coding style is to use the camelCase for the name.

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

--HG--
extra : moz-landing-system : lando
2019-03-05 02:13:55 +00:00
Patrick Brosset
558e4bd3c4 Bug 1493745 - Make the RDM toolbar responsive; r=gl
Differential Revision: https://phabricator.services.mozilla.com/D20827

--HG--
extra : moz-landing-system : lando
2019-03-04 16:26:18 +00:00