Commit ff7fbae2 authored by James Graham's avatar James Graham
Browse files

Bug 1745199 - Update layer-rules-cssom and layer-statement-before-import...

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

Differential Revision: https://phabricator.services.mozilla.com/D134283
parent 5f1cd5cf
Loading
Loading
Loading
Loading
+24 −0
Original line number Diff line number Diff line
[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
+16 −0
Original line number Diff line number Diff line
@@ -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]