diff options
-rw-r--r-- | components/script/dom/performance.rs | 8 | ||||
-rw-r--r-- | tests/wpt/metadata/performance-timeline/po-disconnect.any.js.ini | 11 |
2 files changed, 0 insertions, 19 deletions
diff --git a/components/script/dom/performance.rs b/components/script/dom/performance.rs index 3ff1d32b5d6..4a9a9672b4e 100644 --- a/components/script/dom/performance.rs +++ b/components/script/dom/performance.rs @@ -184,14 +184,6 @@ impl Performance { None => return, }; - if self.pending_notification_observers_task.get() { - if let Some(o) = observers.iter().nth(index) { - DOMPerformanceObserver::new(&self.global(), - o.observer.callback(), - o.observer.entries()).notify(); - } - } - observers.remove(index); } diff --git a/tests/wpt/metadata/performance-timeline/po-disconnect.any.js.ini b/tests/wpt/metadata/performance-timeline/po-disconnect.any.js.ini deleted file mode 100644 index c8809176a86..00000000000 --- a/tests/wpt/metadata/performance-timeline/po-disconnect.any.js.ini +++ /dev/null @@ -1,11 +0,0 @@ -[po-disconnect.any.html] - type: testharness - [An observer disconnected after a mark must not have its callback invoked] - expected: FAIL - - -[po-disconnect.any.worker.html] - type: testharness - [An observer disconnected after a mark must not have its callback invoked] - expected: FAIL - |