What directory name should we use? I see the draft CL uses "webvr," which makes sense but does not match the source directory third_party/WebKit/Source/modules/vr/. Unless we plan to change the latter, I think the tests should match it.
I'm going to go ahead and close this, as we have a good amount of layout test coverage here https://cs.chromium.org/chromium/src/third_party/WebKit/LayoutTests/vr/. We also have the IDL test in external/wpt/webvr/.
We're currently missing coverage of WebVR functions that make use of getPose (such as getFrameData), as calls to it hang indefinitely when run in layout tests. bajones@ thinks is due to the Mojo mocking not liking that it's declared as synchronous (it's the only function in the API that is synchronous). I'll see if Michael's patch to make it asynchronous on the back end fixes it, although I think that code would never be reached since we're mocking anyways.
We'll add more layout tests as the spec changes.
Comment 1 by ddorwin@chromium.org
, Dec 18 2016