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

36757 Коммитов

Автор SHA1 Сообщение Дата
James Graham 5f6066ee8d Bug 1568991 - Test that content overriding listeners doesn't affect script evaluation, r=ato
Gecko had a bug where content would be able to see an internal
onunload handler used to handle the case where the page navigates when
script is running. This test ensures that onunload isn't set when
running a script and that changes to addEventListener from content
aren't visible to the harness internal code.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 15:07:33 +00:00
James Graham 027befb9ba Bug 1568991 - Ensure marionette event listeners are isolated from content, r=ato,bzbarsky
Internal marionette listeners should neither be visible to content
script, nor have their registation affected by changes made in
content. The evaluate method was breaking these constraints by
creating listeners in a sandbox with Xrays disabled, which is
appropriate to the injected script itself but not to the
harness-internal parts.

Use a different sandbox for the harness code compared to the injected
code, and move away from using onunload to using addEventListener for
the unload handler.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 08:48:50 +00:00
Emilio Cobos Álvarez e91be6b314 Bug 1568778 - Do suppress adjustments when switching an undisplayed element to be abspos. r=dholbert
One of the issues with the test-case in this bug is that the page consumes a ton
of CPU due to scroll anchor adjustments being triggered from scroll events,
which in turn cause other scroll events to fire.

This happens in Chrome as well (just scroll to the bottom of the test-case, and
do `addEventListener("scroll", () => console.log("scroll"))` on devtools. But I
think it's worth fixing. This patch fixes it and overall I think it's a slightly
better approach to suppress adjustments than what we're doing.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 13:44:46 +00:00
Emilio Cobos Álvarez 79d6827e07 Bug 1456358 - Inhibit RecomputePosition when descendants depend on the out of flow position. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D38194

--HG--
extra : moz-landing-system : lando
2019-07-29 13:43:29 +00:00
Csoregi Natalia 259ccc086a Backed out changeset 571761c0b3b9 (bug 1569100) for web platform failures on set_timeouts/set.py. CLOSED TREE 2019-07-29 16:41:08 +03:00
Jonathan Kew 112c636e6e Bug 1437367 - Remove the layout.css.paint-order.enabled pref, this feature is always enabled. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D39340

--HG--
extra : moz-landing-system : lando
2019-07-26 14:07:17 +00:00
Nupur Baghel 417c0e949d Bug 1569100 - Add SetTimeouts command to Marionette. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D39662

--HG--
extra : moz-landing-system : lando
2019-07-29 11:36:34 +00:00
Julian Descottes acb7fed127 Bug 1569235 - Ensure subtest name is a string when parsing test lines r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D39527

--HG--
extra : moz-landing-system : lando
2019-07-29 11:08:12 +00:00
Andreas Tolfsen c757d8208f bug 1569140: webdriver: lint; r=webdriver-reviewers,automatedtester
Bug 1568889 enabled the rustfmt lint checks in continuous integration,
and while they did not cause any errors, this is a follow-up patch
to fix the non-fatal warnings.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 12:00:31 +00:00
Andreas Tolfsen 2ce9924f6c bug 1569143: mozrunner: lint; r=webdriver-reviewers,automatedtester
Differential Revision: https://phabricator.services.mozilla.com/D39487

--HG--
extra : moz-landing-system : lando
2019-07-26 12:03:22 +00:00
Andreas Tolfsen ac034168fc bug 1569143: mozprofile: lint; r=webdriver-reviewers,automatedtester
Differential Revision: https://phabricator.services.mozilla.com/D39486

--HG--
extra : moz-landing-system : lando
2019-07-26 12:01:09 +00:00
georgeroman ccc3d023a4 Bug 1569466 - Implement Deserialize for ErrorStatus. r=ato
Implement Deserialize for ErrorStatus

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

--HG--
extra : moz-landing-system : lando
2019-07-29 09:35:15 +00:00
Masayuki Nakano ffbb14909f Bug 1560032 - part 1: Make `TextEditor` for password allow to copy password when selected range is in unmasked range r=m_kato
It does not make sense to copy masked password with mask characters.
Therefore, we should allow users to copy/cut in password fields only when
selected range is in unmasked range.

Note that for web-compat, copy/cut are always enabled in HTML/XHTML document
in content.  Therefore this patch changes the behavior only in chrome's
password fields.

Additionally, only the test uses `nsIEditor.canDelete()`.  Therefore, this
removes it and make the test use `nsIDocShell.isCommandEnabled()` instead.
Unfortunately, `nsIEditor.canCopy()` and `nsIEditor.canCut()` are used by
BlueGriffon, therefore, we cannot get rid of them for now.

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

--HG--
rename : editor/libeditor/tests/test_bug1067255.html => editor/libeditor/tests/test_cut_copy_delete_command_enabled.html
extra : moz-landing-system : lando
2019-07-29 06:21:14 +00:00
Boris Chiou 5c36bd1e41 Bug 1568370 - Fix the alignment of offset-anchor with offset-path. r=jwatt
When we use SVG layout, and transform-box is fill-box, the current
implementation makes the object not align with offset-path because there
may be an offset (SVG x and y values) between the anchor point and offset-path.
We have to tweak the anchor point to fix the alignment.

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

--HG--
rename : testing/web-platform/tests/css/motion/offset-anchor-transform-box-fill-box.html => testing/web-platform/tests/css/motion/offset-anchor-transform-box-fill-box-001.html
rename : testing/web-platform/tests/css/motion/offset-anchor-transform-box-fill-box.html => testing/web-platform/tests/css/motion/offset-anchor-transform-box-fill-box-002.html
extra : moz-landing-system : lando
2019-07-27 16:18:53 +00:00
Boris Chiou df9aa05d06 Bug 1291187 - Add tests for testing the computed values of flex-basis. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D39558

--HG--
extra : moz-landing-system : lando
2019-07-29 04:19:13 +00:00
Ciure Andrei a51a5819bd Bug 1564229 - disable browser_ext_sessions_window_tab_value.js on linux 64 and windows debug builds. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com//D39287
2019-07-25 18:07:13 +03:00
Daniel Holbert 81e3921280 Bug 1569263 part 2: Restore fuzzy annotation for web-platform-test object-fit-contain-png-001e.html now that it (usually) passes again. r=boris
This patch was generated automatically, by running the following command:
hg revert object-fit-contain-png-001e.html.ini -r 7018488ca120836111db492baf8fc852d0b699e3
...using the revision from just before the fuzzy annotation was replaced with a temporary expected-fail annotation in bug 1559276.

Depends on D39554

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

--HG--
extra : moz-landing-system : lando
2019-07-26 22:10:32 +00:00
Daniel Holbert 7e295cd527 Bug 1569263 part 1: Remove useless object-fit WPT .ini files that only have a 'bug' field and no functional annotations. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D39554

--HG--
extra : moz-landing-system : lando
2019-07-26 22:10:32 +00:00
Bogdan Tara 35bb05e6e9 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-07-27 00:41:55 +03:00
Bogdan Tara 3736b292dc Merge inbound to mozilla-central. a=merge 2019-07-27 00:38:36 +03:00
Nick Alexander 8306db5c30 Bug 1566171 - Part 3: Add browsertime executable arguments to Raptor command line. r=rwood
The goal is to configure browsertime in Raptor in two ways:

1) locally, just like `mach browsertime` does;

2) in automation, at taskgraph creation time, using fetches and
mozharness suite artifacts (for geckodriver).

It's possible for this to be done using mozharness config settings but
using command line options is more explicit and more likely to be easy
to remove later if and when we transition to a browsertime-specific
mozharness script.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 21:30:03 +00:00
Nick Alexander bc05d7913c Bug 1566171 - Part 2: Allow argument names with 'chrome' in them. r=rwood
The existing code parses an argument with 'chrome' in its name
incorrectly.  That is, `--arg-with-chrome value` will make the old
code think the `--app` is 'chrome', which is not correct.

Argument parsing is subtle enough that we rely on `argparse` (which is
already imported and thus known to be available).

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

--HG--
extra : moz-landing-system : lando
2019-07-26 21:29:58 +00:00
Nick Alexander 49296e786e Bug 1566171 - Pre: Allow to not re-install Android app in Raptor locally. r=perftest-reviewers,rwood
This is better than `yes n | mach raptor-test ...`.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 21:29:57 +00:00
Gurzau Raul 65d132301f Backed out changeset 54629c24e7c3 (bug 1569235) for UnicodeEncodeError on a CLOSED TREE. 2019-07-26 22:35:27 +03:00
Nupur Baghel 04fcdb8729 Bug 1569100 - Marionette crate: move WebElement and Timeouts objects to common module. r=ato
Both WebElement and Timeouts objects are used by the request and response stages.
Hence moving them to the common module.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 15:02:16 +00:00
Nupur Baghel 90b33f2950 Bug 1569100 - Add FindElements command and WebElements response types to Marionette. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D39489

--HG--
extra : moz-landing-system : lando
2019-07-26 14:11:11 +00:00
Kris Maglione 87884612c0 Bug 1568035: Part 4 - Update test expections for Fission. r=mccr8
Some failures crept in and out after my last sets of annotations landed. This
patch updates most of the annotations to deal with them.

MANUAL PUSH: Lando won't let me land.

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

--HG--
extra : rebase_source : 4cfccf95c5bb2521533a9f5c4c25d67f414fb6f5
extra : histedit_source : c19187a3b3002e0eebdd809738b57641e1e432cd
2019-07-24 13:06:57 -07:00
georgeroman 407f908b2d Bug 1568657 - Change WebDriver PointerType to implement Clone r=ato
Implement Clone for WebDriver's actions::PointerType

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

--HG--
extra : moz-landing-system : lando
2019-07-26 10:50:44 +00:00
James Graham 88ee4c994c Bug 1568902 - Add intermittents to wpt metdata summary, r=nikkis
This adds a new key 'intermittent' to interesting test results, containing
a list of [condition, statuses] tuples for tests that are allowing multiple
statuses due to intermittent behaviour.

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

--HG--
extra : moz-landing-system : lando
2019-07-25 21:55:01 +00:00
Karl Tomlinson 0fd5bb4ff6 Bug 1568868 restore release_or_beta expectation metadata r=jgraham
This was removed in
https://hg.mozilla.org/mozilla-central/rev/dbb4eb578278#l445.1
but this commit expresses the same logic differently to avoid removal on
future updates.  https://hg.mozilla.org/mozilla-central/rev/203e09f37d1f

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

--HG--
extra : moz-landing-system : lando
2019-07-26 06:54:28 +00:00
Perry Jiang 96edc2a092 Bug 1557244 - Disallow resurrection of unregistered ServiceWorkerRegistrations r=asuth
- Remove `ServiceWorkerRegistration`s' pending uninstall flag.

- Rename `ServiceWorkerRegistrationListener`'s `RegistrationRemoved` method to
  `RegistrationCleared`; registrations are no longer necessarily consider
  invalid when they are removed from the "scope to registration map", but rather
  when they're both removed from the map and not controlling clients (at which
  point `Clear` is called).

- Maintain the invariant that no `ServiceWorkerRegistrationInfo` in
  `ServiceWorkerManager::RegistrationDataPerPrincipal::mInfos` (i.e. the "scope
  to registration map") is in the unregistered state. Assertions check this in
  `ServiceWorkerManager::AddScopeAndRegistration` and
  `ServiceWorkerRegistrationInfo::SetUnregistered`.

- Fix some incorrect web platform tests.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 18:41:48 +00:00
Julian Descottes b33e28722b Bug 1569235 - Ensure subtest name is a string when parsing test lines r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D39527

--HG--
extra : moz-landing-system : lando
2019-07-26 18:27:03 +00:00
Edwin Gao a1cc4534a7 Bug 1519369 - support 'debugger' parser argument for mach test command r=ahal,gbrown
Differential Revision: https://phabricator.services.mozilla.com/D39229

--HG--
extra : moz-landing-system : lando
2019-07-26 15:18:18 +00:00
Geoff Brown 6054dba80c Bug 1568797 - Disable wpt accept-ch-lifetime.tentative.https.html on android/debug - avoid perma-fail; r=jmaher
Disable perma-failing wpt test on android/debug.

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

--HG--
extra : moz-landing-system : lando
2019-07-25 22:49:08 +00:00
James Graham acb42d4642 Bug 1568685 - Mark pointerlock test as intermittent on all desktop, r=nikkis
Differential Revision: https://phabricator.services.mozilla.com/D39396

--HG--
extra : moz-landing-system : lando
2019-07-25 18:58:48 +00:00
Nupur Baghel 55eaae4de3 Bug 1565210 - Use WebDriver:FindElement and WebDriver:GetTimeouts in geckodriver. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D39277

--HG--
extra : moz-landing-system : lando
2019-07-25 17:51:00 +00:00
Nupur Baghel 7a51a65086 bug 1565210: geckodriver: lint; r=ato
Ran rustfmt on geckodriver to more effectively perform
a refactoring in the next patch

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

--HG--
extra : moz-landing-system : lando
2019-07-25 12:41:28 +00:00
Andreea Pavel fc92f585e2 Backed out 3 changesets (bug 1559244) for causing bug 1370046
Backed out changeset de76712278a6 (bug 1559244)
Backed out changeset 467caef2ef9c (bug 1559244)
Backed out changeset 17ab0c52dca0 (bug 1559244)
2019-07-25 17:42:32 +03:00
Byron Campen [:bwc] 026476fff4 Bug 1568530: Put bug links in these .ini files. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D39237

--HG--
extra : moz-landing-system : lando
2019-07-25 00:41:42 +00:00
Marian Raiciof 0bcdfa9933 Bug 1567177 - Create cold tests for cnn mobile website. r=perftest-reviewers,sparky
The new cold cnn mobile tests can be found in 'raptor-tp6m-cold-27.ini'.

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

--HG--
extra : moz-landing-system : lando
2019-07-24 16:08:06 +00:00
Ciure Andrei 77673dccee Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-07-25 09:28:08 +03:00
Andreea Pavel e4263c00eb Merge mozilla-inbound to mozilla-central. a=merge 2019-07-25 08:59:39 +03:00
Boris Chiou 0d2240d1bd Bug 1568615 - Accept percentage for shape-image-threshold. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D39241

--HG--
extra : moz-landing-system : lando
2019-07-24 21:37:22 +00:00
Mike Hommey 05ba1d00a3 Bug 1568349 - Remove FetchesMixin. r=nalexander
With all mozharness-based jobs now using run-task (except aarch64
windows, see bug 1557614), and thus fetch-content, the FetchesMixin
mixin should not be required anymore.

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

--HG--
extra : moz-landing-system : lando
2019-07-24 22:41:59 +00:00
Bob Clary 0e4603dbfd Bug 1568623 - [test isolation] Add web-platform-tests support, r=jmaher.
Differential Revision: https://phabricator.services.mozilla.com/D39242

--HG--
extra : moz-landing-system : lando
2019-07-25 01:23:45 +00:00
Nick Alexander dd80e00527 Bug 1564282 - Extract `Perftest` abstract base class. r=rwood,perftest-reviewers
This mechanical transform lays the foundation for generalizing the
underlying test runner.

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

--HG--
extra : moz-landing-system : lando
2019-07-25 00:44:40 +00:00
Nick Alexander 07f31a8dc3 Bug 1564282 - Pre: Make it easier to work with mozbase in Raptor locally. r=ahal
This is the equivalent of .pth in virtualenv declarations.  It sets up
a .egg file with a `sys.path` addition, as far as I can tell.

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

--HG--
extra : moz-landing-system : lando
2019-07-25 00:46:36 +00:00
Brendan Dahl 275407fe9d Bug 1565680 - Track time to render first page of PDF in talos. r=jmaher
Adds a new pageload test that captures the "pagerendered" event from
PDF.js.

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

--HG--
extra : moz-landing-system : lando
2019-07-24 21:03:26 +00:00
Boris Zbarsky a41e846699 Bug 1568579. Remove test-only uses of QueryInterface on Window objects. r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D39219

--HG--
extra : moz-landing-system : lando
2019-07-24 19:46:46 +00:00
Abdoulaye O. Ly 71143356cc Bug 1559244 - Step 2: Add support for crashing sub-frame. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D37780

--HG--
extra : moz-landing-system : lando
2019-07-24 18:43:14 +00:00