Commit Graph

624730 Commits

Author SHA1 Message Date
Francesco Lodolo (:flod)
ed67dfcee5 Bug 1507468 - Add 'trs' to Firefox Nightly build r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D12208

--HG--
extra : moz-landing-system : lando
2018-11-17 07:15:57 +00:00
Ciure Andrei
12596ef8de Backed out changeset d98cb4a0498c so it's erased from the repo CLOSED TREE 2018-11-17 08:43:23 +02:00
Cosmin Sabou
ad3133e5eb No bug - Dummy push the see if the docker images will rerun. CLOSED TREE
--HG--
extra : amend_source : d8381ae57ef424fc961fed73ec0ad473a63d664f
2018-11-17 08:05:47 +02:00
Cosmin Sabou
eb99d367ea Backed out changeset b3412b91afe2 (bug 1501796) for causing Valgrind build bustage. CLOSED TREE 2018-11-17 05:20:03 +02:00
Cosmin Sabou
06a105eed0 Backed out 2 changesets (bug 1506687) for causing mochitest mass failures. CLOSED TREE
Backed out changeset f93f179fb3b4 (bug 1506687)
Backed out changeset d8230f3fdd2c (bug 1506687)
2018-11-17 05:05:53 +02:00
Cosmin Sabou
1f1188e86c Backed out changeset 26933ef9fa13 (bug 1506323) for landing the wrong patch.
--HG--
extra : rebase_source : ba856955dcf81339ec94abf140810c3b4dadc73b
2018-11-17 04:39:49 +02:00
James Teh
9e968bb929 Bug 1506787: Support tabindex attribute (including value -1) on non-control XUL elements. r=smaug
Previously, the tabindex attribute wasn't supported on non-control XUL elements at all.
The only way to make those focusable was to use -moz-user-focus: normal.
However, that caused the element to be included in the tab order; there was no way to make it focusable but not tabbable.
This can now be achieved using tabindex="-1".
This will primarily be useful for buttons on toolbars, which will be grouped under a single tab stop for efficiency.

For consistency, this also changes the behaviour of tabindex="-1" with -moz-user-focus: ignore on XUL controls.
Previously, -moz-user-focus: ignore would override tabindex="-1", making the element unfocusable.
Now, the tabindex attribute always overrides if explicitly specified.

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

--HG--
extra : moz-landing-system : lando
2018-11-17 02:38:27 +00:00
Nika Layzell
2f7bbe21e3 Bug 1477432 - Part 11: Update CustomElementRegistry to not use nsIJSID, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D9733
2018-11-16 17:27:48 -05:00
Nika Layzell
589d2a7b6f Bug 1477432 - Part 10: Stop using nsIJSID in nsIArray for optional IID parameters, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D9732
2018-11-16 17:27:46 -05:00
Nika Layzell
11b083d72c Bug 1477432 - Part 9: Switch to using plain JS objects for nsIJS[IC]ID, r=mccr8
This is a complete rewrite of the interface while maintaining the same APIs.
Each ID is fully-contained within a single object, does not require a finalizer,
and is cheap to create.

Beyond using reserved slots, this code avoids using custom ClassOps, instead
preferring Symbol.hasInstance and eager constants.

One major change which occurred in this patch was the move from storing a nsCID
to storing the ContractID for JSCID objects. This eliminates the need for the
'refreshCID' method, and hopefully shouldn't have performance implications.

If we discover that there are performance problems there, we can look into
stashing the CID, and re-introduce 'refreshCID', despite its surprising
behaviour.

Differential Revision: https://phabricator.services.mozilla.com/D2286
2018-11-16 17:27:44 -05:00
Nika Layzell
d2f648498e Bug 1477432 - Part 8: Remove test-only Components.classesById and Components.interfacesById, r=mccr8
These two interfaces are effectively never used, so to avoid needing to support
ClassID2JSValue with the new implementation, I remove them entirely.

Differential Revision: https://phabricator.services.mozilla.com/D2285
2018-11-16 17:27:42 -05:00
Nika Layzell
738dd3f1a9 Bug 1477432 - Part 7: Stop using nsIJSID in xpconnect outside of XPCJSID.cpp, r=mccr8
This mostly consists of changes to the XPCComponents objects to avoid using the
implementation details, and instead use the API defined in part 1.

Differential Revision: https://phabricator.services.mozilla.com/D2284
2018-11-16 17:27:41 -05:00
Nika Layzell
d036b747e7 Bug 1477432 - Part 6: Stop using nsIJSID inside of WebIDL bindings, r=mccr8
Rather than adding a native type for nsID objects in WebIDL, this patch just
takes the approach of switching consumers over to using 'any' and calling the
APIs defined in Part 1.

Differential Revision: https://phabricator.services.mozilla.com/D2283
2018-11-16 17:27:39 -05:00
Nika Layzell
7954235168 Bug 1477432 - Part 5: Add a refreshCID method to JSCID objects, r=mccr8
This lets us get rid of the method 'initalize', which currently needs the
internal representation of JSCID.

This particular method is removed entirely in Part 9, and only exists to keep
intermediate states building & running.

Differential Revision: https://phabricator.services.mozilla.com/D2282
2018-11-16 17:27:37 -05:00
Nika Layzell
a3dbdf2c54 Bug 1477432 - Part 4: Remove the nsJSID XPCOM constructor, r=mccr8
Nobody was using it, so it's pretty easy to remove.

Differential Revision: https://phabricator.services.mozilla.com/D2281
2018-11-16 17:27:35 -05:00
Nika Layzell
a3a4d67877 Bug 1477432 - Part 3: Avoid using nsIJSID in Components.Constructor, r=mccr8
This should be mostly compatible with the original implementation. I tried to
simplify things here to just directly wrap and use JS objects, calling methods
on them. This eliminates the nsXPCConstructor type completely, replacing it with
a JSNative constructor with predefined READONLY | PERMANENT properties.

Differential Revision: https://phabricator.services.mozilla.com/D2280
2018-11-16 17:27:33 -05:00
Nika Layzell
fe2f2478f7 Bug 1477432 - Part 2: Avoid using nsIJSID in GenerateQI, and produce better diagnostics, r=kmag
This is the first part of hiding the implementation of nsIJSID behind the
interface added in Part 1, such that we can substitute that implementation out.

I had to make a couple of changes to fix the errors caused by the new behaviour
in GenerateQI.

Differential Revision: https://phabricator.services.mozilla.com/D2279
2018-11-16 17:27:31 -05:00
Nika Layzell
e3d63382ee Bug 1477432 - Part 1: Move xpc_ nsJSID methods to a future-proof API, r=mccr8
The new API tries to be more generic, taking and producing JS::Values. It also
supports creating the more specialized IID and CID types.

Differential Revision: https://phabricator.services.mozilla.com/D2278
2018-11-16 17:27:29 -05:00
Emilio Cobos Álvarez
82956adc4f Bug 1507101 - Use StyleChildrenIterator instead of custom frame tree walking code to handle NAC inside shadow dom. r=smaug
There are lots of frames which create anonymous content (like scrollframes,
which generate scrollbars) but for which this code was wrong.

Use StyleChildrenIterator which has a defined order between NAC and flattened
tree. I've verified this doesn't break tabbing through input type="date" with
UA widget disabled, fwiw.

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

--HG--
extra : moz-landing-system : lando
2018-11-16 20:31:50 +00:00
Andreea Pavel
b81f4955bb Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-11-17 13:30:31 +02:00
Dão Gottwald
5b9912f43e Bug 1506261 - Convert search-one-offs from a custom element to a plain JS class and initialize it lazily. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D11889

--HG--
extra : moz-landing-system : lando
2018-11-17 08:46:35 +00:00
Philip Chimento
29161b173a Bug 1506324 - Add JS::DefaultGlobalClassOps to JSAPI. r=jorendorff
This also adds a js::ClassOps variant, js::DefaultGlobalClassOps which can
be used in js::Class.

Depends on D11569

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

--HG--
extra : moz-landing-system : lando
2018-11-16 15:30:28 +00:00
Mike Hommey
56bbc9b698 Bug 1502457 - Derive the default update channel from the application display version. r=nalexander
Depends on D11986

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

--HG--
extra : source : 9174dadf38b0d1763cd1d0591d4333c68b5480a6
2018-11-16 01:16:59 +00:00
Mike Hommey
7e51528881 Bug 1502457 - Move MOZILLA_OFFICIAL to init.configure. r=nalexander
Depends on D11985

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

--HG--
extra : source : 2bc4c0bfa299a08006f17afda472705a52d7ec6d
2018-11-16 01:16:31 +00:00
Mike Hommey
1ac822e820 Bug 1502457 - Move js_option around to make it available earlier. r=nalexander
Depends on D11984

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

--HG--
extra : source : 1442604ea2668c096163776381579774c2114991
2018-11-16 01:15:58 +00:00
Mike Hommey
c8cb111f94 Bug 1502457 - Move MOZ_APP_VERSION{,_DISPLAY} to python configure. r=nalexander
Depends on D11983

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

--HG--
extra : source : 1cf7694c8aa247c169c93d279bd16201103b75a8
2018-11-16 01:15:35 +00:00
Mike Hommey
4a542b98af Bug 1502457 - Move FIREFOX_VERSION to python configure. r=nalexander
Depends on D11982

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

--HG--
extra : source : a73cfbabdd47368eee9682c24de75cbaf1564dde
2018-11-16 01:14:46 +00:00
Mike Hommey
d8065af7e8 Bug 1502457 - Use MOZ_APP_VERSION instead of FIREFOX_VERSION. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D11982

--HG--
extra : source : 2c2b09264a82bb21a56620189020e146d80259d3
2018-11-16 01:14:07 +00:00
WR Updater Bot
62f47938ea Bug 1507938 - Update webrender to commit 199ace786ef5d80982a8c811dabfab13593e6ae6 (WR PR #3321). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D12227

--HG--
extra : moz-landing-system : lando
2018-11-18 22:37:30 +00:00
Ted Campbell
e2eed65bb5 Bug 1508160 - Add JS_BEGIN_MACRO to .clang-format r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D12226

--HG--
extra : moz-landing-system : lando
2018-11-18 19:54:59 +00:00
Jared Wein
06af8abbe3 Bug 1504277 - Open new tabs at the end of a multiselection of tabs if the New Tab button is ctrl-clicked. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D11376

--HG--
extra : moz-landing-system : lando
2018-11-18 22:26:52 +00:00
Thomas Nguyen
3ece15001f Bug 1460920 - part 3: Update web-platform-tests r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D11638

--HG--
extra : moz-landing-system : lando
2018-11-15 19:19:16 +00:00
Philip Chimento
700abccb03 Bug 1506323 - Add JS::PrintError to public API. r=tcampbell
Depends on D11568

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

--HG--
extra : moz-landing-system : lando
2018-11-15 16:28:03 +00:00
Thomas Daede
dd1c4d38c5 Bug 1501796 - Add nasm to debian7-build dockerfile. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D9747

--HG--
extra : moz-landing-system : lando
2018-11-17 00:38:50 +00:00
Brad Werth
4476e0d1a3 Bug 1506687 Part 2: Add a test of FlexItemValues frameRect property. r=dholbert
Depends on D12182

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

--HG--
extra : moz-landing-system : lando
2018-11-17 00:58:26 +00:00
Brad Werth
cae2b12074 Bug 1506687 Part 1: Make FlexItemValues also provide the item's frame rect. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D12182

--HG--
extra : moz-landing-system : lando
2018-11-17 00:56:51 +00:00
Cosmin Sabou
d1b2c17c02 Backed out changeset eb21007e7da0 (bug 1501991) for geckoview failures on several tests. 2018-11-17 02:18:03 +02:00
Felipe Gomes
35cce4b363 Bug 1507885 - Screenshots policy test should check for the correct PageAction. r=_6a68
Differential Revision: https://phabricator.services.mozilla.com/D12160

--HG--
extra : moz-landing-system : lando
2018-11-16 23:41:41 +00:00
Thomas Wisniewski
c5d0750aa4 Bug 1503402 - Replace Report Site Issue in Fennec with a webextension version; r=aswan
Replace Report Site Issue in Fennec with a webextension version

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

--HG--
extra : moz-landing-system : lando
2018-11-16 22:07:31 +00:00
Ting-Yu Lin
1209bed8a8 Bug 1491915 - Fix bullet frame creation for columns. r=bzbarsky
The modification to nsLayoutUtils::GetFirstLinePosition() is needed because we
need to get the correct first line position from child (i.e. ColumnSet) when
there's an outside bullet on ColumnSetWrapperFrame.

The difference between the two newly added tests is "overflow: hidden" on
the columns.

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

--HG--
extra : moz-landing-system : lando
2018-11-16 21:46:23 +00:00
Logan Smyth
5e324dfa7b Bug 1507312 - Update Debugger Frontend v102 r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D11967

--HG--
extra : moz-landing-system : lando
2018-11-16 22:47:21 +00:00
James Teh
382c02eef0 Bug 1506503: PanelMultiView: Automatically focus the first item if a panel is opened via the keyboard. r=johannh,paolo
Previously, we had specific code to do this for the "View site information" button (#identity-box) when activated via the keyboard.
To work well for keyboard and screen reader users, all such popups (e.g. Firefox menu, Page Actions, etc.) should do this.
These are all based on panelMultiView.
The arguments passed to PanelMultiView.openPopup can include the event which triggered the popup.
We now use this to detect keypress events and focus the first item in the panel in that case.

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

--HG--
extra : moz-landing-system : lando
2018-11-16 22:51:59 +00:00
Johann Hofmann
624a3d5172 Bug 1501991 - Add a sub-panel for Trackers in the control center. r=Jamie,Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D11611

--HG--
extra : moz-landing-system : lando
2018-11-16 22:34:07 +00:00
Gabriele Svelto
70a27fb574 Bug 1497669 - Relax breakpad's constraints when merging module mappings on Linux r=ted
This makes a few small but significant changes to the logic breakpad uses to
merge module memory mappings:

- First of all we merge areas of reserved space if their offset is either 0 or
  the end of the previous non-reserved mapping.
- Whenever we encounter an executable mapping we flag all the merged modules
  as executable. This shouldn't happen but apparently some older Android
  linkers suffered from a bug that caused the first mapping not to be
  executable.
- Last but not least we record the raw end address of a module on Android.
  This shouldn't affect us but it's done in upstream breakpad so it probably
  doesn't hurt.

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

--HG--
extra : moz-landing-system : lando
2018-11-16 22:43:32 +00:00
Cosmin Sabou
b3241c824a Backed out 3 changesets (bug 1506267) for apilint build bustage. CLOSED TREE
Backed out changeset 7a53f4ea811b (bug 1506267)
Backed out changeset 5d1c5593fdf3 (bug 1506267)
Backed out changeset 32e919db3735 (bug 1506267)
2018-11-17 00:54:14 +02:00
Cosmin Sabou
33ceb3272d Backed out changeset c62c378d4f58 (bug 1501796) for causing docker image builds exceptions. CLOSED TREE
--HG--
extra : amend_source : 223aa6fb65d7bcc587eb5a6c4d4792926eb49485
2018-11-17 00:37:07 +02:00
Agi Sferro
bb52d56064 Bug 1506267 - Add android-api-lint to automation; r=nalexander
Depends on D11821

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

--HG--
extra : moz-landing-system : lando
2018-11-16 22:18:09 +00:00
Agi Sferro
4df8cf48ad Bug 1506267 - Use apilint to track API changes in api.txt. r=snorp,nalexander.
Depends on D12047

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

--HG--
extra : moz-landing-system : lando
2018-11-16 20:27:14 +00:00
Agi Sferro
f4ce1f73cf Bug 1506267 - Add plugins.gradle.com to Nexus. r=nalexander.
Differential Revision: https://phabricator.services.mozilla.com/D12047

--HG--
extra : moz-landing-system : lando
2018-11-16 22:21:28 +00:00
Ehsan Akhgari
d28e1c14c6 Bug 1507689 - Fix an intermittent failure condition in test_WebExtensionContentScript.js which is turned into a perma-failure with the patch in bug 1504728 r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D12093

--HG--
extra : moz-landing-system : lando
2018-11-16 21:42:02 +00:00