Bug 1745199 - Update layer-rules-cssom and layer-statement-before-import metadata, a=testonly CLOSED TREE

Differential Revision: https://phabricator.services.mozilla.com/D134283
This commit is contained in:
James Graham 2021-12-20 13:31:54 +00:00
Родитель 5f1cd5cf21
Коммит ff7fbae22a
2 изменённых файлов: 40 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,24 @@
[layer-rules-cssom.html]
[Import into anonymous layer]
expected:
if not fission and (os == "win") and not debug: PASS
if not fission and (os == "mac"): PASS
if fission: PASS
if not fission and (os == "linux") and not debug: [FAIL, PASS]
FAIL
[Import into named layer]
expected:
if not fission and (os == "win") and not debug: PASS
if not fission and (os == "mac"): PASS
if fission: PASS
if not fission and (os == "linux") and not debug: [FAIL, PASS]
FAIL
[Import without layer]
expected:
if not fission and (os == "win") and not debug: PASS
if not fission and (os == "mac"): PASS
if fission: PASS
if not fission and (os == "linux") and not debug: [FAIL, PASS]
FAIL

Просмотреть файл

@ -6,6 +6,10 @@
if (os == "win") and debug and not fission and (processor == "x86"): [PASS, FAIL]
if (os == "linux") and swgl: [PASS, FAIL]
if os == "android": FAIL
if (os == "win") and debug and (processor == "x86_64") and not swgl: FAIL
if (os == "linux") and not fission and not swgl and debug: FAIL
if (os == "linux") and not fission and not swgl and not debug: [FAIL, PASS]
if (os == "win") and not debug and (processor == "x86"): [PASS, FAIL]
[insertRule before imports]
expected: FAIL
@ -16,6 +20,10 @@
if (os == "win") and debug and not fission and (processor == "x86"): [PASS, FAIL]
if (os == "linux") and swgl: [PASS, FAIL]
if os == "android": FAIL
if (os == "win") and debug and (processor == "x86_64") and not swgl: FAIL
if (os == "linux") and not fission and not swgl and debug: FAIL
if (os == "linux") and not fission and not swgl and not debug: [FAIL, PASS]
if (os == "win") and not debug and (processor == "x86"): [PASS, FAIL]
[insert other rules to pre-import layer statements fails]
expected: FAIL
@ -26,6 +34,10 @@
if (os == "win") and debug and not fission and (processor == "x86"): [PASS, FAIL]
if (os == "linux") and swgl: [PASS, FAIL]
if os == "android": FAIL
if (os == "linux") and not fission and not swgl and debug: FAIL
if (os == "win") and debug and (processor == "x86_64") and not swgl: FAIL
if (os == "linux") and not fission and not swgl and not debug: [FAIL, PASS]
if (os == "win") and not debug and (processor == "x86"): [PASS, FAIL]
[deleteRule after imports]
expected:
@ -33,3 +45,7 @@
if (os == "win") and debug and not fission and (processor == "x86"): [PASS, FAIL]
if (os == "linux") and swgl: [PASS, FAIL]
if os == "android": FAIL
if (os == "linux") and not fission and not swgl and debug: FAIL
if (os == "win") and debug and (processor == "x86_64") and not swgl: FAIL
if (os == "linux") and not fission and not swgl and not debug: [FAIL, PASS]
if (os == "win") and not debug and (processor == "x86"): [PASS, FAIL]