Commit Graph

514 Commits

Author SHA1 Message Date
Andreea Pavel
d51566f085 Backed out 2 changesets (bug 1503019) for failing crashtests at dom/base/crashtests/1505811.html on a CLOSED TREE
Backed out changeset 06b12fd41ff1 (bug 1503019)
Backed out changeset 7b845eac9dd7 (bug 1503019)
2018-11-15 01:52:30 +02:00
Timothy Guan-tin Chien
c69315234b Bug 1503019 - Part II, Remove dom.webcomponents.customelements.enabled pref r=smaug
This patch removes the following functions:

* nsContentUtils::IsCustomElementsEnabled()
* CustomElementRegistry::IsCustomElementEnabled(JSContext* aCx, JSObject* aObject)
* CustomElementRegistry::IsCustomElementEnabled(nsIDocument* aDoc)

and all references of the pref.

Depends on D11183

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

--HG--
extra : moz-landing-system : lando
2018-11-14 19:37:42 +00:00
Timothy Guan-tin Chien
c0cc4f74e7 Bug 1503019 - Part I, Remove dom.webcomponents.shadowdom.enabled r=smaug
This patch removes the dom.webcomponents.shadowdom.enabled pref and all its
references, including the following functions:

* nsContentUtils::IsShadowDOMEnabled()
* nsIDocument::IsShadowDOMEnabled()
* nsDocument::IsShadowDOMEnabled(JSContext* aCx, JSObject* aGlobal)
* nsDocument::IsShadowDOMEnabled(const nsINode* aNode)
* nsTextNode::IsShadowDOMEnabled(JSContext* aCx, JSObject* aObject)

This function is renamed and updated to nsDocument::IsCallerChromeOrAddon():

* nsDocument::IsShadowDOMEnabledAndCallerIsChromeOrAddon(JSContext* aCx, JSObject* aObject)

I didn't change the tests that load Shadow DOM tests in an iframe, in the interest of keeping hg annotation history.

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

--HG--
extra : moz-landing-system : lando
2018-11-14 19:34:52 +00:00
shindli
1e51b7ee7c Merge inbound to mozilla-central. a=merge 2018-11-10 23:36:30 +02:00
Ed Lee
d94c11cf32 Bug 1506367 - Tests fail for network attempt to snippets.cdn.mozilla.net on Nightly builds r=r1cky
Differential Revision: https://phabricator.services.mozilla.com/D11561

--HG--
extra : moz-landing-system : lando
2018-11-10 18:23:05 +00:00
Bob Clary
0d6dbe64ca Bug 1504843 - [raptor] Disable access to push.services.mozilla.com to prevent non-local network access, r=rwood. 2018-11-10 03:10:08 -08:00
James Graham
06cb0d01eb Bug 1499951 - Disable phishing prompt in wpt tests, r=ato 2018-11-07 14:40:16 +00:00
Andrea Marchesini
cc92dd7e56 Bug 675574 - Allow just 1 window.open() per event, r=smaug 2018-11-06 23:35:31 +01:00
Ting-Yu Lin
f1ae18f596 Bug 1504387 - Remove preference "layout.css.shape-outside.enabled". r=bradwerth,xidorn
shape-outside, shape-margin, shape-image-threshold have been shipped in Firefox
62. We can remove the preference.

The change in devtools/shared/css/generated/properties-db.js is generated by
"./mach devtools-css-db"

The actual shape-image CORS mode tests in file_shape_outside_CORS.html are
moved into test_shape_outside_CORS.html because we don't need the <iframe>
trick to enable the feature.

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

--HG--
extra : moz-landing-system : lando
2018-11-05 15:27:36 +00:00
Andrew Halberstadt
88e52fc195 Bug 1460914 - [xpcshell] Define preferences in testing/profiles instead of testing/xpcshell/head.js, r=ted
This commit creates an empty 'base' profile because I wanted to preserve the
ability to apply a pref to all test harnesses on try. Since xpcshell doesn't
share many prefs with the other harnesses, it can't use the common profile.

So adding a pref to 'common' will apply it everywhere except xpcshell. Adding
a pref to 'base' will apply it everywhere including xpcshell. These profiles
are starting to get a bit messy, but I'd like to punt re-organizing them to a
follow-up bug.

Depends on D9716

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

--HG--
extra : moz-landing-system : lando
2018-10-26 17:47:18 +00:00
Andrew Halberstadt
203cc276de Bug 1460914 - [xpcshell] Use nsIPrefService.readUserPrefsFromFile to set prefs, r=ted
This uses nsIPrefService.readUserPrefsFromFile to set preferences from a
user.js passed in via the python harness. This allows us to use the profiles
under testing/profiles like all the other harnesses and will make setting prefs
in xpcshell easier to use and understand.

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

--HG--
extra : moz-landing-system : lando
2018-10-26 17:46:03 +00:00
arthur.iakab
18a752e5d9 Backed out 2 changesets (bug 1460914)for multiple failures on profile_data/base "CLOSED TREE"
Backed out changeset a2161aab4e4e (bug 1460914)
Backed out changeset 9e438c55a248 (bug 1460914)
2018-10-26 19:42:33 +03:00
Andrew Halberstadt
d57afd45ce Bug 1460914 - [xpcshell] Define preferences in testing/profiles instead of testing/xpcshell/head.js, r=ted
This commit creates an empty 'base' profile because I wanted to preserve the
ability to apply a pref to all test harnesses on try. Since xpcshell doesn't
share many prefs with the other harnesses, it can't use the common profile.

So adding a pref to 'common' will apply it everywhere except xpcshell. Adding
a pref to 'base' will apply it everywhere including xpcshell. These profiles
are starting to get a bit messy, but I'd like to punt re-organizing them to a
follow-up bug.

Depends on D9716

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

--HG--
extra : moz-landing-system : lando
2018-10-25 15:23:09 +00:00
Andrew Halberstadt
2dfc1e580d Bug 1460914 - [xpcshell] Use nsIPrefService.readUserPrefsFromFile to set prefs, r=ted
This uses nsIPrefService.readUserPrefsFromFile to set preferences from a
user.js passed in via the python harness. This allows us to use the profiles
under testing/profiles like all the other harnesses and will make setting prefs
in xpcshell easier to use and understand.

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

--HG--
extra : moz-landing-system : lando
2018-10-25 15:22:44 +00:00
Robert Helmer
17ab05a92e Bug 1492656 - move Telemetry Coverage ping in-tree r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D6359

--HG--
extra : moz-landing-system : lando
2018-10-19 00:47:37 +00:00
arthur.iakab
d01d9399cc Backed out changeset b969cbe46b14 (bug 1492656)for Android xpcshell failures on unit/test_CoveragePing.js CLOSED TREE 2018-10-19 03:12:23 +03:00
Robert Helmer
3564ee4004 Bug 1492656 - move Telemetry Coverage ping in-tree r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D6359

--HG--
extra : moz-landing-system : lando
2018-10-04 14:15:11 +00:00
Mats Palmgren
10b87f1915 Bug 1494715 - Add a pref to disable antialiasing for Ahem only, r=jfkthame
Add a pref called gfx.font_ahem_antialias_none which disables
antialiasing for any font with the family name "Ahem". This is useful
for wpt reftests where antialaising of Ahem causes spurious failures.

Differential Revision: https://phabricator.services.mozilla.com/D7200
2018-10-18 15:54:29 +01:00
Kartikaya Gupta
6655893930 Bug 1497789 - Keep the qualified pref off for automated testing. r=sotaro
Differential Revision: https://phabricator.services.mozilla.com/D8285

--HG--
extra : moz-landing-system : lando
2018-10-12 03:42:05 +00:00
Randell Jesup
1e918164f2 Bug 1299118: Measure TTI (or TTFI at the moment) in Raptor TP6 r=rwood 2018-10-11 13:23:38 -04:00
shindli
0f211616dc Backed out 3 changesets (bug 1299118) for ES lint failures
Backed out changeset 14451eb9a2b8 (bug 1299118)
Backed out changeset e5adc30bdf7f (bug 1299118)
Backed out changeset 8f7bb583fbb5 (bug 1299118)
2018-10-11 20:47:58 +03:00
Randell Jesup
94b05e1202 Bug 1299118: Measure TTI (or TTFI at the moment) in Raptor TP6 r=rwood 2018-10-11 13:23:38 -04:00
Andrew Swan
8779262538 Bug 1492867 Avoid loading remote firstrun pages during talos runs r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D8046

--HG--
extra : moz-landing-system : lando
2018-10-09 09:51:56 +00:00
Ciure Andrei
4cd1cc463e Backed out 1 changesets (bug 1492519) for tps perma failures a=backout
Backed out changeset f2b2b043c046 (bug 1492519)
2018-09-28 14:50:45 +03:00
Dão Gottwald
1a784b026b Bug 1492519 - lightweightThemes.selectedThemeID default should be "default-theme@mozilla.org" rather than "". r=aswan 2018-09-21 16:22:30 +02:00
Robert Ma
eccb60c77c Bug 1493549 - Enable media.navigator.streams.fake in WPT r=jgraham
Reland of https://phabricator.services.mozilla.com/D6579 with updated expectations

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

--HG--
extra : moz-landing-system : lando
2018-09-24 16:33:14 +00:00
Brindusan Cristian
bd175095fc Backed out changeset 6f81edbb4e87 (bug 1493549) for wpt failures on /mediacapture-image/ImageCapture-creation.https.html. CLOSED TREE 2018-09-24 13:33:25 +03:00
Robert Ma
18e070b0c9 Bug 1493549 - Enable media.navigator.streams.fake in WPT r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D6579

--HG--
extra : moz-landing-system : lando
2018-09-24 09:08:45 +00:00
arthur.iakab
1ee75a928a Merge inbound to mozilla-central a=merge 2018-09-19 05:18:50 +03:00
Greg Mierzwinski
f977de03b4 Bug 1487277 - Prevent intermittent telemetry gathering and reporting. r=ahal,marco
This patch sets the preference 'toolkit.telemetry.initDelay' to a very high value in an attempt to prevent telemetry from intermittently gathering and reporting data.

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

--HG--
extra : moz-landing-system : lando
2018-09-17 20:46:41 +00:00
Henrik Skupin
c8659bd663 Bug 905404 - [pgo] Add custom profile data in testing/profiles/profileserver. r=ahal
Add extra preferences for the profileserver script on-top of
the ones as inheritted from unittests.

--HG--
extra : rebase_source : 02d3297134e82c2425fc4c6c939cc5d0cc4a2c13
extra : histedit_source : 07f699b0ff8bec2a6eda7705a0fa13fb3b352f98
2018-09-06 08:47:46 +02:00
Henrik Skupin
a2c6b1b222 Bug 905404 - [wpt] Add custom profile data in testing/profiles/web-platform. r=jgraham
Add extra preferences for web-platform-tests on-top of
the ones as inheritted from unittests.

--HG--
extra : rebase_source : 6a1f6828eb52120f9a2029be8220931cd2ca0f69
extra : histedit_source : 5f219cbd34039c79c624bee35f3b56700bde903e
2018-09-06 08:44:52 +02:00
Joel Maher
130b3341e6 Bug 1458242 - add DOMContentFlushed to tp6 as a measurement. r=rwood
add DOMContentFlushed to tp6, collect it and return the geometric mean of all measurements.

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

--HG--
extra : moz-landing-system : lando
2018-09-14 13:51:05 +00:00
Boris Chiou
8e384ca9b3 Bug 1487838 - Add a pref for |clip-path:path()|. r=xidorn
Add a preference, layout.css.clip-path-path.enabled, for |clip-path:path()|.

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

--HG--
extra : moz-landing-system : lando
2018-09-05 04:50:33 +00:00
Florian Quèze
9eb5b36fba Bug 1488232 - add a Google translation backend, r=felipe.
--HG--
rename : browser/components/translation/BingTranslator.jsm => browser/components/translation/GoogleTranslator.jsm
2018-09-03 19:15:56 +02:00
Arnaud Bienner
cd0338e45e Bug 1481676 - Add AudioWorklet tests to WPT. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D4205

--HG--
rename : testing/web-platform/tests/worklets/paint-worklet-credentials.https.html => testing/web-platform/tests/worklets/audio-worklet-credentials.https.html
rename : testing/web-platform/tests/worklets/paint-worklet-csp.https.html => testing/web-platform/tests/worklets/audio-worklet-csp.https.html
rename : testing/web-platform/tests/worklets/paint-worklet-import.https.html => testing/web-platform/tests/worklets/audio-worklet-import.https.html
rename : testing/web-platform/tests/worklets/paint-worklet-referrer.https.html => testing/web-platform/tests/worklets/audio-worklet-referrer.https.html
rename : testing/web-platform/tests/worklets/paint-worklet-service-worker-interception.https.html => testing/web-platform/tests/worklets/audio-worklet-service-worker-interception.https.html
extra : moz-landing-system : lando
2018-08-27 05:02:59 +00:00
Thomas Daede
19b1e76253 Bug 1417050: Add AV1 in MP4 tests. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D3845

--HG--
extra : moz-landing-system : lando
2018-08-21 00:06:25 +00:00
Rob Wood
eeb6464d68 Bug 1480841 - Raptor support for running speedometer on geckoview r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D3446

--HG--
extra : moz-landing-system : lando
2018-08-17 18:06:22 +00:00
Olli Pettay
9fb8ccf44c Bug 1471947, bug 1471948 - Enable Shadow DOM and Custom Elements in release builds, r=ehsan, emilio 2018-08-17 03:39:02 +03:00
Dorel Luca
fa2c143117 Backed out changeset 9b17b83509fd (bug 1471947) for leaks on mochitest 2018-08-16 19:24:06 +03:00
Olli Pettay
11ef94c278 Bug 1471947, bug 1471948 - Enable Shadow DOM and Custom Elements in release builds, r=ehsan, emilio
--HG--
extra : rebase_source : 704b18a6795d94d47904abc9889bf98542a6261e
2018-08-16 15:30:54 +03:00
Chris Pearce
2e3c4bd9af Bug 1478208 - Implement HTMLMediaElement.allowedToPlay. r=alwu,bz
Various web authors have expressed desire to know in advance whether autoplay
will work.

They want this in order to avoid paying the price for downloading media that
won't play. Or they want to take other action such as showing a poster image
instead.

This is of particular interest to Firefox, as we're planning on showing a
prompt to ask the user whether they would like a site to play. If sites want to
determine whether they can autoplay but avoid the prompt showing, they won't be
able to just call play() in Firefox and see whether it works, as that would
likely show the prompt if the user doesn't already have a stored permission.

We've been working out a spec here:
https://github.com/whatwg/html/issues/3617#issuecomment-398613484

This implements what is the consensus to date there;
HTMLMediaElement.allowedToPlay, which returns true when a play() call would not
be blocked with NotAllowedError by autoplay blocking policies.

MozReview-Commit-ID: AkBu0G7uCJ0

--HG--
extra : rebase_source : 3f31db79aa1e570fdd9fc7062d0ddac7c96a8931
2018-07-25 14:25:17 +12:00
Hiroyuki Ikezoe
ea2e577fa3 Bug 1365045 - Introduce keywords for prefers-reduced-motion. r=heycam
https://drafts.csswg.org/mediaqueries-5/#prefers-reduced-motion

MozReview-Commit-ID: RQUo1DBR0W
2018-07-24 16:50:47 +09:00
Chris Pearce
45b80a65d1 Bug 1476853 - Set autoplay to allowed for testing purposes. r=jmaher
We're going to enable block autoplay of HTMLMediaElements by default in Nightly,
but lots of our tests assume they are allowed to playback media without requiring
user interaction. After we've enabled block autoplay that assumption won't be valid.

So configure the prefs that control block autoplay so that we allow media to
autoplay.

This means the existing tests we have don't need to be rewritten to work when
we enable block autoplay by default.

MozReview-Commit-ID: 50yydubQjkS

--HG--
extra : rebase_source : a19e6c5b60d3b89e754be786281ca3242baa3830
2018-07-19 15:46:38 +12:00
Michael Kaply
53432d4bf9 Bug 1462015 - Remove browser.search.countryCode pref. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D2187

--HG--
extra : moz-landing-system : lando
2018-07-18 13:55:16 +00:00
Kirk Steuber
da107c225e Bug 1420514 - Replace app.update.enabled with app.update.disabledForTesting in the test harness r=ato,chutten,jmaher,lina
MozReview-Commit-ID: GCGKQ5QCC7o

--HG--
extra : rebase_source : ba135c7d285987fd030fef4e18a5aa701a43cdba
extra : intermediate-source : e6c89a0ff0c7a7e7cd1c028e49660bab0416a531
extra : source : 646080a591c0d2365d6e8f4a493607fa3fff86c9
2018-05-22 09:14:19 -07:00
Erica Wright
23af908b2c Bug 1471514 - Add fxa endpoint pref for top-of-funnel metrics, and turn it off for testing. r=ursula
MozReview-Commit-ID: BLycdhPSVlk

--HG--
extra : rebase_source : f3083154cf142e871dd503cb5950afb1cecc3a89
2018-07-13 10:45:43 -04:00
Andreea Pavel
1e8d2e6f7d Backed out 7 changesets (bug 1420514) for breaking bc on different files on a CLOSED TREE
Backed out changeset 5a46a221b6e8 (bug 1420514)
Backed out changeset 48ed6dfe8772 (bug 1420514)
Backed out changeset 01bf643c77e5 (bug 1420514)
Backed out changeset 5791b17ccb82 (bug 1420514)
Backed out changeset 416e398d942f (bug 1420514)
Backed out changeset de4a4592dbd9 (bug 1420514)
Backed out changeset d3399edf0197 (bug 1420514)
2018-07-12 21:22:32 +03:00
Kirk Steuber
35d8c30dbb Bug 1420514 - Replace app.update.enabled with app.update.disabledForTesting in the test harness r=ato,chutten,jmaher,lina
MozReview-Commit-ID: GCGKQ5QCC7o

--HG--
extra : rebase_source : e38cf587711192c3020cd9ac6a39cdbd97d2600b
extra : source : 646080a591c0d2365d6e8f4a493607fa3fff86c9
2018-05-22 09:14:19 -07:00
Mathieu Leplatre
4300c52ada Bug 1458917 - Register dedicated timer for Remote Settings r=Gijs
MozReview-Commit-ID: K5Rf1McJUHy

--HG--
extra : rebase_source : f6932e5c3014ce0bb8e29e08468e4e533130273e
2018-06-14 20:54:19 +02:00