mirror of
https://github.com/servo/servo.git
synced 2025-08-12 00:45:33 +01:00
Update web-platform-tests to revision 14cfa4d648cc1c853b4153268df672d21425f8c1
This commit is contained in:
parent
1b73cf3352
commit
75736751d9
1213 changed files with 19434 additions and 12344 deletions
|
@ -15,6 +15,6 @@
|
|||
</ol>
|
||||
<script>
|
||||
|
||||
runGenericSensorInsecureContext(Accelerometer);
|
||||
runGenericSensorInsecureContext("Accelerometer");
|
||||
|
||||
</script>
|
||||
|
|
|
@ -24,6 +24,7 @@ interface EventHandler {
|
|||
[SecureContext, Exposed=Window]
|
||||
interface Sensor : EventTarget {
|
||||
readonly attribute boolean activated;
|
||||
readonly attribute boolean hasReading;
|
||||
readonly attribute DOMHighResTimeStamp? timestamp;
|
||||
void start();
|
||||
void stop();
|
||||
|
@ -34,9 +35,9 @@ interface Sensor : EventTarget {
|
|||
|
||||
[Constructor(optional SensorOptions options), Exposed=Window]
|
||||
interface Accelerometer : Sensor {
|
||||
readonly attribute unrestricted double? x;
|
||||
readonly attribute unrestricted double? y;
|
||||
readonly attribute unrestricted double? z;
|
||||
readonly attribute double? x;
|
||||
readonly attribute double? y;
|
||||
readonly attribute double? z;
|
||||
};
|
||||
|
||||
[Constructor(optional SensorOptions options), Exposed=Window]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue