Commit Graph

619220 Commits

Author SHA1 Message Date
Jim Chen
5e1875353b Bug 1496220 - 3. Disable Necko IPC security for test_saveHeapSnapshot_e10s_01; r=fitzgen
The use of <iframe mozbrowser> in test_saveHeapSnapshot_e10s_01.html has
implicitly depended on the "network.disable.ipc.security" pref set to
false, which is the default for desktop and not applicable for Fennec.
With the new mobile test harness, this pref needs to be set explicitly
by the test.

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

--HG--
extra : moz-landing-system : lando
2018-10-17 16:12:30 +00:00
Jim Chen
1ba080f4c2 Bug 1496220 - 2. Default to null triggering principal for GeckoView.loadUri; r=esawin
For improved security, default to a null triggering principal for
GeckoView.loadUri calls, except when loading certain privileged schemes
such as "resource" and "file".

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

--HG--
extra : moz-landing-system : lando
2018-10-17 16:12:28 +00:00
Jim Chen
fa3bbf2ab4 Bug 1496220 - 1. Serialize default null principal in RemoteWebNavigation; r=jkt
RemoteWebNavigation is expected to pass a serialized principal, so the
default null principal should be serialized as well.

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

--HG--
extra : moz-landing-system : lando
2018-10-17 16:12:21 +00:00
Csoregi Natalia
389ebd5de6 Backed out changeset 2fee8f9b283d (bug 1496745) for bustage on GeckoResult.java:317. CLOSED TREE 2018-10-17 18:59:03 +03:00
Dão Gottwald
d3bbb60fa0 Bug 1497469 - Dispatch the ValueChange event from UrlbarInput. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D8819

--HG--
extra : moz-landing-system : lando
2018-10-17 13:07:58 +00:00
John Lin
dcbd1af336 Bug 1499137 - unbind media manager service only when both codecs and DRM bridges are gone. r=jya,snorp
Differential Revision: https://phabricator.services.mozilla.com/D8794

--HG--
extra : moz-landing-system : lando
2018-10-17 15:26:49 +00:00
James Willcox
2cc3364a2a Bug 1496745 - Allow GeckoResult to be used without a Looper r=agi,jchen
GeckoResult can now be created on a thread with no Looper present.
You can use `then` as before after creating a derived GeckoResult
with a Handler via `withHandler`, or poll for the value via
the new `poll` method.

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

--HG--
extra : moz-landing-system : lando
2018-10-16 18:21:40 +00:00
Drew Willcoxon
e70d0048cc Bug 1496811 - Show only top single result when search only engine alias is typed in the address bar r=mak
Differential Revision: https://phabricator.services.mozilla.com/D8804

--HG--
extra : moz-landing-system : lando
2018-10-17 15:26:46 +00:00
Emilio Cobos Álvarez
d7751dd7ee Bug 1499408 - followup test fix to the followup build fix. 2018-10-17 17:19:39 +02:00
savvysiddharth
c063aeeee7 Bug 1317076 - Making navigation marker more obvious; r=nchevobbe
Before this patch, in developer console, enabling persist log, message displayed "Navigated to" ..something was not distinguishable from console.log messages. Now specific class for navigation marker is added.

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

--HG--
extra : moz-landing-system : lando
2018-10-17 15:11:28 +00:00
Nicolas Chevobbe
c6c345bff2 Bug 1498598 - Make js-property-provider better; r=bgrins.
This patches solves 2 issues:
- it doesn't return any result when the user is trying to
perform a variable, function or class declaration (e.g.
var d).
- js-property-provider used to compute the last statement
by only looking for space or ; chars. But there are a lot
of cases (basically each time using an operator), where we
should return results and we weren't.
Test cases are added to cover those fixes.

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

--HG--
extra : moz-landing-system : lando
2018-10-17 15:02:41 +00:00
Michael Kohler
948e4dc4dd Bug 1496244 - Change 'Tracking Protection' to 'Content Blocking' in Exceptions Dialog under Content Blocking r=flod,johannh
Differential Revision: https://phabricator.services.mozilla.com/D8791

--HG--
extra : moz-landing-system : lando
2018-10-17 14:56:13 +00:00
Gijs Kruitbosch
5edd5678f6 Bug 1499234 - wait for focus and activate events when opening browser windows on Linux, r=dao
Differential Revision: https://phabricator.services.mozilla.com/D8790

--HG--
extra : moz-landing-system : lando
2018-10-17 09:18:05 +00:00
Matthew Noorenberghe
eb57c5a466 Bug 1373563 - Skip the content blocking intro in mozscreenshots for ControlCenter images. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D8814

--HG--
extra : moz-landing-system : lando
2018-10-17 14:44:53 +00:00
Jared Wein
1994dde2de Bug 629232 - Update remoteness of swapped browsers to ensure we can load them in a new window. r=mconley
We also need to guard against mStateFlags being undefined.

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

--HG--
extra : moz-landing-system : lando
2018-10-17 14:42:48 +00:00
Luca Greco
10ff99f300 Bug 1495855 - Rework the about:debugging webextensions tests to do not use symlink-ed test addons. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D8589

--HG--
extra : moz-landing-system : lando
2018-10-15 16:43:05 +00:00
Andrew Halberstadt
1f22f2329e Bug 1494069 - [mozlint] Make sure exclude paths always get discarded when necessary, r=rwood
We were currently adding exclude paths to the "discard" set if the path contains
the include, but we weren't adding them if the include contains the path.

Depends on D5863

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

--HG--
extra : moz-landing-system : lando
2018-10-16 21:04:14 +00:00
Andrew Halberstadt
80db4d8fe5 Bug 1494069 - [mozlint] Verify the expected_exclude paths in test_filterpaths, r=rwood
Depends on D8844

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

--HG--
extra : moz-landing-system : lando
2018-10-16 21:04:15 +00:00
Andrew Halberstadt
bd652813d6 Bug 1494069 - [mozlint] Append global 'excludes' to each linter at parse time, r=rwood
Right now there are excludes defined in the linter definition (via the .yml
files), as well as excludes defined in lintargs (via the mach_commands.py).

This is a minor simplification that extends each linter definition's local
excludes with the global ones right off the bat. This just makes it a bit
easier to keep track of.

Depends on D5863

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

--HG--
extra : moz-landing-system : lando
2018-10-16 21:04:14 +00:00
Andrew Halberstadt
11b55db4b1 Bug 1494069 - [mozlint] Return extra 'excludes' directly from pathutils.filterpaths, r=rwood
Currently pathutils.filterpaths computes some extra paths that the underlying linter
should try to exclude if it can. It sets these on lintargs['exclude'], and relies on
the fact that it was passed by reference to work.

However, it seems like pytest does some magic under the hood that prevents this value
from being propagated back. It will also fail if 'filterpaths' was invoked in a
subprocess.

It's much simpler and cleaner to pass this value back directly, rather than rely on a
reference.

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

--HG--
extra : moz-landing-system : lando
2018-10-16 21:04:15 +00:00
Andrew Halberstadt
fc52a253be Bug 1494069 - [mozlint] Properly exclude files in LineType linters, r=rwood
This fixes a latent bug that is currently not being hit (by sheer luck). Basically
the 'ignore' argument of a FileFinder object needs all paths to be relative to the
base. As luck would have it, most of the time it worked out that way if you were
running |mach lint| from the root of the repo.

However there are edge cases where this will cause an 'exclude' directive to get
missed. Plus this bug is about to be exposed 100% of the time in the next commit :).

Depends on D8842

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

--HG--
extra : moz-landing-system : lando
2018-10-16 21:04:14 +00:00
Andrew Halberstadt
1042a9f445 Bug 1494069 - [mozlint] Fix edge case in pathutils.collapse, r=rwood
I missed an edge case where the computed base itself was specified in the
paths input.

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

--HG--
extra : moz-landing-system : lando
2018-10-17 13:52:21 +00:00
Andrew Halberstadt
753b405990 Bug 1470266 - [ci] Schedule serviceworker-e10s web-platform-test tasks with linux64/debug on mozilla-central, r=jgraham,jmaher
This duplicates all web-platform-test mozharness based tests except with
dom.serviceWorkers.parent_intercept set to true.

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

--HG--
extra : moz-landing-system : lando
2018-10-17 14:39:40 +00:00
Luca Greco
997341a428 Bug 1393760 - Fix intermittency and re-enabled browser_ext_devtools_panels_elements. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D8717

--HG--
extra : moz-landing-system : lando
2018-10-16 16:58:31 +00:00
Luca Greco
85c8794fe1 Bug 1393760 - Avoid to fire multiple new-node-front events for undefined nodeFront. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D8856

--HG--
extra : moz-landing-system : lando
2018-10-16 17:54:47 +00:00
Patrick Brosset
8bc98179e9 Bug 1499322 - Support pseudo elements in the flexbox inspector; r=rcaliman
On the server, when looking for a flex container for a node, we were bailing
out if the displayType of the node was null. It was null for pseudo-elements.
This value was returned by the displayType getter in the NodeActor class.
Now, the reason for this dates to 4 years ago in bug 1139937 where trying to
get the display style of a pseudo-element was done in a way to failed. So we
just decided to return null at that point. It doesn't fail anymore, we're
able to return, say, "block" if a pseudo-element has a display:block style.
So I've removed the checks that returned null and that fixed the issue here.

The other part of the fix that was need is in the FlexItemActor class on the
server too. This class can be created for a pseudo-element too.
It accesses element.style without checking if that property exists. However it
does not exist for pseudo-elements. So we needed to add a check for that.
It's not a problem to just skip it in this case because pseudo-elements can't
have inline styles.

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

--HG--
extra : moz-landing-system : lando
2018-10-17 14:24:57 +00:00
Emilio Cobos Álvarez
81d70d88d1 Bug 1499386 - Implement @supports selector() syntax. r=heycam
This implements the selector(<complex-selector>) syntax for @supports.

See https://github.com/w3c/csswg-drafts/issues/3207 for explainer and
discussion.

Probably would should wait for that to be sorted out to land this, or maybe we
should put it behind a pref to get the code landed and change our
implementation if the discussion there leads to a change.

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

--HG--
extra : moz-landing-system : lando
2018-10-17 12:08:14 +00:00
Johann Hofmann
4dfe346a4b Bug 1484873 - Add a "View Certificate" link to all cert error pages. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D8966

--HG--
extra : moz-landing-system : lando
2018-10-17 14:16:41 +00:00
Chris H-C
9cb02d0163 bug 1496789 - Document the limits for n_buckets and n_values r=Dexter
MozReview-Commit-ID: CxklgZ8VPyN

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

--HG--
extra : moz-landing-system : lando
2018-10-17 13:54:28 +00:00
Chris H-C
bc070fc1a0 bug 1497953 - Document WebRender as a possible compositor value in the Telemetry Environment r=Dexter
MozReview-Commit-ID: 7JWqBmPNxdk

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

--HG--
extra : moz-landing-system : lando
2018-10-17 13:58:46 +00:00
Cameron McCormack
13feafe016 Bug 1499408 - Followup build fix.
MozReview-Commit-ID: F88mB13Mwa1
2018-10-17 06:56:00 +03:00
Margareta Eliza Balazs
a9eac3bedc Backed out changeset 5df04b130a16 (bug 1499057) for Wd failures in /webdriver/tests/element_send_keys/interactability.py CLOSED TREE 2018-10-17 17:09:21 +03:00
Margareta Eliza Balazs
f555fd3b60 Backed out changeset 868c99ece921 (bug 1484873) for ES lint failure /builds/worker/checkouts/gecko/browser/base/content/browser.js CLOSED TREE 2018-10-17 17:02:16 +03:00
Emilio Cobos Álvarez
410243369d Bug 1499603 - Clear host rules from clear_cascade_data. r=heycam
While at it, also measure them for about:memory.

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

--HG--
extra : moz-landing-system : lando
2018-10-17 13:37:47 +00:00
Ryan VanderMeulen
fa11ed5377 Bug 1499075 - Adjust the number of OSX wpt chunks for more consistent runtimes with other platforms. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D8730

--HG--
extra : moz-landing-system : lando
2018-10-17 13:28:03 +00:00
Johann Hofmann
2d2b279d6d Bug 1484873 - Add a "View Certificate" link to all cert error pages. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D8966

--HG--
extra : moz-landing-system : lando
2018-10-17 13:09:27 +00:00
Johann Hofmann
a63c05f4b8 Bug 1484255 - Add Telemetry Events for the certificate error pages. r=nhnt11,keeler
Differential Revision: https://phabricator.services.mozilla.com/D8281

--HG--
extra : moz-landing-system : lando
2018-10-17 13:10:26 +00:00
Paul Adenot
3c9ac6a32d Bug 1497254 - clang-format MediaEngineWebRTCAudio.{cpp,h} and MediaEnginePrefs.h. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D8959

--HG--
extra : moz-landing-system : lando
2018-10-17 13:05:59 +00:00
Paul Adenot
e4afe8a413 Bug 1497254 - Remove the concept of an Allocation from MediaEngineWebRTCAudio. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D8732

--HG--
extra : moz-landing-system : lando
2018-10-17 13:05:51 +00:00
Cameron McCormack
16007d2b66 Bug 1495984 - Make css::URLValue::IsLocalRef call into CssUrlData::is_fragment. r=emilio
This fixes the issue that we should no longer be looking for control characters.



MozReview-Commit-ID: 8k89Aheq3NY

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

--HG--
extra : moz-landing-system : lando
2018-10-17 09:43:45 +00:00
Cameron McCormack
a7510da8d0 Bug 1499408 - Part 2: Have css::URLValue get URLExtraData from its CssUrlData. r=emilio
MozReview-Commit-ID: IqZGzkHlSZD

Depends on D8874

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

--HG--
extra : moz-landing-system : lando
2018-10-17 09:43:32 +00:00
Cameron McCormack
b5d216cfa1 Bug 1499408 - Part 1: Make css::URLValue hold on to a CssUrlData, not just its serialization. r=emilio
MozReview-Commit-ID: EWcbnVtDJCS

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

--HG--
extra : moz-landing-system : lando
2018-10-17 12:36:49 +00:00
yulia
c22cefe4e6 Bug 1488375 - Use target.getFront to instantiate MemoryFront; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D7097

--HG--
extra : moz-landing-system : lando
2018-10-17 10:36:33 +00:00
Andreas Tolfsen
0b730425b6 bug 1499057: webdriver: remove known web element cache; r=whimboo
The known web element cache in the WebDriver test client, or
webdriver.Session._element_cache, is used only to avoid constructing
new webdriver.Element instances of the same web element and serves
no practical purpose beyond that

Since this client is intended for testing purposes, we would like
to be able to construct duplicate webdriver.Element instances,
so that e.g. fake elements can be constructed and send to the remote end.

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

--HG--
extra : moz-landing-system : lando
2018-10-17 12:06:53 +00:00
Julian Descottes
f5dd787e3e Bug 1494549 - Disable new aboutdebugging tests on Linux 32;r=ladybenko
Depends on D8513

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

--HG--
extra : moz-landing-system : lando
2018-10-17 10:45:49 +00:00
Julian Descottes
2959e3bfe3 Bug 1494549 - Wait until ADB started in USB status sidebar test;r=daisuke
Depends on D8335

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

--HG--
extra : moz-landing-system : lando
2018-10-17 11:11:53 +00:00
Julian Descottes
795c6e7708 Bug 1494549 - Add a mochitest test for status message;r=ladybenko
Depends on D8334.
In this changeset we also change the way we are reading the preferences
in adb-addon.js to avoid caching the value of the preference the first
time the module is loaded.

This allows the module to follow updates of said preferences without
having to restart Firefox.

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

--HG--
extra : moz-landing-system : lando
2018-10-17 11:10:33 +00:00
Julian Descottes
2abe7cbcce Bug 1494549 - Show USB devices status in sidebar;r=ladybenko
Maybe we want to land the simplest solution for now and discuss
quickly how to style the message to reduce confusion in a follow up?

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

--HG--
extra : moz-landing-system : lando
2018-10-17 11:10:05 +00:00
Sebastian Hengst
8f5d300b8c Backed out changeset e18103445f9e (bug 1484524) on request from pascalc 2018-10-17 13:56:38 +03:00
yulia
94266886f2 Bug 1499056 - Use target.getFront for screenshot front; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D8866

--HG--
extra : moz-landing-system : lando
2018-10-17 10:40:48 +00:00