summaryrefslogtreecommitdiffstats
path: root/dom/performance/tests
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-03-17 13:35:25 +0100
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-03-17 13:35:25 +0100
commita10b23932cd567324b7e1071f3ddc4c46a8270d8 (patch)
tree5c299765112a1c41800b08a93f9cc875764fdf4c /dom/performance/tests
parenta24511ca8e19afe4d19008ba903e1edab0af3223 (diff)
downloadUXP-a10b23932cd567324b7e1071f3ddc4c46a8270d8.tar
UXP-a10b23932cd567324b7e1071f3ddc4c46a8270d8.tar.gz
UXP-a10b23932cd567324b7e1071f3ddc4c46a8270d8.tar.lz
UXP-a10b23932cd567324b7e1071f3ddc4c46a8270d8.tar.xz
UXP-a10b23932cd567324b7e1071f3ddc4c46a8270d8.zip
Set "secureConnectionStart" to 0 for pages with HTTP scheme
Issue #67
Diffstat (limited to 'dom/performance/tests')
-rw-r--r--dom/performance/tests/test_performance_user_timing.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/performance/tests/test_performance_user_timing.js b/dom/performance/tests/test_performance_user_timing.js
index 3d05ebb77..cd8261bbd 100644
--- a/dom/performance/tests/test_performance_user_timing.js
+++ b/dom/performance/tests/test_performance_user_timing.js
@@ -263,7 +263,7 @@ var steps = [
performance.measure("test", n);
ok(true, "Measure created from reserved name as starting time: " + n);
} catch (e) {
- ok(["redirectStart", "redirectEnd", "unloadEventStart", "unloadEventEnd", "loadEventEnd"].indexOf(n) >= 0,
+ ok(["redirectStart", "redirectEnd", "unloadEventStart", "unloadEventEnd", "loadEventEnd", "secureConnectionStart"].indexOf(n) >= 0,
"Measure created from reserved name as starting time: " + n + " and threw expected error");
}
};