Commit Graph
36802 Commits
Author SHA1 Message Date
Ting-Yu Lin 755fb9589d Bug 1506293 Part 3 - Add reftests for block-size distribution across column-span split. r=dbaron
* 004a.html and 004b.html test the block-size distribution in balancing mode.

* 005.html tests the block-size distribution in fill mode.

* 006.html is like 004a.html, but it adds a border to the block split by
  column-span. It currently fails due to bug 1523582.

Differential Revision: https://phabricator.services.mozilla.com/D38125
2019-07-27 06:14:07 +00:00
Nupur Baghel 8703893db5 Bug 1569100 - Add NewWindow command and NewWindow response types to Marionette crate. r=ato
Depends on D39923

Differential Revision: https://phabricator.services.mozilla.com/D39924
2019-07-30 19:11:16 +00:00
Nupur Baghel bf0b2f6a3c Bug 1569100 - Marionette: Add DeleteCookie, DeleteCookies commands & Geckodriver: GetNamedCookie converted to GetCookies. r=ato
Since GetNamedCookie is currently not supported by the marionette server, the corresponding WebDriver command is converted to GetCookies command.

Differential Revision: https://phabricator.services.mozilla.com/D39923
2019-07-30 19:09:43 +00:00
Dylan Roeh 0de07492da Bug 1553603 - Support "capture" attribute in Gecko and expose in GV. r=geckoview-reviewers,smaug,snorp,agi
Differential Revision: https://phabricator.services.mozilla.com/D38746
2019-07-30 18:13:05 +00:00
Maja Frydrychowicz d994c73400 Bug 1569440 - [wptrunner] Remove unused process-handling code for running Firefox for Android; r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D39622
2019-07-30 01:28:13 +00:00
Maja Frydrychowicz d843976b44 Bug 1569440 - [mozrunner] Empty the minidump directory instead of deleting it; r=gbrown
Other harness code intermittently complains if the directory is absent. Maybe this will help.

Differential Revision: https://phabricator.services.mozilla.com/D39621
2019-07-30 16:55:19 +00:00
Maja Frydrychowicz d059e3cd5e Bug 1569440 - [mozrunner] Clean up stray temp directory; r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D39620
2019-07-30 01:27:03 +00:00
Maja Frydrychowicz 57aa246a84 Bug 1569440 - [mozdevice] Remove redundant except clause; r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D39619
2019-07-30 01:59:45 +00:00
Maja Frydrychowicz e8d74c413b Bug 1569440 - [mozrunner] Set MOZ_IN_AUTOMATION when running on Android; r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D39616
2019-07-30 01:59:45 +00:00
Maja Frydrychowicz f873caed8c Bug 1569440 - [wptrunner] Provide test name during crash checks on Android; r=jgraham
This changes the logging from
"PROCESS-CRASH | mozrunner-startup | application crashed" to
"PROCESS-CRASH | path/to/test | application crashed"

Differential Revision: https://phabricator.services.mozilla.com/D39615
2019-07-30 01:26:21 +00:00
Maja Frydrychowicz 1f04d9cb8d Bug 1569440 - [mozrunner] Log when minidumps directory does not exist on device; r=gbrown
The missing directory seems to happens ~20 or so times per test run. I hope this
can help with investigations.

Differential Revision: https://phabricator.services.mozilla.com/D39613
2019-07-30 16:19:03 +00:00
Maja Frydrychowicz 5d4d53931b Bug 1569440 - [wptrunner] Remove dead leak-check code for firefox_android; r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D39612
2019-07-30 01:25:54 +00:00
Andreas Pehrson 06512b7c9c Bug 1561254 - Clean up tracks after each gUM request in MediaDevices-getUserMedia. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D37693
2019-07-30 13:43:15 +00:00
Andreas Pehrson 6ccb26956c Bug 1561254 - Support groupId in constraints. r=achronop,jib,smaug
Differential Revision: https://phabricator.services.mozilla.com/D37692
2019-07-30 16:28:44 +00:00
James Graham 24ab59501a Bug 1552309 - Avoid timing out with buggy behaviour in IndexedDB test, r=asuth
Ensure that the test returns a result in various error conditions
including databases not being defined, and databases() throwing an
exception. This avoids the test timing out as a failure mode and so
saves some runtime.

Differential Revision: https://phabricator.services.mozilla.com/D31523
2019-07-30 15:54:56 +00:00
James Graham 6dd65fc699 Bug 1533048 - Improve wpt expectation ini error messages, r=ato
Currently we don't always give a useful message and in particular
don't always include the file and line number of the place where the
exception occured in order to give a clue about where the error might
be.

To fix this, if we get an error that isn't a ParseError, wrap it in a
ParseError to give the file and line. Also improve one error message.

Differential Revision: https://phabricator.services.mozilla.com/D22312
2019-07-30 17:46:22 +00:00
Bob Clary e841ca13f9 Bug 1569707 - [mozdevice 3.0.3] - Improve boot complete detection and ensure that the device state is reset after rebooting, r=gbrown.
Add internal method _wait_for_bootcompleted to wait until sys.boot_completed and dev.bootcomplate are set.
Add internal method _initialize_boot_state to encapsulate the steps required to initialize device state.
Make sure to set device state after rebooting.
Normalize optional arguments for _test_path calls.
Add verbose logging for shell_bool.

Differential Revision: https://phabricator.services.mozilla.com/D39876
2019-07-30 18:03:27 +00:00
Daniel Varga 05081ead08 Backed out 9 changesets (bug 1387894) for wpt failures at /web-animations/timing-model/animations/finishing-an-animation.html on a CLOSED TREE
Backed out changeset 998582bf083d (bug 1387894)
Backed out changeset cd58aae7d47b (bug 1387894)
Backed out changeset a51919fb2062 (bug 1387894)
Backed out changeset ef7b589d751b (bug 1387894)
Backed out changeset 75c0249b594a (bug 1387894)
Backed out changeset 4a75f2556242 (bug 1387894)
Backed out changeset 0bff9ba4237c (bug 1387894)
Backed out changeset 80040c0a275e (bug 1387894)
Backed out changeset 02814f69872d (bug 1387894)
2019-07-30 21:05:59 +03:00
Tom Ritter be142178a7 Bug 1387894 - Followup: tabs to spaces for lint CLOSED TREE 2019-07-30 10:58:21 -05:00
Tom Ritter dcce3a682b Bug 1387894 - Disable unconditional clamping for two CSS tests r=birtles
We're hitting double imprecision here.

Example: Given 86.68392200000000 and 86.67999999999999 we want to see
if they're equal with two significant digits. (They are, they're 86.68)

However, when we reduce them, 86.68 (which is represented as an epislon lower)
gets reduced to 86.66 and they no longer match. We disable unconditional clamping
on these tests to confirm they behave the way they shoud... excepting the clamping
which may introduce imprecision.

Differential Revision: https://phabricator.services.mozilla.com/D38812
2019-07-30 15:12:39 +00:00
Tom Ritter dd25856e29 Bug 1387894 - Remove expected failure from Event-timestamp-safe-resolution.html r=smaug
Hey, we fixed it!

Differential Revision: https://phabricator.services.mozilla.com/D38811
2019-07-30 15:12:30 +00:00
Tom Ritter af8cbef661 Bug 1387894 - Fix animation WPTs r=birtles,jgraham
I believe these intermittents are caused by double imprecision. When unconditional clamping is enabled
it gets multiplied out and causes animation.currentTime to occasionally go to 50000.02 which causes
the test to fail. We can reduce the precision back down to ignore that. We do so using some WPT
overrides.

Differential Revision: https://phabricator.services.mozilla.com/D38810
2019-07-30 15:12:17 +00:00
Tom Ritter 610e2b5942 Bug 1387894 - Fix the WPT and mochitest test_document-timeline.html for unconditional clamping r=birtles
We fix this by clamping the requestAnimationFrame timestamp in the test before comparing it.
We don't clamp the requestAnimationFrame timestamp normally because it would be meaningless:
rAF fires on a regular frequency and someone perfoming a fine-grained timing attack will be
able to determine the timestamp from when it fires.

We need to use parseFloat to knock off any extra epislon we gain.

This shouldn't cause any major blow-ups because timelines are disabled in release and beta,
so at least any potential fallout would be constrained.

Differential Revision: https://phabricator.services.mozilla.com/D38807
2019-07-30 15:11:50 +00:00
Andreea Pavel a929f957f0 Backed out 8 changesets (bug 1387894) for build bustages on a CLOSED TREE
Backed out changeset 09785dc4c5aa (bug 1387894)
Backed out changeset 05728160b89e (bug 1387894)
Backed out changeset 01e5b31bcc17 (bug 1387894)
Backed out changeset c5e16646ddb1 (bug 1387894)
Backed out changeset d1f09b772bac (bug 1387894)
Backed out changeset de538a48f455 (bug 1387894)
Backed out changeset d49cd8ef0825 (bug 1387894)
Backed out changeset fcfe77fab0ec (bug 1387894)
2019-07-30 17:17:39 +03:00
Tom Ritter dd3b59eb29 Bug 1387894 - Disable unconditional clamping for two CSS tests r=birtles
We're hitting double imprecision here.

Example: Given 86.68392200000000 and 86.67999999999999 we want to see
if they're equal with two significant digits. (They are, they're 86.68)

However, when we reduce them, 86.68 (which is represented as an epislon lower)
gets reduced to 86.66 and they no longer match. We disable unconditional clamping
on these tests to confirm they behave the way they shoud... excepting the clamping
which may introduce imprecision.

Differential Revision: https://phabricator.services.mozilla.com/D38812
2019-07-30 13:19:15 +00:00
Tom Ritter 654555b97e Bug 1387894 - Remove expected failure from Event-timestamp-safe-resolution.html r=smaug
Hey, we fixed it!

Differential Revision: https://phabricator.services.mozilla.com/D38811
2019-07-30 13:19:06 +00:00
Tom Ritter 1924272432 Bug 1387894 - Fix animation WPTs r=birtles,jgraham
I believe these intermittents are caused by double imprecision. When unconditional clamping is enabled
it gets multiplied out and causes animation.currentTime to occasionally go to 50000.02 which causes
the test to fail. We can reduce the precision back down to ignore that. We do so using some WPT
overrides.

Differential Revision: https://phabricator.services.mozilla.com/D38810
2019-07-30 13:19:06 +00:00
Tom Ritter d945ca09a7 Bug 1387894 - Fix the WPT and mochitest test_document-timeline.html for unconditional clamping r=birtles
We fix this by clamping the requestAnimationFrame timestamp in the test before comparing it.
We don't clamp the requestAnimationFrame timestamp normally because it would be meaningless:
rAF fires on a regular frequency and someone perfoming a fine-grained timing attack will be
able to determine the timestamp from when it fires.

We need to use parseFloat to knock off any extra epislon we gain.

This shouldn't cause any major blow-ups because timelines are disabled in release and beta,
so at least any potential fallout would be constrained.

Differential Revision: https://phabricator.services.mozilla.com/D38807
2019-07-30 13:19:05 +00:00
Razvan Maries 04b0d4dd2e Bug 1568814 - Disabled inert-retargeting-iframe.tentative.html on Windows10 x64. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D39850
2019-07-30 09:34:43 +00:00
Dave Hunt cb07aee309 Bug 1532697 - Output window.devicePixelRatio when running Talos tests r=jmaher,perftest-reviewers,Bebe
Differential Revision: https://phabricator.services.mozilla.com/D39652
2019-07-30 07:43:26 +00:00
Nupur Baghel 5b55c08d41 Bug 1569100 - Add GetCookies command and Cookies response types. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D39838
2019-07-30 10:04:00 +00:00
Nupur Baghel 7b32b9f698 Bug 1569100 - Add Cookie, Date types and AddCookie command to Marionette. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D39835
2019-07-30 10:03:20 +00:00
Nupur Baghel af5e555877 Bug 1569100 - Add SetTimeouts command to Marionette. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D39662
2019-07-30 05:37:16 +00:00
Calixte Denizet a4de769f29 Bug 1568920: Fix typo which leads to a parsing error r=jgraham
A typo has been introduced in commit 1fc3a0502508 and avoids the file to be parsed

Differential Revision: https://phabricator.services.mozilla.com/D39389
2019-07-29 15:12:05 +00:00
Daniel Holbert 1ea81cd71d Bug 1569505: Annotate WPT reftest object-fit-contain-png-001i.html.ini as intermittently fuzzy on android. (no review, test-annotation only)
Just copying the annotation from this test's "-001e" sibling, since the
failures seem to have the exact same degree of fuzziness.

Differential Revision: https://phabricator.services.mozilla.com/D39806
2019-07-29 23:37:39 +00:00
Mike Hommey ce982e440f Bug 1569817 - Set tooltool servers for wrench tasks. r=tomprince
Differential Revision: https://phabricator.services.mozilla.com//D39826
2019-07-30 05:55:03 +03:00
Cosmin Sabou d87aa75410 Backed out changeset 2a0f5a0e0e38 (bug 1569817) for landing without a reviewer in the commit message. 2019-07-30 06:05:06 +03:00
Mike Hommey c0b7a2849f Bug 1569817 - Set tooltool servers for wrench tasks.
Differential Revision: https://phabricator.services.mozilla.com//D39826
2019-07-30 05:55:03 +03:00
Andreea Pavel 452e891366 Bug 1568717 - update redirect-https-downgrade.tentative.sub.html expectations r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D39341
2019-07-29 18:28:01 +00:00
Cosmin Sabou 221a922016 Bug 1568835 - restore release_or_beta expectation metadata on the-audioworklet-interface tests. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D39628
2019-07-29 18:19:38 +00:00
Geoff Brown 4db57427f3 Bug 1569688 - Use e10s by default for geckoview mochitest; r=jmaher
The default, options.app == None, implies geckoview, with e10s.

Differential Revision: https://phabricator.services.mozilla.com/D39722
2019-07-29 17:54:25 +00:00
Andrew Halberstadt d20fe90dee Bug 1567264 - [mochitest] Add a convenience --enable-fission argument r=gbrown
This argument is an alias for '--setpref="fission.autostart=1"'.

Differential Revision: https://phabricator.services.mozilla.com/D39548
2019-07-29 17:49:33 +00:00
Andrew Halberstadt c2b03c687a Bug 1567264 - [mozlog] Support log errors in the errorsummary and mach formatter r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D39547
2019-07-29 15:16:22 +00:00
Geoff Brown a3b66ddfb8 Bug 1569053 - Define MOZ_ANDROID_DATA_DIR for android xpcshell tests; r=snorp
Effectively avoids an assertion in many geckoview xpcshell tests.

Differential Revision: https://phabricator.services.mozilla.com/D39428
2019-07-29 15:47:35 +00:00
Thomas Nguyen 1472cd5b8c Bug 1567573 - Apply Referrer-Policy header from redirect response r=michal
Differential Revision: https://phabricator.services.mozilla.com/D38879
2019-07-29 13:51:17 +00:00
James Graham ab6bae7097 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
2019-07-29 15:07:33 +00:00
James Graham 85332c38df 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
2019-07-29 08:48:50 +00:00
Emilio Cobos Álvarez 2614121dc3 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
2019-07-29 13:44:46 +00:00
Emilio Cobos Álvarez c08656effa Bug 1456358 - Inhibit RecomputePosition when descendants depend on the out of flow position. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D38194
2019-07-29 13:43:29 +00:00
Csoregi Natalia 4a7a348965 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