Implement performance interface extension for PerformanceResourceTiming

This commit is contained in:
adit 2019-01-04 00:39:01 +05:30
parent de09c8fb6e
commit 3ca82471c8
21 changed files with 122 additions and 73 deletions

View file

@ -1,5 +1,5 @@
[buffer-full-add-after-full-event.html]
expected: ERROR
expected: TIMEOUT
[Test that entry was added to the buffer after a buffer full event]
expected: FAIL
expected: TIMEOUT

View file

@ -1,5 +1,5 @@
[buffer-full-add-entries-during-callback-that-drop.html]
expected: ERROR
expected: TIMEOUT
[Test that entries synchronously added to the buffer during the callback are dropped]
expected: TIMEOUT

View file

@ -1,5 +1,5 @@
[buffer-full-add-entries-during-callback.html]
expected: ERROR
expected: TIMEOUT
[Test that entries synchronously added to the buffer during the callback don't get dropped if the buffer is increased]
expected: TIMEOUT

View file

@ -1,5 +1,4 @@
[buffer-full-add-then-clear.html]
expected: ERROR
[Test that if the buffer is cleared after entries were added to the secondary buffer, those entries make it into the primary one]
expected: FAIL

View file

@ -1,5 +1,5 @@
[buffer-full-decrease-buffer-during-callback.html]
expected: ERROR
expected: TIMEOUT
[Test that decreasing the buffer limit during the callback does not drop entries]
expected: TIMEOUT

View file

@ -1,5 +1,5 @@
[buffer-full-increase-buffer-during-callback.html]
expected: ERROR
expected: TIMEOUT
[Test that increasing the buffer during the callback is enough for entries not to be dropped]
expected: TIMEOUT

View file

@ -1,5 +1,5 @@
[buffer-full-inspect-buffer-during-callback.html]
expected: ERROR
expected: TIMEOUT
[Test that entries in the secondary buffer are not exposed during the callback and before they are copied to the primary buffer]
expected: TIMEOUT

View file

@ -1,5 +1,5 @@
[buffer-full-set-to-current-buffer.html]
expected: ERROR
expected: TIMEOUT
[Test that entries added and event firing happened in the right sequence]
expected: TIMEOUT

View file

@ -1,5 +1,5 @@
[buffer-full-store-and-clear-during-callback.html]
expected: ERROR
expected: TIMEOUT
[Test that entries overflowing the buffer trigger the buffer full event, can be stored, and find themselves in the primary buffer after it's cleared.]
expected: TIMEOUT

View file

@ -1,5 +1,4 @@
[buffer-full-then-increased.html]
expected: ERROR
[Test that overflowing the buffer and immediately increasing its limit does not trigger the resourcetimingbufferfull event]
expected: FAIL

View file

@ -1,5 +1,5 @@
[buffer-full-when-populate-entries.html]
expected: ERROR
expected: TIMEOUT
[Test that a buffer full event does not bubble and that resourcetimingbufferfull is called only once per overflow]
expected: TIMEOUT

View file

@ -1,5 +1,4 @@
[clear_resource_timing_functionality.html]
expected: ERROR
[4 resource timing entries should be stored in this page.]
expected: FAIL

View file

@ -38,15 +38,9 @@
[PerformanceResourceTiming interface: attribute responseEnd]
expected: FAIL
[Performance interface: operation setResourceTimingBufferSize(unsigned long)]
expected: FAIL
[PerformanceResourceTiming interface: attribute secureConnectionStart]
expected: FAIL
[Performance interface: calling setResourceTimingBufferSize(unsigned long) on performance with too few arguments must throw TypeError]
expected: FAIL
[PerformanceResourceTiming interface: attribute fetchStart]
expected: FAIL
@ -71,21 +65,9 @@
[PerformanceResourceTiming interface: attribute connectStart]
expected: FAIL
[Performance interface: operation clearResourceTimings()]
expected: FAIL
[PerformanceResourceTiming interface: resource must inherit property "responseEnd" with the proper type]
expected: FAIL
[Performance interface: performance must inherit property "onresourcetimingbufferfull" with the proper type]
expected: FAIL
[Performance interface: performance must inherit property "setResourceTimingBufferSize(unsigned long)" with the proper type]
expected: FAIL
[Performance interface: attribute onresourcetimingbufferfull]
expected: FAIL
[PerformanceResourceTiming interface: attribute connectEnd]
expected: FAIL
@ -98,9 +80,6 @@
[PerformanceResourceTiming interface: resource must inherit property "domainLookupEnd" with the proper type]
expected: FAIL
[Performance interface: performance must inherit property "clearResourceTimings()" with the proper type]
expected: FAIL
[PerformanceResourceTiming interface: attribute domainLookupEnd]
expected: FAIL
@ -193,15 +172,9 @@
[PerformanceResourceTiming interface: attribute responseEnd]
expected: FAIL
[Performance interface: operation setResourceTimingBufferSize(unsigned long)]
expected: FAIL
[PerformanceResourceTiming interface: attribute secureConnectionStart]
expected: FAIL
[Performance interface: calling setResourceTimingBufferSize(unsigned long) on performance with too few arguments must throw TypeError]
expected: FAIL
[PerformanceResourceTiming interface: attribute fetchStart]
expected: FAIL
@ -214,27 +187,12 @@
[PerformanceResourceTiming interface: attribute connectStart]
expected: FAIL
[Performance interface: operation clearResourceTimings()]
expected: FAIL
[Performance interface: performance must inherit property "onresourcetimingbufferfull" with the proper type]
expected: FAIL
[Performance interface: performance must inherit property "setResourceTimingBufferSize(unsigned long)" with the proper type]
expected: FAIL
[Performance interface: attribute onresourcetimingbufferfull]
expected: FAIL
[PerformanceResourceTiming interface: attribute connectEnd]
expected: FAIL
[PerformanceResourceTiming interface: attribute redirectEnd]
expected: FAIL
[Performance interface: performance must inherit property "clearResourceTimings()" with the proper type]
expected: FAIL
[PerformanceResourceTiming interface: attribute domainLookupEnd]
expected: FAIL

View file

@ -1,5 +1,4 @@
[resource_memory_cached.sub.html]
expected: ERROR
[http://web-platform.test:8000/resource-timing/resources/blue.png?id=cached is expected to be in the Resource Timing buffer]
expected: FAIL

View file

@ -1,13 +1,14 @@
[resource_subframe_self_navigation.html]
expected: TIMEOUT
[Subsequent <iframe> navigations don't appear in the resource-timing buffer.]
expected: FAIL
expected: TIMEOUT
[Subsequent <frame> navigations don't appear in the resource-timing buffer.]
expected: FAIL
expected: NOTRUN
[Subsequent <embed> navigations don't appear in the resource-timing buffer.]
expected: FAIL
expected: NOTRUN
[Subsequent <object> navigations don't appear in the resource-timing buffer.]
expected: FAIL
expected: NOTRUN

View file

@ -1,7 +1,8 @@
[resource_timing.worker.html]
expected: TIMEOUT
[Performance Resouce Entries in workers]
expected: FAIL
[Performance Resource Entries in workers]
expected: FAIL
expected: TIMEOUT

View file

@ -1,5 +0,0 @@
[resource_timing_buffer_full_eventually.html]
expected: TIMEOUT
[Finite resource timing entries buffer size]
expected: TIMEOUT

View file

@ -12,12 +12,6 @@
[Resource timing seems to work in workers]
expected: FAIL
[performance.clearResourceTimings in workers]
expected: FAIL
[performance.setResourceTimingBufferSize in workers]
expected: FAIL
[performance.timing is not available in workers]
expected: FAIL