Bug 1425458 - Resource timing entries Workers - part 11 - WPT, r=me CLOSED TREE
☠☠ backed out by e0c276b06c0d ☠ ☠
authorAndrea Marchesini <amarchesini@mozilla.com>
Wed, 24 Jan 2018 18:52:18 +0100
changeset 400605 11997de13778ea5d5e94d1bf9c06af7f9725bdc4
parent 400604 27dc825e05aa08f9dce50a30a24476a903d97e09
child 400606 e0c276b06c0dfbcbd3ebb29ae89b58c3fb526308
push id99197
push useramarchesini@mozilla.com
push dateWed, 24 Jan 2018 17:53:31 +0000
treeherdermozilla-inbound@11997de13778 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1425458
milestone60.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 1425458 - Resource timing entries Workers - part 11 - WPT, r=me CLOSED TREE
dom/performance/PerformanceStorageWorker.cpp
testing/web-platform/meta/performance-timeline/case-sensitivity.any.js.ini
--- a/dom/performance/PerformanceStorageWorker.cpp
+++ b/dom/performance/PerformanceStorageWorker.cpp
@@ -55,16 +55,26 @@ public:
   }
 
   nsresult
   Cancel() override
   {
     mStorage->ShutdownOnWorker();
     return WorkerRunnable::Cancel();
   }
+
+  bool
+  PreDispatch(WorkerPrivate* aWorkerPrivate) override
+  {
+    return true;
+  }
+
+  void
+  PostDispatch(WorkerPrivate* aWorkerPrivate, bool aDispatchResult) override
+  {}
 };
 
 // Here we use control runnable because this code must be executed also when in
 // a sync event loop
 class PerformanceEntryAdder final : public WorkerControlRunnable
 {
 public:
   PerformanceEntryAdder(WorkerPrivate* aWorkerPrivate,
@@ -84,16 +94,26 @@ public:
 
   nsresult
   Cancel() override
   {
     mStorage->ShutdownOnWorker();
     return WorkerRunnable::Cancel();
   }
 
+  bool
+  PreDispatch(WorkerPrivate* aWorkerPrivate) override
+  {
+    return true;
+  }
+
+  void
+  PostDispatch(WorkerPrivate* aWorkerPrivate, bool aDispatchResult) override
+  {}
+
 private:
   RefPtr<PerformanceStorageWorker> mStorage;
   UniquePtr<PerformanceProxyData> mData;
 };
 
 class PerformanceStorageWorkerHolder final : public WorkerHolder
 {
   RefPtr<PerformanceStorageWorker> mStorage;
deleted file mode 100644
--- a/testing/web-platform/meta/performance-timeline/case-sensitivity.any.js.ini
+++ /dev/null
@@ -1,9 +0,0 @@
-[case-sensitivity.any.worker.html]
-  [getEntriesByType values are case sensitive]
-    expected: FAIL
-
-  [getEntriesByName values are case sensitive]
-    expected: FAIL
-
-
-[case-sensitivity.any.html]