Commit Graph

607627 Commits

Author SHA1 Message Date
Dorel Luca
33b000ddd1 Merge mozilla-central to mozilla-inbound 2018-08-04 01:31:40 +03:00
Dorel Luca
5c509fd70a Backed out changeset 8c763e66ba84 (bug 1397297) for frequent mochitest failures. a=backout 2018-08-04 01:27:15 +03:00
Dorel Luca
e10cc6aac4 Merge mozilla-central to mozilla-inbound
--HG--
extra : rebase_source : 8265ad85fc5376a71af7ed3afe8463b7178286f3
2018-08-04 01:08:25 +03:00
Nathan Froyd
dc2c367d40 Bug 1480581 - add an AArch64-specific case to EndianUtils.h; r=Waldo 2018-08-03 18:07:34 -04:00
Nathan Froyd
c0949fc4e1 Bug 1480577 - add AArch64-specific cases for MathUtils.h bitscan functionality; r=Waldo 2018-08-03 18:07:34 -04:00
Nathan Froyd
7074ffc753 Bug 1480588 - restrict rtdsc Time.h functions to x86ish processors on Windows; r=luke
__rtdsc is not going to work so well on AArch64.
2018-08-03 18:07:35 -04:00
Dorel Luca
9f724d256f Merge mozilla-inbound to mozilla-central. a=merge 2018-08-04 01:01:35 +03:00
Dorel Luca
6a17c64e9b Merge autoland to mozilla-central. a=merge 2018-08-04 00:58:55 +03:00
Boris Zbarsky
f771d7e529 Bug 1477923. Make WebIDL callbacks store a global in addition to the object that's used as a callback. r=mccr8
We want to be able to enter the Realm we were in when the callback was created
before calling it, but if the callback stores a cross-compartment wrapper we
don't really have a good way to find that Realm.  So we store it explicitly by
storing a global when the callback is created.

The changes to the constructor signatures to use JSObject* instead of
JS::Handle<JSObject*> are so we can avoid having to root the global for these
calls.  These changes make two of the constructors ambiguous when nullptr is
being passed for the first arg; this patch adds casts to disambiguate.
2018-08-03 17:11:39 -04:00
Bryce Van Dyk
f99f3a68e7 Bug 1404977 - Tests P2: Add test to ensure multiple, concurrent gUM calls in a single window succeed. r=pehrsons
MozReview-Commit-ID: HGwcu6Z2mDn

--HG--
extra : rebase_source : 21082b25ae88ae514c10d46d921df9f70dd491db
2018-08-03 10:35:59 -04:00
Francesco Lodolo (:flod)
e9d2dce082 Bug 1480742 - Ignore paths starting with 'localization/' when searching for duplicates in installer r=Pike a=Android-Nightly-fix
Reviewers: Pike

Reviewed By: Pike

Bug #: 1480742

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

--HG--
extra : rebase_source : fdf16921deb91e297346fbd99ff93874c4fe6216
extra : amend_source : d191e9de14ae5484040b2b1fb4e63a92b944b2d6
2018-08-03 16:47:30 +03:00
Bogdan Tara
f2cb75b28c Merge inbound to mozilla-central. a=merge 2018-08-03 13:16:27 +03:00
Mike Hommey
5d438c8022 Bug 1478995 - Fix gradle-dependencies bustage for nodejs not found. CLOSED TREE
--HG--
extra : source : 228be4ef7ed11764f008c6fc904089f3ed5f130e
2018-08-03 12:44:27 +03:00
Nicolas Chevobbe
4f34541b99 Bug 1475391 - Add mapping for CORS error types to MDN pages; r=bgrins.
Differential Revision: https://phabricator.services.mozilla.com/D2557

--HG--
extra : moz-landing-system : lando
2018-08-03 06:40:36 +00:00
Nathan Froyd
879bf0a2bd Bug 1480553 - part 3 - add mappings for aarch64 in Windows configure paths; r=glandium
We need to add mappings for target.cpu to MSVC's arm64 name for
determining various paths, and we need to add an extra case to
get_vc_paths so the compiler can find all the necessary DLLs.
2018-08-02 21:40:40 -04:00
Nathan Froyd
60ba63041d Bug 1480553 - part 2 - add a case for aarch64* when setting MIDL_FLAGS; r=glandium 2018-08-02 21:40:40 -04:00
Nathan Froyd
868f4fb506 Bug 1480553 - part 1 - add Windows-specific aarch64 macro detection; r=glandium
MSVC doesn't define __aarch64__, but uses its own symbol instead.
2018-08-02 21:40:40 -04:00
Sam Foster
5b22b7f2ef Bug 1480023 - Ensure input event is handled in the correct order by waiting for EditAutofillForm constructor before adding BasicCardForm's input & change handlers. r=MattN
MozReview-Commit-ID: F9hzp54hZxX

--HG--
extra : rebase_source : 5c8e588bd931070f9925da1bc8543f6f52bdf84f
2018-08-02 17:46:56 -07:00
Jared Wein
b5298bb1f5 Bug 1477699 - Show a generic error message when a merchant-supplied error message isn't present. r=MattN
MozReview-Commit-ID: Dn4mnvzunVd

--HG--
extra : rebase_source : b606aa2717febdf7d014c5254bd28148ebfc64be
2018-07-31 15:09:58 -04:00
Abdoulaye O. Ly
497a22d1d5 Bug 1477780 - In a multi-select context, 'Close Tabs To The Right' closes tabs located to right of the rightmost selected tab. r=jaws
MozReview-Commit-ID: 6Kwnv8fvFLa

--HG--
extra : rebase_source : c880c87b0c06bde570c0dad0c09136a715a251ae
2018-07-30 15:04:32 +00:00
Jared Wein
9849e2000e Bug 1472278 - Localize the required form asterisk on the address-form, basic-card-form, and CVV entry field. r=MattN
MozReview-Commit-ID: 7VN1VY7QziT

--HG--
extra : rebase_source : b28017164a32758271059b0337e295ca4883f14b
2018-07-30 21:13:36 -04:00
Kartikaya Gupta
4e5a308827 Bug 1479939 - Ensure we tell WR to remove the compositable pipelines when clearing resources. r=sotaro
MozReview-Commit-ID: AxuvERUalhb

--HG--
extra : rebase_source : 674a20346c234912f7389d9fc7078c956cf08fc7
2018-08-02 00:17:36 -04:00
Tom Ritter
dedea82b24 Bug 1480177 Change forward slash to backslash in #include r=froydnj
MozReview-Commit-ID: FySU6SVkMJl

--HG--
extra : rebase_source : 9b849f7de12bffeb84d610432e0218cb666d08d6
2018-08-02 10:54:29 -05:00
Tom Ritter
c9e4e2854a Bug 1480177 Lowercase includes to fix MinGW Build Errors r=froydnj
MozReview-Commit-ID: LvFS90CRAFe

--HG--
extra : rebase_source : bfbcc59d061128e5440378448523bbaf939d5a45
2018-07-30 22:43:24 -05:00
Tudor-Gabriel Vîjială
a16d201c28 Bug 1473313 - Part 5: Add in-tree documentation page for Android code coverage. r=nalexander
MozReview-Commit-ID: 20meKbpduha

--HG--
extra : rebase_source : 0383fe0cab846c148e1b20b2ee517730a18fae32
2018-07-31 12:02:08 +01:00
Oriol Brufau
757eed8c02 Bug 1479130 - Dispatch TabMultiSelect event when multiselection changes
MozReview-Commit-ID: JkLJyDXbOKL

--HG--
extra : rebase_source : 1e03626e9c6b4cbf850ce8e95fc69d9e715daba2
2018-07-28 02:25:34 +02:00
Kristen Wright
fbf7880ab6 Bug 1478942 - Convert UniquePtr<SimpleEdgeRange> back to UniquePtr<EdgeRange> to return an EdgeRange. r=erahm 2018-07-27 11:00:40 -07:00
André Bargull
99b08c5930 Bug 1472211 - Part 2: Reorder operands in Super-Elem bytecode operations. r=arai 2018-07-31 06:54:07 -07:00
André Bargull
997b7657f1 Bug 1472211 - Part 1: Reorder super-property evaluation order per latest spec change. r=arai, f=Waldo 2018-07-31 13:54:38 -07:00
Luca Greco
4984c5ed77 Bug 1474562 - Enable ExtensionStorageIDB on Nightly. r=mixedpuppy
MozReview-Commit-ID: 2YzrVdMSE4q

--HG--
extra : rebase_source : ace9a8762f3299999183480ea7484541e40fffe5
2018-07-26 19:28:19 +02:00
Chris H-C
af95ada6ba bug 1480204 - Record to a histogram counts of event registration errors, by type r=janerik
MozReview-Commit-ID: Ht3E4IcqAw8

bug 1480204 - Test registration failure probe r?janerik

MozReview-Commit-ID: 7PRdHJ9sDIg

bug 1480204 - Record when event recording fails r?janerik

MozReview-Commit-ID: 9m0GK4E6LNH

bug 1480204 - Test recording failure probe r?janerik

MozReview-Commit-ID: 2W9RQuGuklL

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

--HG--
extra : moz-landing-system : lando
2018-08-03 17:11:47 +00:00
Coroiu Cristina
a94e766f7b Backed out changeset 5240a6344b28 (bug 1477310) for browser-chrome failures at browser/base/content/test/about/browser_aboutCertError.js
--HG--
extra : rebase_source : 17ae41fcff4cd5cc2da63de24e41878321e3fc11
2018-08-03 20:08:26 +03:00
Perry Jiang
35942af79c Bug 1479592 - Remove unused PromiseWindowProxy r=mrbkap
Remove unused PromiseWindowProxy code and nsGlobalWindowInner::AddPendingPromise and nsGlobalWindowInner::RemovePendingPromise

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

--HG--
extra : moz-landing-system : lando
2018-08-02 17:00:35 +00:00
Bogdan Tara
a5db0f5415 Backed out changeset 85fd8d212397 (bug 1479544) for windows build bustages CLOSED TREE 2018-08-03 19:24:41 +03:00
Botond Ballo
a0fa30904d Bug 1477007 - Ensure the visual viewport can be scrolled within the layout viewport even if a page is not zoomable. r=kats
A meta viewport tag can simultaneously specify user-scalable=no, and a
layout viewport size and initial zoom level that make the visual viewport
smaller than the layout viewport.

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

--HG--
extra : moz-landing-system : lando
2018-07-31 23:19:27 +00:00
Boris Zbarsky
7ce9c79256 Bug 1479544. Remove nsIXULChromeRegistry::ReloadChrome. r=mossop
This was the only consumer of GetLocation() on outer windows.

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

--HG--
extra : moz-landing-system : lando
2018-08-03 15:14:43 +00:00
trisha
c92a88c389 Bug 1477310 - Enable the new certificate error pages by default in Nightly r=johannh
MozReview-Commit-ID: DN7s5t2m2Nm

--HG--
extra : rebase_source : 6c329233528610b4a0f1178d8b577577ba80197f
2018-08-01 15:57:22 +05:30
Alex Gaynor
a826b27def Bug 1426100 - disable native event processing in content processes on macOS; r=haik
We originally thought that this would enable us to disconnect from the
windowserver local service (which is a significant sandbox escape risk),
however investigations revealed that that requires changes to WebGL and thus
will be handled separately.

This also corrects an incorrect usage of the (undocumented) APIs for closing
windowserver connections. If CGSSetDenyWindowServerConnections is called while
there are open connections it is a no-op, so it must be called after
disconnecting any open connections.

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

--HG--
extra : moz-landing-system : lando
2018-08-02 15:18:51 +00:00
Greg Mierzwinski
d049263e2e Bug 1476526 - Make the baseline test use functions from BrowserTestUtils. r=marco
This patch makes a new baseline coverage test for browser-chrome which makes use of the BrowserTestUtils functions. It also begins the necessary changes so that the baseline test addition uses suites instead of file types.

MozReview-Commit-ID: 7nucHnF8CIn

--HG--
extra : rebase_source : a2a8f61bbbc5025544bebd74cee2a06d46f23fe2
2018-07-30 10:20:48 -04:00
Nicolas Chevobbe
c8da39c9f2 Bug 1478556 - Add a test for jump_to_definition telemetry event log; r=miker.
Differential Revision: https://phabricator.services.mozilla.com/D2712

--HG--
extra : moz-landing-system : lando
2018-08-03 13:35:00 +00:00
Mike Hommey
64ff5e5cb1 Bug 1480654 - Allow empty eh_frame entries. r=froydnj
Somehow, when building with LTO, clang can end up creating a eh_frame
section with only one, empty, entry (which just looks like a 4-bytes
long section full of 0x00).

--HG--
extra : rebase_source : 385c05c7e447fe1c4bc261b79c7d56138e268458
2018-08-03 11:33:49 +09:00
Bryce Van Dyk
379760a7ef Bug 1480589 - Extend lifetime of MediaRecorder telemetry probes to FF68. r=liuche
Extend lifetime of MEDIA_RECORDER_RECORDING_DURATION,
MEDIA_RECORDER_TRACK_ENCODER_INIT_TIMEOUT_TYPE, and
SCALARS_MEDIARECORDER.RECORDING_COUNT telemetry probes. This allows continued
monitoring of MediaRecorder usage in the wild. See Bug 1400757 for the original
introduction of these probes.

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

--HG--
extra : moz-landing-system : lando
2018-08-02 21:21:45 +00:00
Masayuki Nakano
45a67c4b77 Bug 1480663 - Make EditorBase::IsModifiableNode() non-virtual r=m_kato
HTMLEditor::IsModifiableNode() is enough simple and can be checked in
EditorBase. So, we should make it non-virtual and check if instance is
HTMLEditor in EditorBase::IsModifiableNode().

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

--HG--
extra : moz-landing-system : lando
2018-08-03 11:10:46 +00:00
Mark Striemer
558c4b9c14 Bug 1476991 - Move selected tab indicator to right side in RTL r=dao
MozReview-Commit-ID: 33EfbEXeCQg

--HG--
extra : rebase_source : 0ba48550323ffd221f91049cc04b163afea74c98
2018-07-31 16:00:35 -05:00
Julian Descottes
3e93eca85f Bug 1349416 - Only delay removeEventListener when hiding after mouseup;r=birtles
The inplace-editor is programmatically hiding the autocomplete-popup
on TAB and notifies the caller. The caller (eg rule view) will trigger
a click on the next focusable element immediately after that.

If the HTMLTooltip is still consuming outside clicks at that point
the click will be swallowed and the new inplace-editor cannot be created.

Depends on D2661

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

--HG--
extra : moz-landing-system : lando
2018-08-03 11:02:45 +00:00
Julian Descottes
248fb27471 Bug 1349416 - Hide HTMLTooltip on mouseup rather than on click;r=birtles
A click event is only fired if the element on which mousedown and mouseup
happened are the same. If this is not the case, the HTMLTooltip will not
be able to hide itself.

Listening to mouseup makes the behavior more consistent but forces the
hide() method to be always asynchronous, while before it was only
asynchronous for tooltips using the XULWrapper.

Depends on D2660

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

--HG--
extra : moz-landing-system : lando
2018-08-03 11:01:51 +00:00
Julian Descottes
dc84fc2f5d Bug 1349416 - Prevent event tooltip from reappearing when clicking on bubble;r=birtles
Differential Revision: https://phabricator.services.mozilla.com/D2660

--HG--
extra : moz-landing-system : lando
2018-08-03 09:40:07 +00:00
Masayuki Nakano
2552597ed2 Bug 1467373 - part 2: Skip hacks for most TIPs in TSFTextStore::HackNoErrorLayoutBugs() if running on Windows 10 build 17643 or newer r=m_kato
At Windows 10 build 17643, Microsoft fixed the bug of TSF which returns E_FAIL
to TIP when GetTextExt() returns TS_E_NOLAYOUT.  With this fix, most TIPs do
not have any problems even if we return TS_E_NOLAYOUT.  So, unless active
TIP still needs the hack, the method can skip the hack if running on build
17643 or later.

Note that we still need to support Japanist 10 and Microsoft Office IME 2010.
It confirmed that Japanist 10 has a bug of handling TS_E_NOLAYOUT.  On the
other hand, we have not tested Microsoft Office IME 2010 since it's installable
only into Win7 or Win8 and needs to upgrade it to Win10 for testing, but I
do not have the license.  After the fix comes into release channel, I'll be
able to test it though (my main environment is Win10 and it was installed
before upgraded).  So, we need to be back after Microsoft releases the fix.

MozReview-Commit-ID: 2BzkDvHTKyI

--HG--
extra : rebase_source : ee0261c83c5a1ab7b2aa2a8f476f0c6634e2cf34
2018-08-02 14:55:52 +09:00
Masayuki Nakano
34ee9cefe7 Bug 1467373 - part 1: Split hack for TS_E_NOLAYOUT part from TSFTextStore::GetTextExt() r=m_kato
The block in TSFTextStore::GetTextExt() which decides whether we should return
S_OK with unmodified character rectangle rather than TS_E_NOLAYOUT is too big.

Additionally, we need to add new condition to check Windows 10's version there.
That makes the large block more complicated.  So, we should split the block
off from TSFTextStore::GetTextExt().  Then, we can use early-return-style to
reduce the deep indentations.

MozReview-Commit-ID: J2BJMB1QD0T

--HG--
extra : rebase_source : 3c86b5ed3a83fda1045a6453250e784f11419b97
2018-08-02 14:36:03 +09:00
Bogdan Tara
0fd5041455 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-03 13:27:13 +03:00