| Index: LayoutTests/batterystatus/script-tests/basic-operation.js
|
| diff --git a/LayoutTests/batterystatus/script-tests/basic-operation.js b/LayoutTests/batterystatus/script-tests/basic-operation.js
|
| deleted file mode 100644
|
| index 615f854a0662a8d64245aa330ba940d670cf4563..0000000000000000000000000000000000000000
|
| --- a/LayoutTests/batterystatus/script-tests/basic-operation.js
|
| +++ /dev/null
|
| @@ -1,19 +0,0 @@
|
| -description('Tests the basic operation of BatteryStatus.');
|
| -
|
| -var charging = false;
|
| -var chargingTime = Number.POSITIVE_INFINITY;
|
| -var dischargingTime = 6000;
|
| -var level = 0.7;
|
| -
|
| -var battery = navigator.webkitBattery;
|
| -
|
| -battery.addEventListener('chargingchange', function() {
|
| - shouldBe("battery.charging", "false");
|
| - shouldBe("battery.chargingTime", "Infinity");
|
| - shouldBe("battery.dischargingTime", "6000");
|
| - shouldBe("battery.level", "0.7");
|
| - finishJSTest();
|
| -});
|
| -
|
| -internals.setBatteryStatus(document, 'chargingchange', charging, chargingTime, dischargingTime, level);
|
| -window.jsTestIsAsync = true;
|
|
|