637376 Commits

Author SHA1 Message Date
Kyle Machulis
623c5a81b8 Bug 1524683 - Add nsFrameLoaderOwner class; r=nika
Depends on D19727

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

--HG--
extra : moz-landing-system : lando
2019-02-15 22:20:51 +00:00
Kyle Machulis
9fb68b2ccf Bug 1524683 - Remove nsIFrameLoaderOwner from tests; r=nika
Any time we QI to nsIFrameLoaderOwner in tests, we're really accessing
a MozFrameLoader. We don't need to be doing that anymore.

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

--HG--
extra : moz-landing-system : lando
2019-02-15 22:20:49 +00:00
Cosmin Sabou
1194781109 Bug 1526212 - Disable /resource-timing/test_resource_timing.https.html on linux, mac and windows. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D20019

--HG--
extra : moz-landing-system : lando
2019-02-15 22:23:41 +00:00
Valentin Gosu
a5cc5b2a87 Bug 1521808 - Implement process switching based on Cross-Opener-Origin-Policy header r=nika,qdot
* New topLevel loads get the nsILoadInfo.openerPolicy of the current top level document
* Parsing the Cross-Opener-Origin-Policy of a channel will update mLoadInfo.openerPolicy and this value will get propagated to the child process.
* SessionStore now checks nsIHttpChannel.hasCrossOriginOpenerPolicyMismatch (preffed off) and performs a process switch if needed

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

--HG--
rename : toolkit/components/remotebrowserutils/tests/browser/browser_httpResponseProcessSelection.js => toolkit/components/remotebrowserutils/tests/browser/browser_httpCrossOriginOpenerPolicy.js
extra : moz-landing-system : lando
2019-02-15 22:02:47 +00:00
Valentin Gosu
0009ddac1e Bug 1521808 - Add xpcshell-test for CrossOriginOpenerPolicy r=mayhemer,nika,annevk
Differential Revision: https://phabricator.services.mozilla.com/D18246

--HG--
extra : moz-landing-system : lando
2019-02-15 22:02:52 +00:00
Valentin Gosu
38f19c2395 Bug 1521808 - Use topWindowPrincipal for CrossOriginOpenerPolicy check r=mayhemer,nika
- Adds nsIHttpChannelInternal.setTopWindowPrincipal used to pass the principal from the child to the parent

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

--HG--
extra : moz-landing-system : lando
2019-02-15 22:28:56 +00:00
Valentin Gosu
865d80fff4 Bug 1521808 - Implement Cross-Origin-Opener-Policy header r=nika,mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D18119

--HG--
extra : moz-landing-system : lando
2019-02-15 22:02:58 +00:00
Mathieu Leplatre
c8bbaf4887 Bug 1517469 - Enable Events Telemetry for Uptake monitory r=janerik
Enable Events Telemetry for Uptake monitoring

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

--HG--
extra : moz-landing-system : lando
2019-02-15 09:38:18 +00:00
James Graham
26b2971330 Bug 1528735 - Only stop if all tests are skipped on the first iteration, r=Ms2ger
If we got past the first iteration we shouldn't stop for the skipped count matching
the total tests since we increment this with the total tests on each iteration.

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

--HG--
extra : moz-landing-system : lando
2019-02-18 13:33:44 +00:00
Rob Wu
e01caf24eb Bug 1528717 - Check whether extension is set before using it r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D20143

--HG--
extra : moz-landing-system : lando
2019-02-18 13:00:17 +00:00
Razvan Caliman
08a17ed030 Bug 1519217 - Add keyboard shortcut to element picker tooltip. r=gl,flod
Augments tooltip with keyboard shortcut. Reflects the multiple shortcuts possible on macOS as seen in the Inspector tab tooltip.

See: https://developer.mozilla.org/en-US/docs/Tools/Keyboard_shortcuts#Opening_and_closing_tools

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

--HG--
extra : moz-landing-system : lando
2019-02-18 12:28:14 +00:00
Andreas Tolfsen
17f6aa681f bug 1526938: geckodriver: lint main.rs; r=whimboo
Minor post-patch linting to silence some clippy warnings.

Depends on D19434

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

--HG--
extra : moz-landing-system : lando
2019-02-18 12:48:57 +00:00
Andreas Tolfsen
e1f3222cc0 bug 1526938: geckodriver: provide better error messages for flags; r=whimboo
This will print something along the line of:

	geckodriver: error: invalid --port: invalid digit found in string: asd

Or:

	geckodriver: error: invalid --port: number too large to fit in target type: 123123123123

We also Include the error message from IpAddr::from_str() to the user.
This will make the error seen by the user look something like this:

	geckodriver: error: invalid IP address syntax: 123123:4444

Depends on D19433

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

--HG--
extra : moz-landing-system : lando
2019-02-18 12:48:55 +00:00
Andreas Tolfsen
30e7682700 bug 1526938: geckodriver: ensure --help is listed in help message; r=whimboo
For completeness, this makes sure the --help flag is included in
its own help message.

Depends on D19432

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

--HG--
extra : moz-landing-system : lando
2019-02-18 12:48:53 +00:00
Andreas Tolfsen
56083af27f bug 1526938: geckodriver: separate flag parsing and application logic; r=whimboo
Flag parsing and application logic belong to one, very long,
spaghetti-like function.  This patch introduces a distinction
between checking the sanity of the CLI input and what action to
take depending on that input.

Depends on D19431

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

--HG--
extra : moz-landing-system : lando
2019-02-18 12:48:51 +00:00
Andreas Tolfsen
23bd70fdf0 bug 1526938: geckodriver: display help message on non-clap errors; r=whimboo
The help message is implicitly included in clap error descriptions, but
they are not for errors originating from this file.  By introducing
a FatalError::help_included() function we make sure we print the
help message in all cases.

An alternative implementation, which perhaps would be more idiomatic,
would be to prepare the help message within the fmt::Display trait
implementation for FatalError, but I could find no way of passing
in a reference to clap::App without storing it in an atomic global const.

Depends on D19430

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

--HG--
extra : moz-landing-system : lando
2019-02-18 12:48:49 +00:00
Andreas Tolfsen
97645bcfd7 bug 1526938: geckodriver: fix missing flag parsing errors; r=whimboo
Because we emit the flag parsing errors to the log, through error!(),
they are subject to whether the logging subsystem is enabled.
Because logging is disabled by default, no error information is
currently displayed to the user.

Since we cannot initialise logging implicitly due to the risk of
emitting log messages the user did not request, this patch changes
geckodriver to print the flag parsing errors to stderr

Depends on D19429

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

--HG--
extra : moz-landing-system : lando
2019-02-18 12:48:47 +00:00
Andreas Tolfsen
11dbf68ec3 bug 1526938: geckodriver: organise args a bit more consistently; r=whimboo
Depends on D19428

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

--HG--
extra : moz-landing-system : lando
2019-02-18 12:48:45 +00:00
Andreas Tolfsen
d736055e78 bug 1526938: geckodriver: remove --webdriver-port alias; r=whimboo
We replaced --webdriver-port with --port to better match
EdgeDriver and chromedriver, but it was discovered in
https://github.com/mozilla/geckodriver/issues/154 that this broke
Selenium clients.

We decided on a two-spearhead approach by reintroducing --webdriver-port
as a temporary alias, whilst submitting fixes for the Selenium clients.
The fixes to Selenium landed over three years ago.

This patch removes the --webdriver-port alias from geckodriver.

Depends on D19427

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

--HG--
extra : moz-landing-system : lando
2019-02-18 12:48:43 +00:00
Andreas Tolfsen
2c8e80e643 bug 1526938: geckodriver: generalise cli errors; r=whimboo
Instead of returning a tuple of (i32, String), causing us to lose
details and the cause of an error, this patch formalises the error
scenarios that may occur during command-line parsing and startup
of the WebDriver server.

Exit codes are encoded with each variant of FatalError, instead of
being specified in each case.

Type conversions are implemented for clap::Error (flag parsing)
and io::Error (webdriver::server).

Depends on D19426

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

--HG--
extra : moz-landing-system : lando
2019-02-18 12:48:36 +00:00
Andreas Tolfsen
6a855ec9af bug 1526938: geckodriver: import logging::Level into the global scope; r=whimboo
Depends on D19425

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

--HG--
extra : moz-landing-system : lando
2019-02-18 12:48:34 +00:00
Andreas Tolfsen
3f92c7eb3f bug 1526938: geckodriver: convert ExitCode to consts; r=whimboo
We don't need an enum for exit codes as we never have to match
on them.  Converting them to consts also has the benefit that we
will not have to coerce them to i32.

i32 is the correct type to use here, since it is what std::process::exit()
takes and what the libc crate uses.

Depends on D19424

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

--HG--
extra : moz-landing-system : lando
2019-02-18 12:48:32 +00:00
Andreas Tolfsen
34be303ca3 bug 1526938: geckodriver: make use of clap default values; r=whimboo
Making use of clap::Arg::default_value() removes duplicated magic
strings, by not having to use .unwrap_or("default value").

Depends on D19423

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

--HG--
extra : moz-landing-system : lando
2019-02-18 12:48:30 +00:00
Andreas Tolfsen
4c2364eff1 bug 1526938: geckodriver: display same version on --help as on --version; r=whimboo
Differential Revision: https://phabricator.services.mozilla.com/D19423

--HG--
extra : moz-landing-system : lando
2019-02-18 12:48:28 +00:00
Luca Greco
739c8ea697 Bug 1484789 - Ensure document flushed before triggering context menu in a browserAction popup test. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D19967

--HG--
extra : moz-landing-system : lando
2019-02-15 18:10:11 +00:00
Cosmin Sabou
af297c3823 Bug 1522439 - Disable /service-workers/service-worker/navigation-redirect.https.html?client on win debug and linux. r=jmaher
Reviewers: jmaher

Reviewed By: jmaher

Bug #: 1522439

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

--HG--
extra : rebase_source : 32c42b8130068ff23ec363947c4257229f4f2bbe
2019-02-18 11:00:41 +02:00
Petru Lingurar
60f4606fbe Bug 1511946 - Hint about "Switch to tab" option for AwesomeScreen's stream items; r=JanH
The behaviour of switching to an already opened tab for an item in the stream
list was already in place, this patch just modifies the item's layout by
adding a text hint about this possibility - "Switch to tab", dynamically,
depending on if a tab is already opened or not in the current session.

Each stream item will implement `Tabs.OnTabsChangedListener` and check if the
changed Tab had stream's Url.
If so it will pass this event to the list's Adapter which will refresh the
stream item's layout.

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

--HG--
extra : moz-landing-system : lando
2019-02-18 11:03:48 +00:00
Gijs Kruitbosch
7996faf31b Bug 1509847 - only move minimized windows behind unminimized ones, r=dao
Differential Revision: https://phabricator.services.mozilla.com/D19181

--HG--
extra : moz-landing-system : lando
2019-02-18 07:04:43 +00:00
Dimi Lee
12ebaa396b Bug 1527658 - Use asyncClassifyLocalWithFeatures API in aboutPerformance. r=baku
The error happened because aboutPerformance provided an unused
parameter to Classify API which is removed in Bug 1501458.

Check tracking protection tables via Classify API is not supported now.
We should use asyncClassifyLocalWithFeatures API instead.

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

--HG--
extra : moz-landing-system : lando
2019-02-18 08:50:09 +00:00
Andrei Lazar
db07b8d19c Bug 1525872 PushEvent.data is null for push messages encrypted with aes128gcm r=JanH
Added check for AES128GCM encoding since we won't have separate enckey and cryptokey but rather encoded in the body.

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

--HG--
extra : moz-landing-system : lando
2019-02-18 08:15:26 +00:00
Andrei Lazar
a53a4ff68a Bug 1521476 Crash in java.lang.IllegalStateException: at org.mozilla.gecko.GeckoApplication.createShortcut(GeckoApplication.java) r=petru
Removed intended throw of IllegalStateException for Nightly when a page was not considered safe as a PWA.

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

--HG--
extra : moz-landing-system : lando
2019-02-18 09:42:43 +00:00
Julian Descottes
2a4141885b Bug 1505132 - Add test for backward compatibility warnings in about:debugging;r=daisuke
Depends on D18985

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

--HG--
extra : moz-landing-system : lando
2019-02-18 09:12:39 +00:00
Julian Descottes
a6864f299a Bug 1505132 - Show compatibility warning message in new aboutdebugging;r=daisuke,ladybenko
Depends on D18984

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

--HG--
extra : moz-landing-system : lando
2019-02-18 08:55:54 +00:00
Julian Descottes
20a3c061dd Bug 1505132 - Use spread operator to export types;r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D18984

--HG--
extra : moz-landing-system : lando
2019-02-18 09:26:28 +00:00
Razvan Caliman
c21e773cbd Bug 1525238 - Use actorID for tracked rules and stylesheets. r=pbro
Replaces custom generated hashes with the actorIDs which are stable
during the editing session enough to use as unique identifiers.

For future restore / persistence, we still have the metadata about each
rule and stylesheet to attempt to identify them again.

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

--HG--
extra : moz-landing-system : lando
2019-02-14 16:29:21 +00:00
Jonathan Kew
67db6ca162 Bug 1358019 - Reimplement word-break:break-all to better match the CSS Text spec. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D19480

--HG--
extra : moz-landing-system : lando
2019-02-18 10:14:24 +00:00
sotaro
087c420a72 Bug 1526213 - Enable WebRenderTextureHostWrapper for canvas r=nical
By using WebRenderTextureHostWrapper for canvas, we could avoid triggering frame build on WebRender backend if WebRenderTextureHostWrapper is only change.

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

--HG--
extra : moz-landing-system : lando
2019-02-18 09:33:32 +00:00
Marcos Cáceres
741d0dcf54 Bug 1525582 - Resolve OrientationPendingPromise after change event fires r=baku
spec was changed so promise resolves after the event fires.

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

--HG--
extra : moz-landing-system : lando
2019-02-13 18:08:24 +00:00
Cosmin Sabou
12f7bded8e Bug 1526332 - Enable dom.security.featurePolicy on beta and release. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D19672

--HG--
extra : moz-landing-system : lando
2019-02-13 16:47:13 +00:00
Ashley Hauck
5ecfedf57b bug 1526031 - remove initOrStmt field from NameNode. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D19054

--HG--
extra : moz-landing-system : lando
2019-02-15 22:10:45 +00:00
Edgar Chen
14d6d67458 Bug 1323400 - Part 3-2: Add test; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D19811

--HG--
extra : moz-landing-system : lando
2019-02-15 21:53:44 +00:00
Edgar Chen
652012afa9 Bug 1323400 - Part 3-1: Refactor test_multiple_touches.html; r=smaug
To make it easier to add new test without introudcing duplicated code.

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

--HG--
extra : moz-landing-system : lando
2019-02-15 16:47:26 +00:00
Edgar Chen
408cdd3a53 Bug 1323400 - Part 2: Filter out duplicated touchmove for pointer event; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D19804

--HG--
extra : moz-landing-system : lando
2019-02-15 22:04:13 +00:00
Edgar Chen
0518b15392 Bug 1323400 - Part 1: Mark Touch::Equals as a const method; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D18232

--HG--
extra : moz-landing-system : lando
2019-02-15 16:28:35 +00:00
Noemi Erli
7f0a1d33d8 Backed out 5 changesets (bug 1522111) for breaking windows opt wpts
Backed out changeset aa6103c8ef0f (bug 1522111)
Backed out changeset 14e9ed41b8be (bug 1522111)
Backed out changeset c10783ea070b (bug 1522111)
Backed out changeset cc97d772a8db (bug 1522111)
Backed out changeset 6fbfc8bc2388 (bug 1522111)
2019-02-16 00:06:17 +02:00
Daniel Holbert
6ad6b0c64d Bug 1508420: Add mochitest for conditions that disqualify a frame from becoming a dynamic reflow root. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D14669

--HG--
extra : moz-landing-system : lando
2019-02-15 22:00:23 +00:00
Markus Stange
2543a26aeb Bug 1528322 - Use a ranged for loop to iterate over chars array, as suggested by static analysis. r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D19966

--HG--
extra : moz-landing-system : lando
2019-02-15 20:51:58 +00:00
Shane Caraveo
84ec4ca5cf Bug 1525447 support incognito setting in proxy api r=zombie
Differential Revision: https://phabricator.services.mozilla.com/D18754

--HG--
extra : moz-landing-system : lando
2019-02-15 21:20:51 +00:00
Noemi Erli
6cefa371d4 Backed out changeset db4946736508 (bug 1499448) for failures in BytecodeEmitter.cpp CLOSED TREE
--HG--
extra : amend_source : afa20ffdad5733b94f7897ac4d32a9f7b0a7abde
2019-02-15 23:22:44 +02:00
Marco Bonardo
a5fe67550e Bug 1521366 - Searching for a space in the Quantum Bar causes an infinite loop. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D19979

--HG--
extra : moz-landing-system : lando
2019-02-15 20:55:30 +00:00