зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1690898 - Add a mozinfo entry for nnt, and update WPT test expectations. r=jgraham
Other platforms are going to need more annotations, so this allows us to update one line while rolling out the feature, rather than updating a bunch of test expectations. Also should be clearer. Let me know if there are better ways to do this. Differential Revision: https://phabricator.services.mozilla.com/D104102
This commit is contained in:
Родитель
cefacad6f0
Коммит
34a6457e63
|
@ -10496,6 +10496,9 @@
|
|||
#---------------------------------------------------------------------------
|
||||
|
||||
# Global user preference for disabling native theme in content processes.
|
||||
#
|
||||
# NOTE(emilio): When changing this make sure to update the non_native_theme
|
||||
# entry in python/mozbuild/mozbuild/mozinfo.py
|
||||
- name: widget.disable-native-theme-for-content
|
||||
type: RelaxedAtomicBool
|
||||
#if defined(XP_LINUX) && defined(NIGHTLY_BUILD) && !defined(ANDROID)
|
||||
|
|
|
@ -96,6 +96,7 @@ def build_dict(config, env=os.environ):
|
|||
d["artifact"] = substs.get("MOZ_ARTIFACT_BUILDS") == "1"
|
||||
d["ccov"] = substs.get("MOZ_CODE_COVERAGE") == "1"
|
||||
d["cc_type"] = substs.get("CC_TYPE")
|
||||
d["non_native_theme"] = d["os"] == "linux" and d["nightly_build"]
|
||||
|
||||
def guess_platform():
|
||||
if d["buildapp"] == "browser":
|
||||
|
|
|
@ -1,9 +1,5 @@
|
|||
[Event-dispatch-redispatch.html]
|
||||
[Redispatching mouseup event whose default action dispatches a click event]
|
||||
expected:
|
||||
if os == "mac": PASS
|
||||
if os == "android": PASS
|
||||
if (os == "linux") and release_or_beta: FAIL
|
||||
if os == "linux": PASS
|
||||
FAIL
|
||||
|
||||
if (os == "linux") and not non_native_theme: FAIL
|
||||
if os == "windows": FAIL
|
||||
|
|
|
@ -1,24 +1,24 @@
|
|||
[baseline-alignment-and-overflow.tentative.html]
|
||||
[<input type="file" style="overflow: visible; appearance: auto;">]
|
||||
expected:
|
||||
if (os == "linux") and release_or_beta: FAIL
|
||||
if (os == "linux") and not non_native_theme: FAIL
|
||||
|
||||
[<input type="file" style="overflow: scroll; appearance: auto;">]
|
||||
expected:
|
||||
if (os == "linux") and release_or_beta: FAIL
|
||||
if (os == "linux") and not non_native_theme: FAIL
|
||||
|
||||
[<input type="file" style="overflow: visible; appearance: none;">]
|
||||
expected:
|
||||
if (os == "linux") and release_or_beta: FAIL
|
||||
if (os == "linux") and not non_native_theme: FAIL
|
||||
|
||||
[<input type="file" style="overflow: hidden; appearance: none;">]
|
||||
expected:
|
||||
if (os == "linux") and release_or_beta: FAIL
|
||||
if (os == "linux") and not non_native_theme: FAIL
|
||||
|
||||
[<input type="file" style="overflow: scroll; appearance: none;">]
|
||||
expected:
|
||||
if (os == "linux") and release_or_beta: FAIL
|
||||
if (os == "linux") and not non_native_theme: FAIL
|
||||
|
||||
[<input type="file" style="overflow: hidden; appearance: auto;">]
|
||||
expected:
|
||||
if (os == "linux") and release_or_beta: FAIL
|
||||
if (os == "linux") and not non_native_theme: FAIL
|
||||
|
|
Загрузка…
Ссылка в новой задаче