summaryrefslogtreecommitdiff
path: root/dom/performance/PerformanceWorker.h
diff options
context:
space:
mode:
authorBrian Smith <brian@dbsoft.org>2023-10-20 04:21:49 -0500
committerBrian Smith <brian@dbsoft.org>2023-10-20 04:21:49 -0500
commit398486a64bdd0c3ae7df24719dd434d13e58895a (patch)
treec2c2e3bdca870d73c46877c694511d822b333f2c /dom/performance/PerformanceWorker.h
parent6076431d7c6541cd285a24a34a8bd8f2f554cfb9 (diff)
downloaduxp-398486a64bdd0c3ae7df24719dd434d13e58895a.tar.gz
Issue #2282 - Align the Performance Observer navigation and resource with the spec.
This now passes the conformance tests. https://bugzilla.mozilla.org/show_bug.cgi?id=1425458 Resource timing entries Workers - part 2 - PerformanceTimingData. https://bugzilla.mozilla.org/show_bug.cgi?id=1462605 PerformanceNavigationTiming.name must be the value of the address of the current document. https://bugzilla.mozilla.org/show_bug.cgi?id=1462883 Update PerformanceTimingData::mReportCrossOriginRedirect in SetPropertiesFromHttpChannel. https://bugzilla.mozilla.org/show_bug.cgi?id=1462879 PerformanceNavigationTiming must be notified correctly - part 1 - notify.
Diffstat (limited to 'dom/performance/PerformanceWorker.h')
-rw-r--r--dom/performance/PerformanceWorker.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/dom/performance/PerformanceWorker.h b/dom/performance/PerformanceWorker.h
index 3604e6874f..cdd3a521dd 100644
--- a/dom/performance/PerformanceWorker.h
+++ b/dom/performance/PerformanceWorker.h
@@ -62,6 +62,11 @@ public:
return nullptr;
}
+ void QueueNavigationTimingEntry() override
+ {
+ MOZ_CRASH("This should not be called on workers.");
+ }
+
protected:
~PerformanceWorker();