Commit Graph

38276 Commits

Author SHA1 Message Date
Narcis Beleuzu
a191b9f714 Bug 1578737 - Fix idl_test setup.
Differential Revision: https://phabricator.services.mozilla.com/D45062

--HG--
extra : moz-landing-system : lando
2019-09-06 18:36:53 +00:00
Sebastian Hengst
555ccbd1c8 Bug 1578734 - Enable getBoxQuad in css/cssom-view/idlharness.html. r=jgraham DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D44955

--HG--
extra : moz-landing-system : lando
2019-09-06 17:13:27 +00:00
Geoff Brown
56ca134785 Bug 1579272 - Cleanup obviously fennec-centric test annotations; r=bc
Remove test manifest annotations that specifically target fennec,
or likely target the android 4.3 emulator.

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

--HG--
extra : moz-landing-system : lando
2019-09-06 16:51:10 +00:00
Cosmin Sabou
732b97195a Backed out changeset 7dc9a45ef7d6 (bug 1237782) for causing browser chrome failures on browser_disableAppcache.js CLOSED TREE 2019-09-06 19:10:20 +03:00
Cosmin Sabou
75a53a2ed8 Bug 1578737 - Change [idl_test setup] to be only about release or beta. r=jgraham
--HG--
extra : amend_source : b186e36831089e15f8a2f656e5999d6156e93b00
2019-09-06 19:03:17 +03:00
Cosmin Sabou
28d401e275 Backed out 2 changesets (bug 1443414) for causing other wpt failures.
Backed out changeset a1c18ce12260 (bug 1443414)
Backed out changeset 2dd7a711ef76 (bug 1443414)
2019-09-06 19:00:19 +03:00
Geoff Brown
d80dd7ec91 Bug 1578783 - Cleanup fennec references in marionette tests; r=whimboo,ato
Differential Revision: https://phabricator.services.mozilla.com/D44753

--HG--
extra : moz-landing-system : lando
2019-09-06 15:17:32 +00:00
Cosmin Sabou
5e989da441 Bug 1443414 - Annotate test because failures turned into unexpected OK. a=test-only
--HG--
extra : rebase_source : ef3ed67b14ba400a11029c6da5c833690d62b289
2019-09-06 18:16:53 +03:00
Cosmin Sabou
d9b8221de9 Bug 1578516 - Update test expectations because of frequent failures on different platforms. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D44984

--HG--
extra : moz-landing-system : lando
2019-09-06 14:45:57 +00:00
Jonathan Kingston
a8f4386427 Bug 1237782 - Remove http override and add appcache pref r=baku
Differential Revision: https://phabricator.services.mozilla.com/D44472

--HG--
extra : moz-landing-system : lando
2019-09-06 15:02:34 +00:00
Cosmin Sabou
54e16b14e3 Backed out 6 changesets (bug 1518442) as requested by jdai.
Backed out changeset 74c27d7d13c5 (bug 1518442)
Backed out changeset a092042068ab (bug 1518442)
Backed out changeset 1df8f544b3b7 (bug 1518442)
Backed out changeset 65f7059b0080 (bug 1518442)
Backed out changeset c8fbe42eba38 (bug 1518442)
Backed out changeset e7a459689227 (bug 1518442)

--HG--
extra : rebase_source : 938405a9643076c7aa894059bcdd8d20a8110873
2019-09-06 17:58:57 +03:00
David Heiberg
a077d6cd01 Bug 1577503 - Replace filter_map(p).next() with find(p) r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D44973

--HG--
extra : moz-landing-system : lando
2019-09-06 12:53:08 +00:00
David Heiberg
22491909e6 Bug 1577503 - Automatic Clippy fixes r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D44972

--HG--
extra : moz-landing-system : lando
2019-09-06 12:07:20 +00:00
David Heiberg
c4e8cd9c12 Bug 1577503 - Use lossless conversions instead of casting r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D44971

--HG--
extra : moz-landing-system : lando
2019-09-06 12:07:05 +00:00
David Heiberg
2fcde7c8fe Bug 1577503 - Allow clippy double options r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D44970

--HG--
extra : moz-landing-system : lando
2019-09-06 12:06:56 +00:00
David Heiberg
b0275fcbf9 Bug 1577503 - Remove redundant static lifetimes r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D44969

--HG--
extra : moz-landing-system : lando
2019-09-06 12:06:53 +00:00
Cosmin Sabou
a073ab211c Bug 1578737 - Fix audioworklet-addmodule-resolution.https.html & idlharness.https.window.html failures on beta. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D44948

--HG--
extra : moz-landing-system : lando
2019-09-06 14:03:21 +00:00
Cosmin Sabou
5073ad3dc5 Bug 1443414 - Update about-blank-replacement.https.html expectations cause of frequent failures. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D45000

--HG--
extra : moz-landing-system : lando
2019-09-06 13:32:03 +00:00
Cosmin Sabou
8bda9231a8 Bug 1518442 - Part 6: Fix idlharness.https.html wpt test for Event-based form participation; r=jdai
--HG--
extra : amend_source : 4e583907c1d4c7c83eabf430af71d5e2497951b2
2019-09-06 14:51:07 +03:00
Cosmin Sabou
a532411ede Bug 1569098 - Update test expectations for frequent failures on windows. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D44981

--HG--
extra : moz-landing-system : lando
2019-09-06 10:14:53 +00:00
John Dai
391d7c52fe Bug 1518442 - Part 4: Fix wpt test for Event-based form participation; r=smaug,edgar
Differential Revision: https://phabricator.services.mozilla.com/D43988

--HG--
extra : moz-landing-system : lando
2019-09-06 09:47:38 +00:00
John Dai
1fd20a87f9 Bug 1518442 - Part 3: Add dom.formdata.event.enabled preference for Event-based form participation; r=smaug,edgar
Differential Revision: https://phabricator.services.mozilla.com/D43987

--HG--
extra : moz-landing-system : lando
2019-09-06 09:47:31 +00:00
Daisuke Akatsuka
8615db6369 Bug 1579062: Turn on dom.animations-api.implicit-keyframes.enabled for css-multicol tests. r=birtles
Depends on D44940

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

--HG--
extra : moz-landing-system : lando
2019-09-06 04:29:12 +00:00
Daisuke Akatsuka
20e0c026e0 Bug 1579062: Turn on dom.animations-api.implicit-keyframes.enabled for css-transforms tests. r=birtles
Depends on D44939

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

--HG--
extra : moz-landing-system : lando
2019-09-06 04:29:03 +00:00
Daisuke Akatsuka
ab698711a8 Bug 1579062: Turn on dom.animations-api.implicit-keyframes.enabled for css-backgrounds tests. r=birtles
Depends on D44938

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

--HG--
extra : moz-landing-system : lando
2019-09-06 04:29:10 +00:00
Daisuke Akatsuka
1112761233 Bug 1579062: Turn on dom.animations-api.implicit-keyframes.enabled for css-box tests. r=birtles
Differential Revision: https://phabricator.services.mozilla.com/D44938

--HG--
extra : moz-landing-system : lando
2019-09-06 04:29:01 +00:00
Ting-Yu Lin
b8fee8f71c Bug 1308587 Part 2 - Remove -moz prefix for all multi-column properties in testing and css files. r=dholbert
This patch is generated by the following script:

```
function remove_column_prefix() {
    echo "Renaming $1 to $2"
    find .\
         -type f\
         ! -path "./obj*"\
         ! -path "./.git"\
         ! -path "./.hg"\
         \( -name "*.html" -or\
            -name "*.xhtml" -or\
            -name "*.xht" -or\
            -name "*.xul" -or\
            -name "*.xml" -or\
            -name "*.css"  \)\
            -exec sed -i -e "s/$1/$2/g" "{}" \;
}

remove_column_prefix "-moz-columns" "columns"
remove_column_prefix "-moz-column-width" "column-width"
remove_column_prefix "-moz-column-count" "column-count"
remove_column_prefix "-moz-column-fill" "column-fill"
remove_column_prefix "-moz-column-gap" "column-gap"
remove_column_prefix "-moz-column-rule" "column-rule"
remove_column_prefix "-moz-column-rule-width" "column-rule-width"
remove_column_prefix "-moz-column-rule-color" "column-rule-color"
remove_column_prefix "-moz-column-rule-style" "column-rule-style"

```

Note: after running the above script, I reverted one minor change to the
file multicol-nested-column-rule-001.xht in the theoretically read-only
directory layout/reftests/w3c-css/received/css-multicol/.

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

--HG--
extra : moz-landing-system : lando
2019-09-05 21:37:32 +00:00
Ting-Yu Lin
f0a1298eaa Bug 1308587 Part 1 - Manually remove "-moz" prefixed multi-column properties in some tests. r=dholbert
In the next part, the patch generated by a script removes "-moz" prefix
to all multi-column properties.

However, some of the tests already have standard multi-column properties
specified. To avoid duplicating CSS multi-column rules in these
files (after applying the next part), I manually remove the prefixed
rules beforehand as many as possible.

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

--HG--
extra : moz-landing-system : lando
2019-09-05 21:32:05 +00:00
James Willcox
0c4d641167 Bug 1343678 - Mark a few more wpt tests as passing on Android r=me
--HG--
extra : amend_source : e1308886e73fcbb0619bf05d763e9a8d374f83dc
2019-09-05 23:46:02 +03:00
Thomas Nguyen
6945142351 Bug 1548087 - enumerateDevices should only expose devices which are allowed to use by FeturePolicy r=baku,jib
Differential Revision: https://phabricator.services.mozilla.com/D42958

--HG--
extra : moz-landing-system : lando
2019-09-05 20:09:28 +00:00
James Graham
79e87dcbaa Bug 1579168 - Fix updating metadata for results that are expected but have known intermittents, r=maja_zf
We were assuming that in the case that the status matched expected we'd have
no expected entry in the log data. But actually it was being set to None, so
handle both those cases.

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

--HG--
extra : moz-landing-system : lando
2019-09-05 18:54:11 +00:00
Daniel Holbert
2933f10325 Bug 1092007 part 2: Treat a flex item's main-size as indefinite if the item and the container both have an indefinite size in that axis. r=mats
Flex containers resolve a main-axis size for each of their flex items, and they
impose this size on the flex items by stomping on the items'
ReflowInput::ComputedISize() or ComputedBSize() data.  For cases when we're
stomping on the flex item's block-axis, then this can make us improperly treat
this size as definite (i.e. use it for percent resolution).

The flexbox spec does call out some cases where the item's size *is* supposed
to be considered definite[1], but if we're not in one of those cases, we need
to be careful to treat the size as indefinite even though it's been resolved.

This patch achieves this by:
 - adding a flag to FlexItem, which gets set in cases where we know we need to
   treat the size as indefinite.
 - adding a flag to ReflowInput, which gets set whenever a ComputedBSize is
   imposed (if the FlexItem had its flag set).
 - adding some code to the ReflowInput percent-resolution codepath to test for
   this flag and skip past percent-resolution if it's set.

This patch makes us pass all of the existing testcases in the web-platform-test
"percentage-heights-003.html". This patch also adds a few more subtests
there to exercise cases where the flex container and item have orthogonal
writing-modes.

(Note the XXXdholbert comments in the patch about items being "fully
inflexible" in some cases in order to be treated as having a definite size.
If I were to address that comment here, then we would start failing the
web-platform-test "percentage-heights-005.html", which all browsers currently
pass[2]. Therefore, I'm not adding that restriction at this point.)

[1] https://drafts.csswg.org/css-flexbox/#definite-sizes
[2] https://wpt.fyi/results/css/css-flexbox/percentage-heights-005.html

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

--HG--
extra : moz-landing-system : lando
2019-09-04 22:45:08 +00:00
Coroiu Cristina
5f190b63ff Backed out 2 changesets (bug 1548087) for wpt failures at audio-output/setSinkId.https.html on a CLOSED TREE
Backed out changeset 6f9782261d63 (bug 1548087)
Backed out changeset 044e224f7011 (bug 1548087)
2019-09-05 20:00:26 +03:00
Thomas Nguyen
db7ab2a061 Bug 1548087 - enumerateDevices should only expose devices which are allowed to use by FeturePolicy r=baku,jib
Differential Revision: https://phabricator.services.mozilla.com/D42958

--HG--
extra : moz-landing-system : lando
2019-09-05 14:53:07 +00:00
James Willcox
ea5c701029 Bug 1343678 - Enable web push pref for GeckoView r=geckoview-reviewers,droeh,smaug,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D41288

--HG--
extra : moz-landing-system : lando
2019-09-05 13:59:32 +00:00
Rob Wood
f591ad7b03 Bug 1568048 - Lift mozproxy management out of Raptor and into Perftest r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D42946

--HG--
extra : moz-landing-system : lando
2019-09-05 13:09:24 +00:00
Daisuke Akatsuka
725512d5f5 Bug 1578728: Turn on dom.animations-api.implicit-keyframes.enabled for css-shapes tests. r=birtles
Differential Revision: https://phabricator.services.mozilla.com/D44767

--HG--
extra : moz-landing-system : lando
2019-09-05 06:15:36 +00:00
Dorel Luca
ec62854d68 Backed out changeset 890bcaee9b7d (bug 1529068) for causing massive tier2 failures on central in dom/security/test/csp/test_navigate_to.html. CLOSED TREE 2019-09-05 09:47:35 +03:00
Hiroyuki Ikezoe
aa7c736bad Bug 1563649 - As with display list item and reflow for position:fixed elements, use the adjusted layout viewport size getComputedStyle() r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D41930

--HG--
extra : moz-landing-system : lando
2019-09-05 01:15:05 +00:00
Karl Tomlinson
eb4179edc3 Bug 1558128 reject addModule() promise with AbortError on failure to parse worklet script and don't suppress SyntaxErrors r=baku
https://drafts.css-houdini.org/worklets/#fetch-and-invoke-a-worklet-script
requires that the addModule() promise is rejected with an "AbortError"
DOMException.  https://github.com/w3c/css-houdini-drafts/issues/509 proposes a
more specific error, but that has not been implemented in another browser.

StealExceptionFromJSContext() set ErrorCode to
NS_ERROR_INTERNAL_ERRORRESULT_JS_EXCEPTION if there was a pending exception
(or NS_ERROR_OUT_OF_MEMORY on failure to record the JS exception) or
NS_ERROR_UNCATCHABLE_EXCEPTION if there was no pending exception.
StealNSResult() converted NS_ERROR_INTERNAL_ERRORRESULT_JS_EXCEPTION to
NS_ERROR_DOM_INVALID_STATE_ERR.

Information about the error is lost on conversion of a SyntaxError to the
promise rejection, so allow the SyntaxError to be reported the console.

Depends on D44601

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

--HG--
extra : moz-landing-system : lando
2019-09-04 09:46:50 +00:00
Glenn Watson
d6bac95db7 Bug 1578641 - Improve how tile clipping works in WR picture caching. r=kvark
Previously, picture caching code would use the viewport of the
scroll root to find a clipping rect for picture cache tiles. This
viewport rect was also used to eliminate fixed position clip rects
on primitives that would otherwise cause unwanted invalidations
due to them moving relative to the scroll root when scrolls occur.

Now, the picture caching code uses a similar technique to Gecko
to find shared clips on primitives in a picture cache. These clips
are filtered out from being applied on a per-primitive basis, and
instead applied once during compositing the tiles into the parent
picture.

This is a potential performance improvement, since less per-item
work is required when building clip chains. More importantly, it
means the picture caching code correctly handles cases where the
scroll root contains fixed position elements (or other scroll
roots). This is a requirement before we can enable picture caching
on multiple slices.

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

--HG--
extra : moz-landing-system : lando
2019-09-04 20:30:12 +00:00
Gijs Kruitbosch
9f3a3e9669 Bug 1578709 - Only set flash only pref for those tests that need it, r=mconley,ahal
Differential Revision: https://phabricator.services.mozilla.com/D44648

--HG--
extra : moz-landing-system : lando
2019-09-04 22:12:39 +00:00
Benjamin
2202fa3333 Bug 1529068 - Implementation of the navigate-to CSP directive as defined in CSP Level 3. r=ckerschb,mccr8
https://www.w3.org/TR/CSP3/#directive-navigate-to

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

--HG--
extra : moz-landing-system : lando
2019-09-04 20:29:37 +00:00
stephendonner
9c6b27fbdb Bug 1577909. Fix typos in mozharness' raptor.py. r=perftest-reviewers,rwood
Differential Revision: https://phabricator.services.mozilla.com/D44694

--HG--
extra : moz-landing-system : lando
2019-09-04 17:30:31 +00:00
Gurzau Raul
f96e9cd73f Backed out changeset 887d125d7f59 (bug 1578709) for failing at test_bug427744.html on a CLOSED TREE. 2019-09-04 21:34:11 +03:00
Geoff Brown
be67d46e14 Bug 1577037 - Stop running all Fennec functional tests; r=bc
Stop running all Fennec functional (non-performance) tests:
 - stop running all Android 4.3 tests
 - switch android-em-7 cppunit and android-hw jittest from the Fennec apk to the
   geckoview apk (no difference in behavior expected)
 - stop running Android 7.0 marionette tests, since they also run against Fennec
 - remove android-em-4.* references from taskcluster configs
 - remove android instance: extra-large references from taskcluster configs,
   since they only affect aws, which is no longer used for Android

Android-hw raptor tests running against Fennec remain; I will prepare a separate
patch for those.

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

--HG--
extra : moz-landing-system : lando
2019-09-04 15:58:36 +00:00
Csoregi Natalia
2dd3b18187 Backed out changeset 99b313550fb8 (bug 1529068) for eslint failure on test_navigate_to.html. CLOSED TREE 2019-09-04 21:15:18 +03:00
Benjamin
33379674f8 Bug 1529068 - Implementation of the navigate-to CSP directive as defined in CSP Level 3. r=ckerschb,mccr8
https://www.w3.org/TR/CSP3/#directive-navigate-to

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

--HG--
extra : moz-landing-system : lando
2019-09-04 17:44:14 +00:00
Kershaw Chang
64b7f325a6 Bug 1577428 - Not allow nsICertOverrideService to be implemented in js r=keeler,ato
Differential Revision: https://phabricator.services.mozilla.com/D43931

--HG--
rename : security/manager/ssl/tests/unit/test_js_cert_override_service.js => security/manager/ssl/tests/unit/test_allow_all_cert_errors.js
extra : moz-landing-system : lando
2019-09-04 17:17:44 +00:00
Gijs Kruitbosch
bb899238e7 Bug 1578709 - Only set flash only pref for those tests that need it, r=mconley,ahal
Differential Revision: https://phabricator.services.mozilla.com/D44648

--HG--
extra : moz-landing-system : lando
2019-09-04 17:28:02 +00:00