Performance observers better, not perfect

This commit is contained in:
Patrick Shaughnessy 2020-01-23 12:48:58 -05:00
parent d0f64d9d56
commit 6d15c0682d
14 changed files with 176 additions and 205 deletions

View file

@ -1,9 +0,0 @@
[buffered-flag-after-timeout.any.html]
[PerformanceObserver with buffered flag sees entry after timeout]
expected: FAIL
[buffered-flag-after-timeout.any.worker.html]
[PerformanceObserver with buffered flag sees entry after timeout]
expected: FAIL

View file

@ -1,9 +0,0 @@
[buffered-flag-observer.any.html]
[PerformanceObserver with buffered flag should see past and future entries.]
expected: FAIL
[buffered-flag-observer.any.worker.html]
[PerformanceObserver with buffered flag should see past and future entries.]
expected: FAIL

View file

@ -8,12 +8,6 @@
[idlharness.any.worker.html]
[PerformanceObserver interface: operation takeRecords()]
expected: FAIL
[PerformanceObserver interface: observer must inherit property "takeRecords()" with the proper type]
expected: FAIL
[Test default toJSON operation of PerformanceMark]
expected: FAIL
@ -29,20 +23,11 @@
[PerformanceMark interface object length]
expected: FAIL
[PerformanceObserver interface: operation observe(PerformanceObserverInit)]
expected: FAIL
[idlharness.any.html]
[Untitled]
expected: FAIL
[PerformanceObserver interface: operation takeRecords()]
expected: FAIL
[PerformanceObserver interface: observer must inherit property "takeRecords()" with the proper type]
expected: FAIL
[Test default toJSON operation of PerformanceMark]
expected: FAIL
@ -58,9 +43,6 @@
[PerformanceMark interface object length]
expected: FAIL
[PerformanceObserver interface: operation observe(PerformanceObserverInit)]
expected: FAIL
[idlharness.https.any.serviceworker.html]
type: testharness

View file

@ -1,11 +0,0 @@
[multiple-buffered-flag-observers.any.html]
expected: ERROR
[Multiple PerformanceObservers with buffered flag see all entries]
expected: TIMEOUT
[multiple-buffered-flag-observers.any.worker.html]
expected: ERROR
[Multiple PerformanceObservers with buffered flag see all entries]
expected: TIMEOUT

View file

@ -1,9 +0,0 @@
[observer-buffered-false.any.html]
[PerformanceObserver without buffered flag set to false cannot see past entries.]
expected: FAIL
[observer-buffered-false.any.worker.html]
[PerformanceObserver without buffered flag set to false cannot see past entries.]
expected: FAIL

View file

@ -1,11 +0,0 @@
[po-callback-mutate.any.worker.html]
type: testharness
[PerformanceObserver modifications inside callback should update filtering and not clear buffer]
expected: FAIL
[po-callback-mutate.any.html]
type: testharness
[PerformanceObserver modifications inside callback should update filtering and not clear buffer]
expected: FAIL

View file

@ -1,33 +0,0 @@
[po-observe-type.any.html]
[Calling observe() with entryTypes and then type should throw an InvalidModificationError]
expected: FAIL
[Calling observe() with type and then entryTypes should throw an InvalidModificationError]
expected: FAIL
[Calling observe() with type and entryTypes should throw a SyntaxError]
expected: FAIL
[Passing in unknown values to type does throw an exception.]
expected: FAIL
[observe() with different type values stacks.]
expected: FAIL
[po-observe-type.any.worker.html]
[Calling observe() with entryTypes and then type should throw an InvalidModificationError]
expected: FAIL
[Calling observe() with type and then entryTypes should throw an InvalidModificationError]
expected: FAIL
[Calling observe() with type and entryTypes should throw a SyntaxError]
expected: FAIL
[Passing in unknown values to type does throw an exception.]
expected: FAIL
[observe() with different type values stacks.]
expected: FAIL

View file

@ -1,41 +0,0 @@
[po-observe.any.worker.html]
type: testharness
[Empty sequence entryTypes is a no-op]
expected: FAIL
[Unknown entryTypes are no-op]
expected: FAIL
[Check observer callback parameter and this values]
expected: FAIL
[no 'type' or 'entryTypes' throws a SyntaxError]
expected: FAIL
[Empty sequence entryTypes does not throw an exception.]
expected: FAIL
[Unknown entryTypes do not throw an exception.]
expected: FAIL
[po-observe.any.html]
type: testharness
[Empty sequence entryTypes is a no-op]
expected: FAIL
[Unknown entryTypes are no-op]
expected: FAIL
[Check observer callback parameter and this values]
expected: FAIL
[no 'type' or 'entryTypes' throws a SyntaxError]
expected: FAIL
[Empty sequence entryTypes does not throw an exception.]
expected: FAIL
[Unknown entryTypes do not throw an exception.]
expected: FAIL

View file

@ -1,3 +1,5 @@
[po-observe.html]
type: testharness
expected: CRASH
expected: TIMEOUT
[PerformanceObserverInit.buffered should retrieve previously buffered entries]
expected: TIMEOUT

View file

@ -1,9 +0,0 @@
[po-takeRecords.any.worker.html]
[Test PerformanceObserver's takeRecords()]
expected: FAIL
[po-takeRecords.any.html]
[Test PerformanceObserver's takeRecords()]
expected: FAIL

View file

@ -1,11 +1,7 @@
[buffered-flag.any.worker.html]
expected: ERROR
[PerformanceObserver with buffered flag sees previous resource entries.]
expected: TIMEOUT
expected: FAIL
[buffered-flag.any.html]
expected: ERROR
[PerformanceObserver with buffered flag sees previous resource entries.]
expected: TIMEOUT
expected: FAIL