Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(100)

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/webvr/idlharness.html

Issue 2736593002: Update API to latest spec : Remove VRFrameData#timestamp (Closed)
Patch Set: modify mock-vr-service.js Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <meta charset=utf-8> 4 <meta charset=utf-8>
5 <title>WebVR IDL test</title> 5 <title>WebVR IDL test</title>
6 <link rel="help" href="https://w3c.github.io/webvr/"> 6 <link rel="help" href="https://w3c.github.io/webvr/">
7 7
8 <script src=/resources/testharness.js></script> 8 <script src=/resources/testharness.js></script>
9 <script src=/resources/testharnessreport.js></script> 9 <script src=/resources/testharnessreport.js></script>
10 <script src=/resources/WebIDLParser.js></script> 10 <script src=/resources/WebIDLParser.js></script>
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 readonly attribute Float32Array? linearVelocity; 167 readonly attribute Float32Array? linearVelocity;
168 readonly attribute Float32Array? linearAcceleration; 168 readonly attribute Float32Array? linearAcceleration;
169 169
170 readonly attribute Float32Array? orientation; 170 readonly attribute Float32Array? orientation;
171 readonly attribute Float32Array? angularVelocity; 171 readonly attribute Float32Array? angularVelocity;
172 readonly attribute Float32Array? angularAcceleration; 172 readonly attribute Float32Array? angularAcceleration;
173 }; 173 };
174 174
175 [Constructor] 175 [Constructor]
176 interface VRFrameData { 176 interface VRFrameData {
177 readonly attribute DOMHighResTimeStamp timestamp;
178
179 readonly attribute Float32Array leftProjectionMatrix; 177 readonly attribute Float32Array leftProjectionMatrix;
180 readonly attribute Float32Array leftViewMatrix; 178 readonly attribute Float32Array leftViewMatrix;
181 179
182 readonly attribute Float32Array rightProjectionMatrix; 180 readonly attribute Float32Array rightProjectionMatrix;
183 readonly attribute Float32Array rightViewMatrix; 181 readonly attribute Float32Array rightViewMatrix;
184 182
185 readonly attribute VRPose pose; 183 readonly attribute VRPose pose;
186 }; 184 };
187 185
188 interface VREyeParameters { 186 interface VREyeParameters {
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 idl_array.add_untested_idls("interface Gamepad {};"); 261 idl_array.add_untested_idls("interface Gamepad {};");
264 262
265 idl_array.add_idls(document.getElementById("webvr_idl").textContent); 263 idl_array.add_idls(document.getElementById("webvr_idl").textContent);
266 264
267 idl_array.test(); 265 idl_array.test();
268 done(); 266 done();
269 }, {explicit_done: true}); 267 }, {explicit_done: true});
270 </script> 268 </script>
271 </body> 269 </body>
272 </html> 270 </html>
OLDNEW
« no previous file with comments | « device/vr/vr_service.mojom ('k') | third_party/WebKit/LayoutTests/external/wpt/webvr/idlharness-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698