Commit Graph
15711 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
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 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 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
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
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
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
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
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
Jonathan Kew 9a72249bbf 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
2019-07-26 14:07:17 +00:00
Boris Chiou 8bd0e62216 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
2019-07-27 16:18:53 +00:00
Boris Chiou 7bb681750d Bug 1291187 - Add tests for testing the computed values of flex-basis. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D39558
2019-07-29 04:19:13 +00:00
Ciure Andrei a58f71efb5 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 5024e13a8a 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
2019-07-26 22:10:32 +00:00
Daniel Holbert 32470e0638 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
2019-07-26 22:10:32 +00:00
Perry Jiang 10252a9db7 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
2019-07-26 18:41:48 +00:00
Edwin Gao 815e09bc23 Bug 1519369 - support 'debugger' parser argument for mach test command r=ahal,gbrown
Differential Revision: https://phabricator.services.mozilla.com/D39229
2019-07-26 15:18:18 +00:00
James Graham 76478a4aa6 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
2019-07-25 21:55:01 +00:00
Karl Tomlinson 0ed824851f 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
2019-07-26 06:54:28 +00:00
Geoff Brown 53fdb9c2f0 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
2019-07-25 22:49:08 +00:00
James Graham 6f6aaa452b Bug 1568685 - Mark pointerlock test as intermittent on all desktop, r=nikkis
Differential Revision: https://phabricator.services.mozilla.com/D39396
2019-07-25 18:58:48 +00:00
Byron Campen [:bwc] 3676e00509 Bug 1568530: Put bug links in these .ini files. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D39237
2019-07-25 00:41:42 +00:00
Andreea Pavel 8e0ddb50ed Merge mozilla-inbound to mozilla-central. a=merge 2019-07-25 08:59:39 +03:00
Boris Chiou eee38ca4a9 Bug 1568615 - Accept percentage for shape-image-threshold. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D39241
2019-07-24 21:37:22 +00:00
Nikki Sharpley 33e7dbca92 Bug 1568014 - Update wptrunner docs to describe inclusion of expected intermittent statuses. r=jgraham
Updated the docs with examples of the metadata format with expected intermittent statuses,
and information on how to use --update_intermittent and --remove_intermittent.

Differential Revision: https://phabricator.services.mozilla.com/D38914
2019-07-24 12:31:33 +00:00
Nikki Sharpley 9770f3518a Bug 1567000 - Add --update-intermittent and --remove-intermittent arguments to the command line for the web-platform-tests harness r=jgraham
`--update-intermittent` and `--remove-intermittent` have been added to the command line arguments for the web-platform-tests
`update` option. This adds expected intermittent statuses to the test metadata.

Differential Revision: https://phabricator.services.mozilla.com/D38871
2019-07-24 12:30:05 +00:00
Henrik Skupin edd2123fdc Bug 1560033 - [wptrunner] Remove usage of "/etc/hosts" file for tests on Android. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D35662
2019-07-24 09:20:40 +00:00
Jan-Ivar Bruaroey 10e1b5e01d Bug 1567951: Test implicit rollback in SRD(offer). r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D38890
2019-07-23 20:36:11 +00:00
Ryan Hunt 56b1713955 Bug 1559962 - Update spec/core wasm tests for bulk memory operations repo changes. r=luke
This commit updates the core wasm tests again using 'spidermonkey-tree-tests'.
(https://github.com/eqrion/spec @ bc995a154acb02624cab98a7f6bb7e90f0328172)

The branch continues from the last vendored point of the spec and merges the
changes from the bulk-memory-operations spec, along with a fix for a test.

Differential Revision: https://phabricator.services.mozilla.com/D38660
2019-07-18 17:43:51 -05:00
Narcis Beleuzu b34cbc05b4 Backed out 2 changesets (bug 1567951) for mda failures on test_peerConnection_setRemoteOfferInHaveLocalOffer.html . CLOSED TREE
Backed out changeset ca95add81105 (bug 1567951)
Backed out changeset 092e24332c39 (bug 1567951)
2019-07-23 23:02:54 +03:00