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

624549 Коммитов

Автор SHA1 Сообщение Дата
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
Cosmin Sabou 8b0d7e9861 Merge mozilla-central to autoland. a=merge
--HG--
extra : rebase_source : d2d1fef29703d48d14b7ceac0ffa9ee0e5a0a007
2018-11-16 23:57:57 +02:00
Boris Chiou e2fc919e91 Bug 1464791 - Add comments for the calculation of Procedure::Add on Scale and transform list. r=birtles
Add more comments to let people know the intention of the special case.

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

--HG--
extra : moz-landing-system : lando
2018-11-16 19:06:16 +00:00
Boris Chiou 727ec2b557 Bug 1424134 - Part 4: Expand the mako code of Matrix3D and move them into transform.rs. r=emilio
Although the methods of Matrix3D in animated_properties.mako.rs could be
simplified by mako, it's a little bit hard to read because they are far
from the usage and definition. Therefore, we move them to the definition of
computed::Matrix3D and expand the mako.

Depends on D11935

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

--HG--
extra : moz-landing-system : lando
2018-11-16 19:29:28 +00:00
Boris Chiou 2718fd0897 Bug 1424134 - Part 3: Implement ComputeSquaredDistance for individual transforms. r=birtles
We manually implement ComputeSquaredDistance for Translate, Rotate, and
Scale because we have to handle mismatch cases, and actually we don't
need to implement it for specified types.

Depends on D11934

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

--HG--
extra : moz-landing-system : lando
2018-11-16 18:58:41 +00:00
Boris Chiou 40a2db875c Bug 1424134 - Part 2: Move the animation code of transform into a different file. r=emilio
Basically, most of the animation code of transform don't need mako, so
we could move them into values/animated/transform.rs.

However, we still use mako to generate some code to make the methods of
Matrix3D simpler, so I still leave them in animated_properties.mako.rs.

Depends on D11933

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

--HG--
rename : servo/components/style/properties/helpers/animated_properties.mako.rs => servo/components/style/values/animated/transform.rs
extra : moz-landing-system : lando
2018-11-16 18:58:39 +00:00
Boris Chiou a9d05e01da Bug 1424134 - Part 1: Factor the mako code out from transform functions. r=emilio
I'm trying to put all the mako code together, so we could move transform
code into a different file.

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

--HG--
extra : moz-landing-system : lando
2018-11-16 18:58:37 +00:00
Luke Wagner e67e6f648b Bug 1507314 - Baldr: correctly propagate shell flags to nested testig process on Windows (r=bbouvier) 2018-11-16 12:03:51 -06:00
Gurzau Raul 2fa7618d3f Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-11-16 19:55:39 +02:00
Gurzau Raul a4abaa05a2 Backed out changeset d459920f97a5 (bug 1476604) for causing Bug 1507781 a=backout 2018-11-16 19:32:13 +02:00
Gurzau Raul 0e822b012b Merge inbound to mozilla-central. a=merge 2018-11-16 19:08:39 +02:00
Luke Wagner 00940fee0d Bug 1505632 - Baldr: correctly propagate AbortError from consume stream body operation (r=lth,baku,Ms2ger) 2018-11-16 10:32:20 -06:00