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

616168 Коммитов

Автор SHA1 Сообщение Дата
sotaro 27f253ccf7 Bug 1494533 - Fix log message of copy-paste error r=nical 2018-09-28 14:36:30 +09:00
Coroiu Cristina 35b751d9cd Merge mozilla-central to inbound a=merge 2018-09-28 07:37:58 +03:00
Coroiu Cristina 0ae7e1ad7b Merge inbound to mozilla-central a=merge 2018-09-28 07:33:05 +03:00
Coroiu Cristina 21739daf9b Merge autoland to mozilla-central a=merge 2018-09-28 07:31:35 +03:00
Coroiu Cristina 62682de0ba Backed out changeset 39762ef5d56e (bug 1493427) for frequent talos chrome failures a=backout
--HG--
rename : browser/base/content/test/siteIdentity/browser_navigation_failures.js => browser/base/content/test/siteIdentity/browser_tls_handshake_failure.js
2018-09-28 07:29:39 +03:00
Xidorn Quan 48a77c4938 Bug 1306696 part 4 - Add test for this bug. r=smaug
MozReview-Commit-ID: 1Pzt6DPif00

--HG--
extra : source : 8e4d810704a278ea8130d8dc3c38c3173ca92a55
2018-09-28 14:28:54 +10:00
Jeff Muizelaar 4407187413 Bug 1494206. Update tests for blur changes.
--HG--
extra : rebase_source : 88411ee6146fbf2781bcdaee4e3668a2b1473b34
2018-09-27 23:30:38 -04:00
Jeff Muizelaar 2d103b2506 Bug 1494206. Update webrender to commit 0d2e9611c07e04ac830277f16a3b46bf125b9e7c
--HG--
extra : rebase_source : 819d34566c0b1085f5b8388aec934fb31e53581d
2018-09-27 23:29:15 -04:00
Stephen A Pohl 75d82dfbf5 Bug 1445943: Fix ES lint error on inbound due to a missing comma and macOS test failures. r=me CLOSED TREE 2018-09-27 23:54:18 -04:00
Dorel Luca 3b805a479e Backed out changeset 5d60b68a0a42 (bug 1494216) for xpcshell failures in memory/replace/dmd/test/test_dmd.js. CLOSED TREE 2018-09-28 06:35:55 +03:00
Stephen A Pohl f115950b8e Bug 1445943: Add Enterprise Policy support for macOS. r=mstange,felipe,glandium 2018-09-27 23:08:07 -04:00
Brian Grinstead eaaac5ca03 Bug 1460982 - Convert <searchbar> to a Custom Element;r=adw
Differential Revision: https://phabricator.services.mozilla.com/D5912

--HG--
rename : browser/components/search/content/search.xml => browser/components/search/content/searchbar.js
extra : moz-landing-system : lando
2018-09-27 23:09:55 +00:00
Bogdan Tara 8449b1c489 Backed out changeset ba1fef7b14eb (bug 1493955) for GTest failures CLOSED TREE 2018-09-28 02:42:20 +03:00
Kearwood "Kip" Gilbert 4bbd4a30cf Bug 1473398 - Add telemetry support to gfxVRExternal and OpenVRSession r=daoshengmu
Differential Revision: https://phabricator.services.mozilla.com/D7014

--HG--
extra : moz-landing-system : lando
2018-09-27 21:56:20 +00:00
Coroiu Cristina 8f256026f1 Merge mozilla-central to autoland a=merge ona CLOSED TREE 2018-09-28 00:41:04 +03:00
Coroiu Cristina 71988c7b7e Merge inbound to mozilla-central a=merge 2018-09-28 00:36:46 +03:00
Coroiu Cristina 785b266d18 Merge autoland to mozilla-central a=merge 2018-09-28 00:35:24 +03:00
Coroiu Cristina fa474415f8 Backed out changeset d846803d6d6e (bug 1485762) on request by dev a=backout 2018-09-28 00:06:02 +03:00
Ehsan Akhgari c3d0993283 Backout changeset ba6be9a8195b (bug 1494145) because it wasn't the right fix 2018-09-27 14:37:06 -04:00
Nathan Froyd d0aecd3187 Bug 1494717 - fix package name for aarch64 windows; r=ted.mielczarek
The current code assumes that !x86-64 must be 32-bit.  Let's flip that
and assume that !x86 is 64-bit.
2018-09-27 14:35:00 -04:00
Nathan Froyd 432939f95c Bug 1494503 - disable neon codepaths in libyuv for aarch64 windows; r=jesup
The NEON codepaths could work, but they'd have to be converted to
MSVC-friendly assembly (or separate .asm files) first.  Just disable
building them for now.
2018-09-27 14:33:26 -04:00
Ted Campbell 7d5a651b91 Bug 1485347 - Part 3: Use mozilla::Span for JSScript::data arrays. r=jandem
Replace various custom data-types in JSScript interfaces with
mozilla::Span. This abstracts implementation details and supports
range-based for-loops. Underlying storage is unchanged, but this sets us
up to be able to more easily change it.

MozReview-Commit-ID: FDfIYsAxTA8
2018-09-27 14:27:20 -04:00
Timothy Guan-tin Chien 35b063fc71 Bug 1493525 - Part II, Make videocontrols guard itself from reading the layout at the wrong time r=jaws
This patch adds a few guards to the DOM elements the videocontrols holds as
properties. Any future changes that attempt to access the blacklisted layout
properties of the DOM elements will throw.

Depends on D6725

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

--HG--
extra : moz-landing-system : lando
2018-09-27 17:44:53 +00:00
Timothy Guan-tin Chien 52fcb4df46 Bug 1493525 - Part I, Access layout dimensions in resizevideocontrols event only r=jaws
Given that the videocontrols UA Widget initializes when the DOM is inserted
(as opposed to the XBL binding only when the element is visible), the code should
not be tapping into layout until it updates.

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

--HG--
extra : moz-landing-system : lando
2018-09-27 17:44:44 +00:00
Matthew Noorenberghe 05d5fb0939 Bug 1490805 - Add a required CSC/CVV field to the add card page. r=jaws
Depends on D6882

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

--HG--
extra : moz-landing-system : lando
2018-09-27 17:26:24 +00:00
Dana Keeler b3b9e414bc bug 1493427 - use the docShell to call OnSecurityChange in nsSecureBrowserUIImpl::OnLocationChange r=Gijs
When navigating to an about: page that doesn't exist (e.g.
"about:somethingthatdoesnotexist"), the docShell will call
nsSecureBrowserUIImpl::OnLocationChange with a request that is null.
Consequently, we can't use that to QueryInterface to a nsISecurityEventSink to
call OnSecurityChange. The previous implementation would use the prior
request's nsISecurityEventSink, which was a bug but luckily this produced the
correct behavior. Since the original docShell the nsSecureBrowserUIImpl was
initialized with is what needs to be notified, we can just QueryInterface that
to an nsISecurityEventSink and call OnSecurityChange directly instead.

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

--HG--
rename : browser/base/content/test/siteIdentity/browser_tls_handshake_failure.js => browser/base/content/test/siteIdentity/browser_navigation_failures.js
extra : moz-landing-system : lando
2018-09-27 17:26:00 +00:00
Nicolas Chevobbe 433264a3b1 Bug 1410820 - Extensively test top-level await evaluation; r=bgrins.
We add several tests and modify the existing one to make sure we handle
top level await correctly in different situation (resolving, rejecting,
when paused in the debugger, when using $_, …).

Depends on D6925

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

--HG--
extra : moz-landing-system : lando
2018-09-27 16:01:16 +00:00
Nicolas Chevobbe 674b26da5e Bug 1410820 - Enhance webconsole test helpers; r=bgrins.
1. Allow passing a selector to waitForMessage helper function:

This will allow to wait for specific message (warning, error, result, …).
This patch also fixes 2 tests that were already passing an erroneous selector
to waitForMessage.

2. Add an executeAndWaitForMessage function:

This will make a lot of our tests much easier to read. The function takes
an input, an expected output and an optional selector, execute the input
and resolves when a message matching the provided text (and selector
if passed) is displayed in the output.

Depends on D6903

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

--HG--
extra : moz-landing-system : lando
2018-09-27 16:00:32 +00:00
Nicolas Chevobbe 2aa2e07452 Bug 1410820 - top-level await evaluation should be handled as regular evaluation; r=bgrins.
This patch turns the current top-level handling, which relies on
the console API to print the result of the await expression, into
something natively handled by the server.

First, we don't add a .then handler to the generated async iife by
the mapper. We also removes the case we added in the JsTerm to *not*
print the result for top-level await expression.

In order to make the server capable of handling generated async iife
caused by the mapper, we send to evaluateJsAsync the `mapped` object
that `mapExpression` returns. This way, the server can check if an
expression was originally a top-level await.

If it is the case, we get the promise from the async iife and wait for
it to settle. If it resolves, we simply return the result, as a grip,
to the client. If it rejects, we return a special packet indicating to
not print anything to the client. The error will be reported by the
engine as `uncaught exception: …`.

We add several tests and modify the existing one to make sure we handle
top level await correctly in different situation (resolving, rejecting,
when paused in the debugger, when using $_, …).

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

--HG--
extra : moz-landing-system : lando
2018-09-27 15:59:47 +00:00
Nicolas Chevobbe 237c4ba134 Bug 1494545 - Make Ctrl+Space open the autocomplete popup in the console; r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D7049

--HG--
extra : moz-landing-system : lando
2018-09-27 16:36:11 +00:00
Gurzau Raul a8d8876e9e Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-27 19:45:35 +03:00
Gurzau Raul 00b3974ac0 Backed out 5 changesets (bug 1494613) for failing at testing/geckodriver/src/marionette.rs
Backed out changeset 09e9cefc19ca (bug 1494613)
Backed out changeset f9f4e7c55d61 (bug 1494613)
Backed out changeset 457da8a172be (bug 1494613)
Backed out changeset 8d26a58f754e (bug 1494613)
Backed out changeset 729d8f3e1341 (bug 1494613)
2018-09-27 18:49:58 +03:00
Rob Wu e1571e4a5a Bug 1280347 - Remove <all_urls> requirement for the "tab" context r=mixedpuppy
See https://bugzilla.mozilla.org/show_bug.cgi?id=1280347#c28

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

--HG--
extra : moz-landing-system : lando
2018-09-27 15:32:14 +00:00
Mark Banner d50e3a7301 Bug 1493668 - Change UrlbarInput unit test to be a mochitest for easier setup. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D6664

--HG--
rename : browser/components/urlbar/tests/unit/test_UrlbarInput_unit.js => browser/components/urlbar/tests/browser/browser_UrlbarInput_unit.js
extra : moz-landing-system : lando
2018-09-27 15:04:07 +00:00
Andrew McCreight 5a1eb609f9 Bug 1493276 - Statically prevent CallQueryInterface to a base class r=froydnj
If a class A is derived from a class B, then an instance of A can be
converted to an instance of class B via a static cast, so QI is not
needed. QIs are slower than static casts.

TestCallTemplates seems to be testing that CallQueryInterface compiles
even if the first argument's class is only ambiguously castable to
nsISupports, so I changed the second argument to be a class unrelated
to the concrete class.

I also removed some useless null checks on the return value of new.

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

--HG--
extra : moz-landing-system : lando
2018-09-27 14:59:55 +00:00
Julien Wajsberg 9ce2cbff3e Bug 1494337 - Do not display the 'triggers refresh' note if there's no option needing it r=ochameau
Depends on D6923

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

--HG--
extra : moz-landing-system : lando
2018-09-27 14:33:41 +00:00
Julien Wajsberg f74fc26e96 Bug 1494337 - Move the 'tool not supported' label to the right place r=ochameau
Depends on D6922

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

--HG--
extra : moz-landing-system : lando
2018-09-27 14:33:39 +00:00
Julien Wajsberg b29f25d7b3 Bug 1494337 - Insert the settings for nightly before the 'reloads the page' indication r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D6922

--HG--
extra : moz-landing-system : lando
2018-09-27 14:33:38 +00:00
Jared Wein 3dc4f24d54 Bug 1470168 - Add tooltip beside 'Save to Firefox' checkbox. r=MattN
I had to move the tooltip to appear above the help icon to make sure that it cause scrollbars to appear on the address form.

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

--HG--
extra : moz-landing-system : lando
2018-09-27 14:11:39 +00:00
Emilio Cobos Álvarez 1b0a0261a1 Bug 1494622 - Simplify CSSValue and co a bit more. r=xidorn
Just remove the useless stuff.

Differential Revision: https://phabricator.services.mozilla.com/D7071
2018-09-27 16:11:45 +02:00
Emilio Cobos Álvarez b4bba4d593 Bug 1494622 - Remove nsDOMCSSRect. r=xidorn
Differential Revision: https://phabricator.services.mozilla.com/D7070
2018-09-27 16:11:44 +02:00
Emilio Cobos Álvarez 45ef068d56 Bug 1494622 - Serialize -moz-image-region and clip with Servo. r=xidorn
This changes the serialization of -moz-image-region to be consistent with that
of clip(), but it's an internal property and the specified value is already
serialized by servo so I think it's the right thing to do.

There are also no internal callers of the getter.

Differential Revision: https://phabricator.services.mozilla.com/D7069
2018-09-27 16:11:43 +02:00
Emilio Cobos Álvarez 864a303a8c Bug 1494622 - Remove nsDOMCSSRGBColor. r=xidorn
Differential Revision: https://phabricator.services.mozilla.com/D7068
2018-09-27 16:11:42 +02:00
Emilio Cobos Álvarez 8654e90627 Bug 1494332 - Avoid setting the has-first-letter child bit on a first-line. r=bzbarsky
We rely on the bit being on the block to restyle them in the right order.

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

--HG--
extra : moz-landing-system : lando
2018-09-27 13:16:00 +00:00
David Major cf67c848e4 Bug 1494077: Remove unused macro and its supporting #define to fix a unified build problem. r=mak
--HG--
extra : rebase_source : ecb363e35dee56a2c4d1c3cd4c5825a7017569ea
2018-09-27 08:58:55 -04:00
Rob Wu fd1f17a6e3 Bug 1280347 - Require a permission for the API r=mixedpuppy
The new permission is added to make it easier to audit the usage of the
API. It is an optional permission, in case we ever decide to introduce
a permission warning for it.

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

--HG--
extra : moz-landing-system : lando
2018-09-27 08:21:07 +00:00
Rob Wu a69fd162a2 Bug 1280347 - Normalize local ExtensionErrors r=mixedpuppy
Normalize errors thrown by extension API implementations in content
processes to ensure that extension code can read the error message
if the error is an instance of ExtensionUtils.ExtensionError.

This code path is triggered in browser_ext_menus_replace.js and
browser_ext_menus_replace_menu_permissions.js.

Depends on D6625

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

--HG--
extra : moz-landing-system : lando
2018-09-27 08:21:06 +00:00
Rob Wu 444c304d8b Bug 1280347 - Add tests for overriding context type of extension menus r=mixedpuppy
Depends on D6624

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

--HG--
extra : moz-landing-system : lando
2018-09-27 08:21:06 +00:00
Rob Wu 7939207209 Bug 1280347 - Support changing context type to tab and bookmark r=mixedpuppy
This allows extensions to include tab/bookmark menu items from other
extensions. Built-in menu items from the browser are *not* added.

Depends on D6623

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

--HG--
extra : moz-landing-system : lando
2018-09-27 08:21:05 +00:00
Nicholas Nethercote 58812c5536 Bug 1494515 - Remove an unused argument from nsStaticAtom's constructor. r=froydnj
Presumably the commit that introduced `aStringOffset` could have removed this,
but overlooked it.

--HG--
extra : rebase_source : 176f14ce01c18ed4c83892d2b7a9e7a54fb5c836
2018-09-27 16:14:05 +10:00