Commit Graph

637270 Commits

Author SHA1 Message Date
Randell Jesup
4bcec2fdca Bug 1528349: Move a DOM timeout spec-compliance ASSERT to DIAGNOSTIC_ASSERT r=smaug 2019-02-16 00:31:37 -05:00
Natalia Csoregi
e97ac2b1fe Bug 1519591 - Disable org.mozilla.geckoview.test.SessionLifecycleTest.readFromParcel_closedSessionAfterReadParcel on OPT platforms. r=gbrown 2019-02-16 05:54:32 +02:00
Botond Ballo
0fd96551b0 Bug 1525948 - Ensure the layout viewport retains the aspect ratio of the visual viewport. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D19996

--HG--
extra : moz-landing-system : lando
2019-02-16 01:37:47 +00:00
Cosmin Sabou
342a22295e Bug 1526614 - Disable toolkit/components/passwordmgr/test/browser/browser_private_window.js on linux. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D20054

--HG--
extra : moz-landing-system : lando
2019-02-16 15:13:35 +00:00
Markus Stange
d8f5613d1e Bug 1500692 - Add LAYOUT subcategories. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D11341

--HG--
extra : moz-landing-system : lando
2019-02-16 17:38:35 +00:00
Markus Stange
ad3f9a53de Bug 1500692 - Add GRAPHICS subcategories. r=njn,mattwoodrow
r?njn only because this is the first example that adds any actual subcategories.

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

--HG--
extra : moz-landing-system : lando
2019-02-16 17:38:23 +00:00
Markus Stange
99df373110 Bug 1500692 - Add an AUTO_PROFILER_LABEL_CATEGORY_PAIR macro. r=njn
This is similar to AUTO_PROFILER_LABEL, but with only one argument: a category pair.
This reduces duplication for label frames that want just the subcategory name as
their label: Instead of AUTO_PROFILER_LABEL("Layer building", GRAPHICS_LayerBuilding),
you can now just write AUTO_PROFILER_LABEL_CATEGORY_PAIR(GRAPHICS_LayerBuilding) and
the string will automatically be taken from the subcategory.

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

--HG--
extra : moz-landing-system : lando
2019-02-16 17:37:58 +00:00
Markus Stange
0b151b8c2b Bug 1500692 - Centralize profiling category definition and add infrastructure for subcategories. r=njn
The actual subcategories will be added in later patches, so that there are no
unused categories.

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

--HG--
extra : moz-landing-system : lando
2019-02-16 17:37:43 +00:00
Iain Ireland
659d362951 Bug 1526425: Add bytecode output to CacheIRSpewer r=mgaudet
This patch adds bytecode information to the JSON produced by CacheIRSpewer.

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

--HG--
extra : moz-landing-system : lando
2019-02-16 04:33:28 +00:00
Iain Ireland
dc4c6d8be4 Bug 1526425: Add debug verification of CacheIR operand length r=mgaudet
This patch adds constexpr template gunk to calculate the length of each CacheIR opcode in bytes. This is useful for verifying that the compiler has consumed all the arguments (which is done in this patch) and for iterating through the opcode stream (which will come in a future patch).

Note: To ensure that each opcode has a constant length, this patch changes writeInt32Immediate and writeUInt32Immediate to write fixed-length values instead of variable-length encoding. This shouldn't be a big problem, because we don't use them very much. In the long run, I would like to eliminate Int32 and UInt32 immediates entirely.

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

--HG--
extra : moz-landing-system : lando
2019-02-16 04:32:21 +00:00
Iain Ireland
7edad247c1 Bug 1526425: Convert CacheIR opcode list into table with argument formats r=mgaudet
This is the first step towards being able to properly introspect CacheIR bytecode.

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

--HG--
extra : moz-landing-system : lando
2019-02-16 04:32:07 +00:00
Ryan Hunt
3e190ce1d9 Bug 1520666 - Avoid flushing layout when accessing clientArea for the document scrolling element in certain cases. r=botond
This commit attempts to prevent a layout flush when accessing clientWidth
or clientHeight on an element and the following conditions are met:
  1. The document is not embedded in another document
  2. The element is the scrolling element of the document
  3. We are using overlay scrollbars

This matches a similar optimization in Chromium [1].

[1] https://cs.chromium.org/chromium/src/third_party/blink/renderer/core/dom/element.cc?l=735&rcl=e95660c6c08b9b855ceebaf21a1614bc3df75ff8

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

--HG--
extra : moz-landing-system : lando
2019-02-16 14:16:55 +00:00
Ferenc Nagy
e26e5ee5d4 Bug 1509042 - Enable Eslint for dom/notification (manual changes) r=Ehsan
Depends on D12815

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

--HG--
extra : moz-landing-system : lando
2019-02-16 14:15:43 +00:00
Ferenc Nagy
ac71873828 Bug 1509042 - Enable Eslint for dom/notification (automatic changes) r=mrbkap
Differential Revision: https://phabricator.services.mozilla.com/D12815

--HG--
extra : moz-landing-system : lando
2019-02-16 14:15:39 +00:00
Coroiu Cristina
34df20e0f1 Merge mozilla-central to autoland a=merge 2019-02-16 11:40:44 +02:00
k88hudson
4383f68973 Bug 1528410 - Add rotation, fine-grained impressions and discovery stream style fixes to Activity Stream r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D20033

--HG--
extra : moz-landing-system : lando
2019-02-16 01:03:12 +00:00
Botond Ballo
0e93ad31bf Bug 1526486 - Disable container scrolling in APZ zoom mochitests. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D19222

--HG--
extra : moz-landing-system : lando
2019-02-16 00:52:07 +00:00
Botond Ballo
9bf4a8afaf Bug 1526486 - Don't muck with the RCD-RSF composition bounds clip rect during event delivery. r=mstange
In bug 1521644, we changed the clip rect computation so we don't divide by
the resolution when using containerless scrolling. The rationale for that
change was that this clip becomes a clip rect on the async zoom container
layer, which is applied after the resolution in the compositor.

However, when building a display list for event delivery, this rationale
does not apply as there are no layers and no compositor involved.

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

--HG--
extra : moz-landing-system : lando
2019-02-16 00:51:54 +00:00
Botond Ballo
3d1382e6b4 Bug 1526486 - Build an async zoom container for event delivery as well. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D19219

--HG--
extra : moz-landing-system : lando
2019-02-16 00:51:40 +00:00
Botond Ballo
df99bc4ec1 Bug 1526486 - Hook up reftest-async-{scroll,zoom} for containerless scrolling. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D19218

--HG--
extra : moz-landing-system : lando
2019-02-16 00:51:27 +00:00
arthur.iakab
3b749629b8 Backed out changeset 94a9c4cabe37 (bug 1526031) for spidermonkey bustages CLOSED TREE 2019-02-16 03:00:27 +02:00
Ashley Hauck
f7804f3546 bug 1526031 - remove initOrStmt field from NameNode. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D19054

--HG--
extra : moz-landing-system : lando
2019-02-16 00:20:22 +00:00
Henrik Skupin
7753f55f6b Bug 1502360 - [marionette] "Send Alert Text" has to use the text field's value property. r=ato
Depends on D20002

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

--HG--
extra : moz-landing-system : lando
2019-02-16 00:03:21 +00:00
Henrik Skupin
7bf46d394a Bug 1502360 - [marionette] Check for valid prompt type in "Send Alert Text". r=ato
Depends on D20000

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

--HG--
extra : moz-landing-system : lando
2019-02-16 00:03:11 +00:00
Henrik Skupin
f5c6c6ad4a Bug 1502360 - [marionette] Raise "invalid argument" error in "Send Alert Text" if text is not of type string. r=ato
Depends on D19999

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

--HG--
extra : moz-landing-system : lando
2019-02-16 00:01:51 +00:00
Henrik Skupin
ba5b2fb08e Bug 1502360 - [wdspec] Add basic HTTP auth test for "Send Alert Text". r=ato
Depends on D19998

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

--HG--
extra : moz-landing-system : lando
2019-02-16 07:12:13 +00:00
Henrik Skupin
2cfa29b7c0 Bug 1502360 - [wdclient] "Alert Send Text" has to use "text" property. r=ato
Per WebDriver spec the "value" property with a list of characters
is not allowed anymore.

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

--HG--
extra : moz-landing-system : lando
2019-02-16 00:00:35 +00:00
Tim Nguyen
8f539e6691 Bug 1522290 - Remove Linux-only toolbarbutton-dropdown binding. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D20043

--HG--
extra : moz-landing-system : lando
2019-02-16 05:11:56 +00:00
Boris Zbarsky
84b4628394 Bug 1528146. Fix how web extensions are injected into about:blank. r=kmag
The basic idea is to make non-initial about:blank fire
document-element-inserted notifications just like every other document.  We
then ensure that there's a notification (initial-document-element-inserted)
that only gets fired once per window for documents that are in a window.  This
notification is what webextensions use to inject into the document.

The old setup which injected into about:blank when its global is created gets
removed in favor of injecting the same way as into every other document.

The changes to Document.cpp are fixing a bug in the "block the parser" stuff
webextensions do.  For about:blank, the blocking happens at a point when the
parser really has nothing else to parse (since it's parsing the empty string).
So the blocking is a no-op.  But we do want to prevent DOMContentLoaded firing,
because otherwise the "end of document" scripts could run before we finish
doing the "beginning of document" work in webextensions.  So we want to make
sure we block DOMContentLoaded, not just the load event.

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

--HG--
extra : moz-landing-system : lando
2019-02-15 23:29:34 +00:00
Brian Grinstead
033239db58 Bug 1527680 - Add MozElement inheritedAttributes helper for automatically inheriting attributes based on a map of selectors to attributes r=paolo
This allows elements to skip explicitly declaring `observedAttributes` and then imperatively
calling `inheritAttribute` on the appropriate child nodes. For simple cases this means less
boilerplate and moving this logic into the base class.

This is an opt-in feature, so more complex cases can continue to manually implement inheriting
behavior as before.

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

--HG--
extra : moz-landing-system : lando
2019-02-15 23:10:18 +00:00
Emilio Cobos Álvarez
3b79016890 Bug 1526609 - When interrupting the reflow of abspos kids, still account for the old overflow areas. r=bzbarsky
Otherwise, if we're scrolled, the scroll frame will think that our scroll range
was reduced, which will in turn clamp the scroll position, which is not good.

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

--HG--
extra : moz-landing-system : lando
2019-02-15 21:08:43 +00:00
Kartikaya Gupta
d980fb1af2 Bug 1528380 - Add nasm dependency to searchfox Windows jobs. r=TD-Linux
Differential Revision: https://phabricator.services.mozilla.com/D20003

--HG--
extra : moz-landing-system : lando
2019-02-16 19:20:11 +00:00
Karl Tomlinson
6e6824aff1 Bug 1518378 set panningModel on warm-up panner r=padenot
This is required since changes in
https://hg.mozilla.org/mozilla-central/rev/5636007e3d1a

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

--HG--
extra : moz-landing-system : lando
2019-02-15 14:38:48 +00:00
Wes Kocher
ebf96db5c1 Bug 1520806 - Don't apply unittest-features prefs when running Firefox stable r=jgraham
This skips over adding the unittest-features profile's user.js prefs if the browser channel is not Nightly. This should in theory mean the wpt run will only use preferences necessary for the tests to technically run, plus whatever the version of Firefox used for the tests includes as default out of the box prefs.

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

--HG--
extra : moz-landing-system : lando
2019-02-15 10:27:54 +00:00
Mike Hommey
e5a0b72512 Bug 1528226 - Check rustc version before cbindgen. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D19941

--HG--
extra : moz-landing-system : lando
2019-02-15 15:23:08 +00:00
arthur.iakab
84ded0052b Backed out changeset b29cead870d9 (bug 1526031) for spidermonkey bustages CLOSED TREE 2019-02-16 00:50:34 +02:00
Kyle Machulis
2ecce7b6b7 Bug 1524683 - Remove nsIFrameLoaderOwner; r=nika
Depends on D19729

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

--HG--
extra : moz-landing-system : lando
2019-02-15 22:20:55 +00:00
Kyle Machulis
2bb286e58e Bug 1524683 - Move all nsIFrameLoaderOwner references to nsFrameLoaderOwner; r=nika
Depends on D19728

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

--HG--
extra : moz-landing-system : lando
2019-02-15 22:20:53 +00:00
Kyle Machulis
623c5a81b8 Bug 1524683 - Add nsFrameLoaderOwner class; r=nika
Depends on D19727

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

--HG--
extra : moz-landing-system : lando
2019-02-15 22:20:51 +00:00
Kyle Machulis
9fb68b2ccf Bug 1524683 - Remove nsIFrameLoaderOwner from tests; r=nika
Any time we QI to nsIFrameLoaderOwner in tests, we're really accessing
a MozFrameLoader. We don't need to be doing that anymore.

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

--HG--
extra : moz-landing-system : lando
2019-02-15 22:20:49 +00:00
Cosmin Sabou
1194781109 Bug 1526212 - Disable /resource-timing/test_resource_timing.https.html on linux, mac and windows. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D20019

--HG--
extra : moz-landing-system : lando
2019-02-15 22:23:41 +00:00
Valentin Gosu
a5cc5b2a87 Bug 1521808 - Implement process switching based on Cross-Opener-Origin-Policy header r=nika,qdot
* New topLevel loads get the nsILoadInfo.openerPolicy of the current top level document
* Parsing the Cross-Opener-Origin-Policy of a channel will update mLoadInfo.openerPolicy and this value will get propagated to the child process.
* SessionStore now checks nsIHttpChannel.hasCrossOriginOpenerPolicyMismatch (preffed off) and performs a process switch if needed

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

--HG--
rename : toolkit/components/remotebrowserutils/tests/browser/browser_httpResponseProcessSelection.js => toolkit/components/remotebrowserutils/tests/browser/browser_httpCrossOriginOpenerPolicy.js
extra : moz-landing-system : lando
2019-02-15 22:02:47 +00:00
Valentin Gosu
0009ddac1e Bug 1521808 - Add xpcshell-test for CrossOriginOpenerPolicy r=mayhemer,nika,annevk
Differential Revision: https://phabricator.services.mozilla.com/D18246

--HG--
extra : moz-landing-system : lando
2019-02-15 22:02:52 +00:00
Valentin Gosu
38f19c2395 Bug 1521808 - Use topWindowPrincipal for CrossOriginOpenerPolicy check r=mayhemer,nika
- Adds nsIHttpChannelInternal.setTopWindowPrincipal used to pass the principal from the child to the parent

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

--HG--
extra : moz-landing-system : lando
2019-02-15 22:28:56 +00:00
Valentin Gosu
865d80fff4 Bug 1521808 - Implement Cross-Origin-Opener-Policy header r=nika,mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D18119

--HG--
extra : moz-landing-system : lando
2019-02-15 22:02:58 +00:00
Cosmin Sabou
12f7bded8e Bug 1526332 - Enable dom.security.featurePolicy on beta and release. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D19672

--HG--
extra : moz-landing-system : lando
2019-02-13 16:47:13 +00:00
Ashley Hauck
5ecfedf57b bug 1526031 - remove initOrStmt field from NameNode. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D19054

--HG--
extra : moz-landing-system : lando
2019-02-15 22:10:45 +00:00
Edgar Chen
14d6d67458 Bug 1323400 - Part 3-2: Add test; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D19811

--HG--
extra : moz-landing-system : lando
2019-02-15 21:53:44 +00:00
Edgar Chen
652012afa9 Bug 1323400 - Part 3-1: Refactor test_multiple_touches.html; r=smaug
To make it easier to add new test without introudcing duplicated code.

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

--HG--
extra : moz-landing-system : lando
2019-02-15 16:47:26 +00:00
Edgar Chen
408cdd3a53 Bug 1323400 - Part 2: Filter out duplicated touchmove for pointer event; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D19804

--HG--
extra : moz-landing-system : lando
2019-02-15 22:04:13 +00:00