Tests: Create imported WPT test output from completion callback data

This allows us to disable test output, which performs expensive assert
tracking. This was making our imported tests run significantly slower
than tests run via `WPT.sh`.

Formatting the output ourselves also allows us to remove unnecessary
information from the test output.

This commit also rebaselines all existing imported WPT tests to follow
the new format.
This commit is contained in:
Tim Ledbetter
2024-12-02 18:45:22 +00:00
committed by Tim Ledbetter
parent e38b206957
commit 61ae388140
Notes: github-actions[bot] 2024-12-02 22:42:57 +00:00
1036 changed files with 17493 additions and 22639 deletions

View File

@@ -1,11 +1,6 @@
Summary
Harness status: OK
Rerun
Found 1 tests
1 Pass
Details
Result Test Name MessagePass CSS Nesting bug: Block ignored after lack of whitespace
Pass CSS Nesting bug: Block ignored after lack of whitespace

View File

@@ -1,24 +1,19 @@
Summary
Harness status: OK
Rerun
Found 13 tests
12 Pass
1 Fail
Details
Result Test Name MessagePass CSSStyleRule is a CSSGroupingRule
Pass Simple CSSOM manipulation of subrules
Pass Simple CSSOM manipulation of subrules 1
Pass Simple CSSOM manipulation of subrules 2
Pass Simple CSSOM manipulation of subrules 3
Pass Simple CSSOM manipulation of subrules 4
Pass Simple CSSOM manipulation of subrules 5
Pass Simple CSSOM manipulation of subrules 6
Pass Simple CSSOM manipulation of subrules 7
Fail Simple CSSOM manipulation of subrules 8
Pass Simple CSSOM manipulation of subrules 9
Pass Simple CSSOM manipulation of subrules 10
Pass Mutating the selectorText of outer rule invalidates inner rules
Pass CSSStyleRule is a CSSGroupingRule
Pass Simple CSSOM manipulation of subrules
Pass Simple CSSOM manipulation of subrules 1
Pass Simple CSSOM manipulation of subrules 2
Pass Simple CSSOM manipulation of subrules 3
Pass Simple CSSOM manipulation of subrules 4
Pass Simple CSSOM manipulation of subrules 5
Pass Simple CSSOM manipulation of subrules 6
Pass Simple CSSOM manipulation of subrules 7
Fail Simple CSSOM manipulation of subrules 8
Pass Simple CSSOM manipulation of subrules 9
Pass Simple CSSOM manipulation of subrules 10
Pass Mutating the selectorText of outer rule invalidates inner rules

View File

@@ -1,12 +1,7 @@
Summary
Harness status: OK
Rerun
Found 2 tests
2 Pass
Details
Result Test Name MessagePass Unknown declaration does not consume subsequent declaration
Pass Unknown declaration with blocks does not consume subsequent declaration
Pass Unknown declaration does not consume subsequent declaration
Pass Unknown declaration with blocks does not consume subsequent declaration

View File

@@ -1,11 +1,6 @@
Summary
Harness status: OK
Rerun
Found 1 tests
1 Pass
Details
Result Test Name MessagePass Nested rule starting with tag
Pass Nested rule starting with tag

View File

@@ -1,13 +1,8 @@
Summary
Harness status: OK
Rerun
Found 2 tests
1 Pass
1 Fail
Details
Result Test Name MessagePass Simple CSSOM manipulation of subrules
Fail Simple CSSOM manipulation of subrules 1
Pass Simple CSSOM manipulation of subrules
Fail Simple CSSOM manipulation of subrules 1

View File

@@ -1,11 +1,6 @@
Summary
Harness status: OK
Rerun
Found 1 tests
1 Pass
Details
Result Test Name MessagePass CSS Selectors nested invalidation on changed parent
Pass CSS Selectors nested invalidation on changed parent

View File

@@ -1,11 +1,6 @@
Summary
Harness status: OK
Rerun
Found 1 tests
1 Pass
Details
Result Test Name MessagePass CSS Selectors nested invalidation on changed child
Pass CSS Selectors nested invalidation on changed child

View File

@@ -1,11 +1,6 @@
Summary
Harness status: OK
Rerun
Found 1 tests
1 Pass
Details
Result Test Name MessagePass CSS Selectors nested invalidation with :has()
Pass CSS Selectors nested invalidation with :has()

View File

@@ -1,11 +1,6 @@
Summary
Harness status: OK
Rerun
Found 1 tests
1 Pass
Details
Result Test Name MessagePass CSS Selectors nested invalidation through @media by selectorText
Pass CSS Selectors nested invalidation through @media by selectorText

View File

@@ -1,12 +1,7 @@
Summary
Harness status: OK
Rerun
Found 2 tests
2 Fail
Details
Result Test Name MessageFail Empty CSSNestedDeclarations do not affect outer serialization
Fail Empty CSSNestedDeclarations do not affect outer serialization (nested grouping rule)
Fail Empty CSSNestedDeclarations do not affect outer serialization
Fail Empty CSSNestedDeclarations do not affect outer serialization (nested grouping rule)

View File

@@ -1,23 +1,18 @@
Summary
Harness status: OK
Rerun
Found 12 tests
6 Pass
6 Fail
Details
Result Test Name MessageFail Trailing declarations
Fail Mixed declarations
Fail CSSNestedDeclarations.style
Pass Nested group rule
Pass Nested @scope rule
Fail Inner rule starting with an ident
Fail Inserting a CSSNestedDeclaration rule into style rule Unable to parse CSS rule.
Fail Inserting a CSSNestedDeclaration rule into nested group rule Unable to parse CSS rule.
Pass Attempting to insert a CSSNestedDeclaration rule into top-level @media rule
Pass Attempting to insert a CSSNestedDeclaration rule into a stylesheet
Pass Attempting to insert a CSSNestedDeclaration rule, empty block
Pass Attempting to insert a CSSNestedDeclaration rule, all invalid declarations
Fail Trailing declarations
Fail Mixed declarations
Fail CSSNestedDeclarations.style
Pass Nested group rule
Pass Nested @scope rule
Fail Inner rule starting with an ident
Fail Inserting a CSSNestedDeclaration rule into style rule
Fail Inserting a CSSNestedDeclaration rule into nested group rule
Pass Attempting to insert a CSSNestedDeclaration rule into top-level @media rule
Pass Attempting to insert a CSSNestedDeclaration rule into a stylesheet
Pass Attempting to insert a CSSNestedDeclaration rule, empty block
Pass Attempting to insert a CSSNestedDeclaration rule, all invalid declarations

View File

@@ -1,21 +1,16 @@
Summary
Harness status: OK
Rerun
Found 11 tests
11 Pass
Details
Result Test Name MessagePass Trailing declarations apply after any preceding rules
Pass Trailing declarations apply after any preceding rules (no leading)
Pass Trailing declarations apply after any preceding rules (multiple)
Pass Nested declarations rule has same specificity as outer selector
Pass Nested declarations rule has top-level specificity behavior
Pass Nested declarations rule has top-level specificity behavior (max matching)
Pass Bare declartaion in nested grouping rule can match pseudo-element
Pass Nested group rules have top-level specificity behavior
Pass Nested @scope rules behave like :where(:scope)
Pass Nested @scope rules behave like :where(:scope) (trailing)
Pass Nested declarations rule responds to parent selector text change
Pass Trailing declarations apply after any preceding rules
Pass Trailing declarations apply after any preceding rules (no leading)
Pass Trailing declarations apply after any preceding rules (multiple)
Pass Nested declarations rule has same specificity as outer selector
Pass Nested declarations rule has top-level specificity behavior
Pass Nested declarations rule has top-level specificity behavior (max matching)
Pass Bare declartaion in nested grouping rule can match pseudo-element
Pass Nested group rules have top-level specificity behavior
Pass Nested @scope rules behave like :where(:scope)
Pass Nested @scope rules behave like :where(:scope) (trailing)
Pass Nested declarations rule responds to parent selector text change

View File

@@ -1,11 +1,6 @@
Summary
Harness status: OK
Rerun
Found 1 tests
1 Pass
Details
Result Test Name MessagePass Nested rule responds to parent selector text change
Pass Nested rule responds to parent selector text change

View File

@@ -1,11 +1,6 @@
Summary
Harness status: OK
Rerun
Found 1 tests
1 Pass
Details
Result Test Name MessagePass @layer can be nested
Pass @layer can be nested

View File

@@ -1,42 +1,37 @@
Summary
Harness status: OK
Rerun
Found 32 tests
32 Pass
Details
Result Test Name MessagePass .foo { & { color: green; }}
Pass .foo { &.bar { color: green; }}
Pass .foo { & .bar { color: green; }}
Pass .foo { & > .bar { color: green; }}
Pass .foo { > .bar { color: green; }}
Pass .foo { > & .bar { color: green; }}
Pass .foo { + .bar & { color: green; }}
Pass .foo { + .bar, .foo, > .baz { color: green; }}
Pass .foo { .foo { color: green; }}
Pass .foo { .test > & .bar { color: green; }}
Pass .foo { .foo, .foo & { color: green; }}
Pass .foo { .foo, .bar { color: green; }}
Pass .foo { :is(.bar, .baz) { color: green; }}
Pass .foo { &:is(.bar, .baz) { color: green; }}
Pass .foo { :is(.bar, &.baz) { color: green; }}
Pass .foo { &:is(.bar, &.baz) { color: green; }}
Pass .foo { div& { color: green; }}
Pass INVALID: .foo { &div { color: green; }}
Pass .foo { .class& { color: green; }}
Pass .foo { &.class { color: green; }}
Pass .foo { [attr]& { color: green; }}
Pass .foo { &[attr] { color: green; }}
Pass .foo { #id& { color: green; }}
Pass .foo { &#id { color: green; }}
Pass .foo { :hover& { color: green; }}
Pass .foo { &:hover { color: green; }}
Pass .foo { :is(div)& { color: green; }}
Pass .foo { &:is(div) { color: green; }}
Pass .foo { & .bar & .baz & .qux { color: green; }}
Pass .foo { && { color: green; }}
Pass .foo { & > section, & > article { color: green; }}
Pass .foo, .bar { & + .baz, &.qux { color: green; }}
Pass .foo { & { color: green; }}
Pass .foo { &.bar { color: green; }}
Pass .foo { & .bar { color: green; }}
Pass .foo { & > .bar { color: green; }}
Pass .foo { > .bar { color: green; }}
Pass .foo { > & .bar { color: green; }}
Pass .foo { + .bar & { color: green; }}
Pass .foo { + .bar, .foo, > .baz { color: green; }}
Pass .foo { .foo { color: green; }}
Pass .foo { .test > & .bar { color: green; }}
Pass .foo { .foo, .foo & { color: green; }}
Pass .foo { .foo, .bar { color: green; }}
Pass .foo { :is(.bar, .baz) { color: green; }}
Pass .foo { &:is(.bar, .baz) { color: green; }}
Pass .foo { :is(.bar, &.baz) { color: green; }}
Pass .foo { &:is(.bar, &.baz) { color: green; }}
Pass .foo { div& { color: green; }}
Pass INVALID: .foo { &div { color: green; }}
Pass .foo { .class& { color: green; }}
Pass .foo { &.class { color: green; }}
Pass .foo { [attr]& { color: green; }}
Pass .foo { &[attr] { color: green; }}
Pass .foo { #id& { color: green; }}
Pass .foo { &#id { color: green; }}
Pass .foo { :hover& { color: green; }}
Pass .foo { &:hover { color: green; }}
Pass .foo { :is(div)& { color: green; }}
Pass .foo { &:is(div) { color: green; }}
Pass .foo { & .bar & .baz & .qux { color: green; }}
Pass .foo { && { color: green; }}
Pass .foo { & > section, & > article { color: green; }}
Pass .foo, .bar { & + .baz, &.qux { color: green; }}

View File

@@ -1,25 +1,20 @@
Summary
Harness status: OK
Rerun
Found 15 tests
15 Pass
Details
Result Test Name MessagePass Declarations are serialized on one line, rules on two.
Pass Mixed declarations/rules are on two lines.
Pass Implicit rule is serialized
Pass Implicit rule not removed
Pass Implicit + empty hover rule
Pass Implicit like rule not in first position
Pass Two implicit-like rules
Pass Implicit like rule after decls
Pass Implicit like rule after decls, missing closing braces
Pass Implicit like rule with other selectors
Pass Implicit-like rule in style rule
Pass Empty conditional rule
Pass Empty style rule
Pass Empty conditional inside style rule
Pass Empty style inside conditional
Pass Declarations are serialized on one line, rules on two.
Pass Mixed declarations/rules are on two lines.
Pass Implicit rule is serialized
Pass Implicit rule not removed
Pass Implicit + empty hover rule
Pass Implicit like rule not in first position
Pass Two implicit-like rules
Pass Implicit like rule after decls
Pass Implicit like rule after decls, missing closing braces
Pass Implicit like rule with other selectors
Pass Implicit-like rule in style rule
Pass Empty conditional rule
Pass Empty style rule
Pass Empty conditional inside style rule
Pass Empty style inside conditional

View File

@@ -1,12 +1,7 @@
Summary
Harness status: OK
Rerun
Found 2 tests
2 Pass
Details
Result Test Name MessagePass & as direct ancestor
Pass & matches scoped element only, not everything
Pass & as direct ancestor
Pass & matches scoped element only, not everything

View File

@@ -1,11 +1,6 @@
Summary
Harness status: OK
Rerun
Found 1 tests
1 Pass
Details
Result Test Name MessagePass CSS Nesting: Specificity of top-level '&'
Pass CSS Nesting: Specificity of top-level '&'