Bug 1547087 - Fix arguments to PerformanceObserver.observe in wpt test
authorWill Hawkins <whawkins@mozilla.com>
Thu, 25 Apr 2019 23:50:48 +0000
changeset 530215 719a4a6e31b29456e691a08c263fedeae81ab166
parent 530214 1a704e5e6a3c34f12e4a4ae8f9f02777923e6637
child 530216 41ee8dc862a966e71ab23a2b3ab59c72b2fc21c9
push id11265
push userffxbld-merge
push dateMon, 13 May 2019 10:53:39 +0000
treeherdermozilla-beta@77e0fe8dbdd3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1547087
milestone68.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1547087 - Fix arguments to PerformanceObserver.observe in wpt test Per https://w3c.github.io/performance-timeline/#observe-method passing both entryTypes and buffer should result in a SyntaxError and the test seems to be intending to pass entryTypes only' Differential Revision: https://phabricator.services.mozilla.com/D28926
testing/web-platform/meta/performance-timeline/po-observe.html.ini
testing/web-platform/tests/performance-timeline/po-observe.html
deleted file mode 100644
--- a/testing/web-platform/meta/performance-timeline/po-observe.html.ini
+++ /dev/null
@@ -1,4 +0,0 @@
-[po-observe.html]
-  expected: ERROR
-  [PerformanceObserverInit.buffered should retrieve previously buffered entries]
-    expected: TIMEOUT
--- a/testing/web-platform/tests/performance-timeline/po-observe.html
+++ b/testing/web-platform/tests/performance-timeline/po-observe.html
@@ -46,17 +46,16 @@ PerformanceObserverInit.buffered should 
         if (entryList.getEntries().find(function(entry) {
           return !shouldExclude(entry);
         })) {
           assert_unreached("this PerformanceObserver callback should never be called");
         }
       });
       po_nop.observe({
         entryTypes,
-        buffered: false
       });
 
       // this PerformanceObserver should be notified about the previously
       // buffered mark entry only
       const bufferedEntries = [];
       new PerformanceObserver(function (entryList, observer) {
         entryList.getEntries().forEach(function(entry) {
           if (shouldExclude(entry)) {