Index: LayoutTests/fast/dom/Window/resources/window-property-collector.js |
diff --git a/LayoutTests/fast/dom/Window/resources/window-property-collector.js b/LayoutTests/fast/dom/Window/resources/window-property-collector.js |
index efb5b21ef03de39a831412204c6bdeee3bcbe9f2..1bdbce2de7a24a485c44327a1474a627593cecb3 100644 |
--- a/LayoutTests/fast/dom/Window/resources/window-property-collector.js |
+++ b/LayoutTests/fast/dom/Window/resources/window-property-collector.js |
@@ -35,7 +35,7 @@ function emitExpectedResult(path, expected) |
if (path[path.length - 1].toUpperCase() == path[path.length - 1]) |
return; |
- // Various special cases... |
+ // Various special cases for legacy reasons. Please do not add entries to this list. |
var propertyPath = path.join('.'); |
switch (propertyPath) { |
case "location.href": |
@@ -60,18 +60,6 @@ function emitExpectedResult(path, expected) |
case "navigator.vendor": |
expected = "window." + propertyPath; |
break; |
- case "navigator.battery.charging": |
- expected = "true"; |
- break; |
- case "navigator.battery.chargingTime": |
- expected = "Infinity"; |
- break; |
- case "navigator.battery.dischargingTime": |
- expected = "Infinity"; |
- break; |
- case "navigator.battery.level": |
- expected = "1"; |
- break; |
} |
insertExpectedResult(path, expected); |