Index: modules/geolocation/PositionOptions.idl |
diff --git a/core/frame/NavigatorCPU.idl b/modules/geolocation/PositionOptions.idl |
similarity index 51% |
copy from core/frame/NavigatorCPU.idl |
copy to modules/geolocation/PositionOptions.idl |
index 8ec502c58fcc58b61fca0728c16f90bbf480196a..693a2dfdced2bff56f9efc2239d71534a852e161 100644 |
--- a/core/frame/NavigatorCPU.idl |
+++ b/modules/geolocation/PositionOptions.idl |
@@ -2,8 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-[ |
- NoInterfaceObject, |
-] interface NavigatorCPU { |
- readonly attribute unsigned long hardwareConcurrency; |
+dictionary PositionOptions { |
+ boolean enableHighAccuracy = false; |
+ [Clamp] unsigned long timeout = 0xFFFFFFFF; |
+ [Clamp] unsigned long maximumAge = 0; |
}; |