Bug 1518999 - Change the status of paint timing WPT tests r=mstange

In this patch, we changed a lot of tests from PRECONDITION_FAILED to
timeout because we added the PerformancePaintTiming API so the
precodition is no longer failed. TIMEOUT is required because
these tests expect two performance paint entries, but we only
support one of them.

Depends on D68645

Differential Revision: https://phabricator.services.mozilla.com/D68646
This commit is contained in:
Sean Feng 2020-10-27 16:13:21 +00:00
Родитель 37a638e521
Коммит 11923abf6d
16 изменённых файлов: 25 добавлений и 54 удалений

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

@ -1,28 +0,0 @@
[idlharness.window.html]
[PerformancePaintTiming interface: existence and properties of interface object]
expected: FAIL
[PerformancePaintTiming must be primary interface of paintTiming]
expected: FAIL
[PerformancePaintTiming interface object length]
expected: FAIL
[idl_test setup]
expected: FAIL
[PerformancePaintTiming interface object name]
expected: FAIL
[PerformancePaintTiming interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[PerformancePaintTiming interface: existence and properties of interface prototype object]
expected: FAIL
[Stringification of paintTiming]
expected: FAIL
[PerformancePaintTiming interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL

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

@ -1,5 +0,0 @@
[input-text.html]
expected: TIMEOUT
[Text from a form control triggers First Contentful Paint.]
expected: TIMEOUT

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

@ -1,8 +0,0 @@
[supported-paint-type.window.html]
expected: TIMEOUT
['paint' entries should be observable.]
expected: TIMEOUT
[supportedEntryTypes contains 'paint'.]
expected: FAIL

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

@ -1,4 +1,5 @@
[basetest.html]
expected: TIMEOUT
[Basic test to check existence of FP and FCP.]
expected: FAIL
expected: TIMEOUT # Expect timeout because we don't have FP

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

@ -1,4 +1,5 @@
[buffered-flag.window.html]
expected: TIMEOUT
[PerformanceObserver with buffered flag sees previous paint entries.]
expected: FAIL
expected: TIMEOUT # Expect timeout because we don't have FP

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

@ -1,4 +1,5 @@
[child-painting-first-image.html]
expected: TIMEOUT
[Parent frame ignores paint-timing events fired from child image rendering.]
expected: FAIL
expected: TIMEOUT # Expect timeout because we don't have FP

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

@ -1,4 +1,5 @@
[first-contentful-bg-image.html]
expected: TIMEOUT
[First contentful paint fires due to background image render.]
expected: FAIL
expected: TIMEOUT # Expect timeout because we don't have FP

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

@ -1,4 +1,5 @@
[first-contentful-canvas.html]
expected: TIMEOUT
[First contentful paint fires due to canvas render.]
expected: FAIL
expected: TIMEOUT # Expect timeout because we don't have FP

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

@ -1,4 +1,4 @@
[first-contentful-image.html]
[First contentful paint fires due to image render.]
expected: FAIL
expected: TIMEOUT # Expect timeout because we don't have FP

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

@ -1,4 +1,5 @@
[first-contentful-paint.html]
expected: TIMEOUT
[First Paint triggered by non-contentful paint. Image load triggers First Contentful Paint.]
expected: FAIL
expected: TIMEOUT # Expect timeout because we don't have FP

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

@ -1,4 +1,5 @@
[first-contentful-svg.html]
expected: TIMEOUT
[First contentful paint fires due to svg.]
expected: FAIL
expected: TIMEOUT # Expect timeout because we don't have FP

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

@ -1,4 +1,5 @@
[first-image-child.html]
expected: TIMEOUT
[Child iframe ignores paint-timing events fired from parent image rendering.]
expected: FAIL
expected: TIMEOUT # Expect timeout because we don't have FP

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

@ -1,4 +1,5 @@
[first-paint-bg-color.html]
expected: TIMEOUT
[First paint fires due to background color. No FCP]
expected: FAIL
expected: TIMEOUT # Expect timeout because we don't have FP

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

@ -1,4 +1,5 @@
[first-paint-only.html]
expected: TIMEOUT
[Performance first paint timing entry exists. No first contentful paint.]
expected: FAIL
expected: TIMEOUT # Expect timeout because we don't have FP

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

@ -1,4 +1,5 @@
[paint-visited.html]
expected: TIMEOUT
[Visited-attack test to check existence of FP and FCP.]
expected: FAIL
expected: TIMEOUT # Expect timeout because we don't have FP

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

@ -1,4 +1,5 @@
[sibling-painting-first-image.html]
expected: TIMEOUT
[Frame ignores paint-timing events fired from sibling frame.]
expected: FAIL
expected: TIMEOUT # Expect timeout because we don't have FP