summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/user-timing/resources/webperftestharness.js
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/user-timing/resources/webperftestharness.js')
-rw-r--r--testing/web-platform/tests/user-timing/resources/webperftestharness.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/web-platform/tests/user-timing/resources/webperftestharness.js b/testing/web-platform/tests/user-timing/resources/webperftestharness.js
index 750946dde..f1597bbe7 100644
--- a/testing/web-platform/tests/user-timing/resources/webperftestharness.js
+++ b/testing/web-platform/tests/user-timing/resources/webperftestharness.js
@@ -12,7 +12,7 @@ policies and contribution forms [3].
// Helper Functions for NavigationTiming W3C tests
//
-var performanceNamespace = window.performance;
+var performanceNamespace = self.performance;
var timingAttributes = [
'connectEnd',
'connectStart',