Joel Maher
042e320855
Bug 1438647 - dom/vr/test/reftest/change_size.html fails on windows 10 new hardware, adjust fuzzy-if. r=gbrown
2018-02-23 11:20:21 -05:00
Ben Kelly
75bf35692e
Bug 1440407 P2 Remove some unnecessary nsPIDOMWindowInner QI to nsIGlobalObject. r=mystor
2018-02-22 14:28:39 -08:00
Noemi Erli
52ab84dbf1
Backed out 4 changesets (bug 1381645) for failing in dom/tests/mochitest/general/test_interfaces.html on a CLOSED TREE
...
Backed out changeset 7b2482a5eb04 (bug 1381645)
Backed out changeset ef3252b0ba21 (bug 1381645)
Backed out changeset 7c022a5e28f2 (bug 1381645)
Backed out changeset 2f71c8989cc0 (bug 1381645)
2018-01-24 20:04:34 +02:00
Kearwood "Kip" Gilbert
6613a4b93e
Bug 1381645 - Part 2: Move VR tests to secure context r=daoshengmu
...
MozReview-Commit-ID: CTDnXHBuaLU
--HG--
extra : rebase_source : a5be58d0cf10c2b4d7cbda95174793439af3fc5b
2017-12-15 10:22:11 -06:00
Kearwood "Kip" Gilbert
9d0b16ffde
Bug 1402147 - Part 2: Add test to ensure vrdisplayconnect fires when a listener is added after the display is connected r=daoshengmu
...
MozReview-Commit-ID: 2LDF15LEbM2
--HG--
extra : rebase_source : ac3200ffc8b1d9eb73ba91214fe3d203f90685e5
2018-01-05 16:20:12 -08:00
Kearwood "Kip" Gilbert
b91be1697a
Bug 1402147 - Part 1: Fire VRDisplayConnect event for VR displays that are already enumerated when a page is loaded r=daoshengmu
...
MozReview-Commit-ID: 7zQOSYJ6tkg
--HG--
extra : rebase_source : e2535cb282475795a6107a002cce629049258b38
2018-01-04 14:27:03 -08:00
Kearwood "Kip" Gilbert
a617954210
Bug 1407423 - Part 5: Remove assert from test_vrController_displayId.html,r=daoshengmu
...
- The updated Puppet Display code now synthesizes puppet
displays with displayId's other than "1".
- I have removed the assert that displayId is always "1" from
the test in order to allow the test-verify to pass.
MozReview-Commit-ID: 3gngmbH9MzB
--HG--
extra : rebase_source : 2e4d9ce81130d3d8de009f6c787d7af4c7907ca0
extra : amend_source : 3ed30d118660e50677fcf5d981c10d600878c231
2017-12-04 16:57:39 -08:00
Kearwood "Kip" Gilbert
0f85da87b2
Bug 1407423 - Part 4: Disable broken mochitest on Android (To fix in Bug 1348246),r=daoshengmu
...
MozReview-Commit-ID: 2vncb5OP0po
--HG--
extra : rebase_source : 59e55c08895f66f2fca0c1e7c5e99c71f114daa5
extra : amend_source : 6084a5b988019d41ce70b2e1ddca70ab0d82dcf7
2017-11-30 14:55:14 -08:00
Kearwood Gilbert
1bed477cca
Bug 1407423 - Part 3: Update Puppet Device Implementation,r=daoshengmu
...
- Update prefs to accomodate tests, disabling
enumeration throttling
- Updated Puppet display and controller implementation
to act more like the actual devices.
- Updated tests to ensure that they explicitly
create a VR mock display and don't create duplicate
mock displays.
MozReview-Commit-ID: 6RPVqekG2je
--HG--
extra : rebase_source : 9cc9ea116114cc191edbf5a01ac8f84fff9709c4
2017-11-21 14:18:16 -08:00
Nika Layzell
f1ac9bf744
Bug 1419597 - Part 18: Remove IsInnerWindow and IsOuterWindow methods, r=smaug
...
MozReview-Commit-ID: DAAm6tLubhJ
2017-11-23 13:12:13 -05:00
Phil Ringnalda
f12ca11346
Backed out 3 changesets (bug 1407423) for Android permaorange in test_vrDisplay_getFrameData.html
...
Backed out changeset b9dbe5af9a06 (bug 1407423)
Backed out changeset 16d247b8091d (bug 1407423)
Backed out changeset 2b625d265761 (bug 1407423)
MozReview-Commit-ID: 6clRbH1Hodr
2017-11-22 18:15:10 -08:00
Kearwood Gilbert
988f5806a2
Bug 1407423 - Part 3: Update Puppet Device Implementation,r=daoshengmu
...
- Update prefs to accomodate tests, disabling
enumeration throttling
- Updated Puppet display and controller implementation
to act more like the actual devices.
- Updated tests to ensure that they explicitly
create a VR mock display and don't create duplicate
mock displays.
MozReview-Commit-ID: 6RPVqekG2je
--HG--
extra : rebase_source : b5852a17617e26ed5fd5e0df82a333213e99163b
extra : amend_source : 623b75bc096f6e50a122351a5a913cb04422d323
2017-11-21 14:18:16 -08:00
Daosheng Mu
395b4fcfac
Bug 1418879 - Refine dom/vr and gfx/vr to fit with static-analysis; r=kip
...
MozReview-Commit-ID: K1r5NgQuuPK
--HG--
extra : rebase_source : 23a7d8d1ed9d1f6caa6a160afd969d21a69b5d6e
2017-11-20 12:00:31 +08:00
Jon Coppeard
a06421a289
Bug 1417123 - Remove or replace inclusion of js/GCAPI.h r=mccr8
2017-11-16 12:21:08 +00:00
Daosheng Mu
11ecbe54cb
Bug 1411838 - Part 1: Enable WebVR reftest for Windows debug; r=kip
...
MozReview-Commit-ID: A8drAvmATUZ
--HG--
extra : rebase_source : a1d91e76d42afa3c0f3479918d376159409585dc
2017-11-09 10:52:22 +08:00
Nika Layzell
3409141758
Bug 1414974 - Part 2: Switch many consumers to nsGlobalWindow{Inner,Outer}, r=smaug
...
This is a large patch which tries to switch many of the external consumers of
nsGlobalWindow to instead use the new Inner or Outer variants.
MozReview-Commit-ID: 99648Lm46T5
2017-11-09 10:44:47 -05:00
Randall Barker
b2e368e0ca
Bug 1413362 - part 2: Gecko gfx/vr GVR WebVR implementation r=kip,daoshengmu
...
MozReview-Commit-ID: HWaXhQo0VML
2017-11-07 10:50:14 -08:00
Daosheng Mu
a1557bdd74
Bug 1414698 - Part 2: Reset WEBVR_TIME_SPENT_VIEWING_IN_2D telemetry when the tab moves to the background; r=baku,kip
...
MozReview-Commit-ID: 7TKKxNlpCNT
--HG--
extra : rebase_source : a42e4e3fbca3ff101f0c1210c16a47537a5298be
2017-11-06 18:04:07 +08:00
Andi-Bogdan Postelnicu
07c02b3927
Bug 1411630 - make mozilla::gfx::VRHMDSensorState to be trivial typed. r=kip
...
MozReview-Commit-ID: 7BniyasLIQD
--HG--
extra : rebase_source : 9f96da05deab0718b19170814a67a2b22c58656e
2017-10-30 14:51:32 +02:00
Kearwood "Kip" Gilbert
ccc6462307
Bug 1410493 - Update Oculus SDK from 1.5 to 1.9, update IPD during VR presentation r=daoshengmu
...
- Oculus SDK was updated from 1.5 to 1.9
- As the Oculus API now returns quaternion orientations for each
eye-to-head transform, I needed to send more information to the
content process.
- Rather than adding the quaternion, we now calculate the view matrices
on the VR thread in the GPU process rather than calculating it in the
content thread from parameters.
- OpenVR's full view matrix is now used, for compatibility with more devices.
- IPD adjustments are now updated every frame for both Oculus and OpenVR.
MozReview-Commit-ID: LOtfs4QIqc8
--HG--
extra : rebase_source : 0a69824012ede4bea0e0e709a2d027d0c35730bb
2017-10-23 14:23:03 -07:00
Coroiu Cristina
12e0c4a11e
Backed out changeset b8743cbd9049 (bug 1411630) for failing on OS X and Windows 10 reftests in dom/vr/test/reftest/change_size.html r=backout a=backout on a CLOSED TREE
...
Backed out changeset b8743cbd9049 (bug 1411630)
2017-10-30 14:29:41 +02:00
Andi-Bogdan Postelnicu
bd50b9031f
Bug 1411630 - make mozilla::gfx::VRHMDSensorState to be trivial typed. r=kip
...
MozReview-Commit-ID: 7BniyasLIQD
--HG--
extra : rebase_source : ad7603dd8e2f8ea93989833de09624108aa7bd31
2017-10-30 10:43:14 +02:00
Sebastian Hengst
32f7c8fec3
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: 1h3kZyrtqSt
2017-10-17 11:45:16 +02:00
Kearwood Gilbert
f379b8fea9
Bug 1402871 - Change VREventObserver::mWindow to a RefPtr,r=dveditz
...
MozReview-Commit-ID: 79MlNMAvIQD
--HG--
extra : rebase_source : 717bed76ca218844d4308e616ee5a7bb2a59591c
2017-10-11 14:25:51 -07:00
Daosheng Mu
9210bba13b
Bug 1392216 - Part 3: VRPuppet dispatch submit frame result to VRListener thread; r=kip
...
MozReview-Commit-ID: K5ivNAkB89I
--HG--
extra : rebase_source : d4a87c12f5268a7aebe68e81c58c753eb60bfbc8
2017-10-06 17:56:53 +08:00
Nicholas Nethercote
8a68e6fb83
Bug 1403868 (part 4) - Reduce tools/profiler/public/*.h to almost nothing in non-MOZ_GECKO_PROFILER builds. r=mstange.
...
Currently the Gecko Profiler defines a moderate amount of stuff when
MOZ_GECKO_PROFILER is undefined. It also #includes various headers, including
JS ones. This is making it difficult to separate Gecko's media stack for
inclusion in Servo.
This patch greatly simplifies how things are exposed. The starting point is:
- GeckoProfiler.h can be #included unconditionally;
- everything else from the profiler must be guarded by MOZ_GECKO_PROFILER.
In practice this introduces way too many #ifdefs, so the patch loosens it by
adding no-op macros for a number of the most common operations.
The net result is that #ifdefs and macros are used a bit more, but almost
nothing is exposed in non-MOZ_GECKO_PROFILER builds (including
ProfilerMarkerPayload.h and GeckoProfiler.h), and understanding what is exposed
is much simpler than before.
Note also that in BHR, ThreadStackHelper is now entirely absent in
non-MOZ_GECKO_PROFILER builds.
2017-10-04 09:11:18 +11:00
dmu@mozilla.com
e2a5d6b175
Bug 1402749 - Part 2: Only allow updating VR controller amount at Vsync time; r=kip
...
MozReview-Commit-ID: EwXpyGnTYTD
--HG--
extra : rebase_source : b969991e31dcb612e81dd47129168a535427ce0a
2017-09-29 06:53:27 +00:00
Kearwood "Kip" Gilbert
f2b9872ab8
Bug 1396326 - VRDisplay.getFrameData() now returns false when orientation data is not available,r=daoshengmu
...
MozReview-Commit-ID: 9XlzeXWOy8U
--HG--
extra : rebase_source : 9a5a7b306f918a4a032673d3f6823b3f56b74aa5
2017-09-27 13:54:58 -07:00
Kearwood "Kip" Gilbert
4eef388a2c
Bug 1394600 - Allow VRDisplay.requestPresent update the VR layers after presentation has already begun r=daoshengmu
...
- A user gesture is required only for the VRDisplay.requestPresent
call that initiates the VR presentation, as per the WebVR 1.1 spec.
- The parameters of the VRLayer can now be updated by calling
VRDisplay.requestPresent on an active VR presentation.
- Dynamic resolution switching is now functional:
https://webvr.info/samples/08-dynamic-resolution.html
iMozReview-Commit-ID: BL7aJfF6nqR
MozReview-Commit-ID: CmhbFJ4ij5q
--HG--
extra : rebase_source : 28a3f608b4f821631e81ccdfe7f7824f9508a7b4
2017-08-28 16:20:59 -07:00
Kearwood "Kip" Gilbert
8801f82f5e
Bug 1381085 - Submit VR frames with a separate ID3DDeviceContextState r=daoshengmu
...
- Using a separate ID3DDeviceContextState ensures
that the WebVR context does not stomp over the
mirrored state used by the MLGPU "Advanced" Layers rendering.
MozReview-Commit-ID: 99mfdsjFrMI
--HG--
extra : rebase_source : 599df3b1344ca1489cbb13169313dff8e767c399
2017-09-18 16:19:49 -07:00
Kearwood "Kip" Gilbert
c0e22d6c35
Bug 1400387 - Change 32-bit VR Frame ID's to 64-bit r=daoshengmu
...
MozReview-Commit-ID: BSvZMa0XVSO
--HG--
extra : rebase_source : 47c1a2cc9ff756cc1dd9174a12a434c4fbfc4a09
2017-09-15 13:38:47 -07:00
Daosheng Mu
9e3c4d27d7
Bug 1400091 - Skip-if WebVR reftests for MacOSX non-Nightly build; r=kip
...
MozReview-Commit-ID: CGYHW3n6QuX
--HG--
extra : rebase_source : 2c8c9d1de0e06a7434e961eea45c492f58674520
2017-09-15 15:30:33 +08:00
Daosheng Mu
a9f76cd981
Bug 1383907
- Enable WebVR reftests on macOS; r=jgilbert,kip
...
MozReview-Commit-ID: 2OpA95QWI4d
--HG--
extra : rebase_source : b2457c5690fe8290d407c7fab11f29afdeda159c
2017-08-25 00:30:31 +08:00
Daosheng Mu
8a895d7e7f
Bug 1352520 - Add GeckoProfiler markers for WebVR; r=kip
...
MozReview-Commit-ID: 6j22J0rSw1Y
--HG--
extra : rebase_source : 44f3d0052ab0b608f3b5cea5b977f7a2bba428b6
2017-09-06 16:08:21 +08:00
Andrew McCreight
78807d8776
Bug 1391005 - Eliminate NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED. r=peterv
...
Replace it with NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION, because it
has been the same for a while.
MozReview-Commit-ID: 5agRGFyUry1
--HG--
extra : rebase_source : 5388c56b2f6905c6ef969150f0c5b77bf247624d
2017-08-29 16:02:48 -07:00
Daosheng Mu
ef8460e296
Bug 1388274 - Adjust WebVR telemetry histogram's high bound for user time spent; r=francois,kip
...
MozReview-Commit-ID: JcQZTgVmxr3
--HG--
extra : rebase_source : e00eab62c6d661a410d46d165843d7985054b145
2017-08-08 18:23:43 +08:00
Daosheng Mu
96e02d5de5
Bug 1306156 - Add telemetry for watching MAU and time spent of WebVR users; r=kip
...
MozReview-Commit-ID: 6v3F6aGdNK7
--HG--
extra : rebase_source : 6fc6a8accb1cc48968f3e1a09dc76de4b508afc7
2017-07-28 18:42:11 +08:00
Daosheng Mu
9297f5b2a3
Bug 1382438 - Part 2: Replace vr controller displayId test with gamepadbuttondown event; r=kip
...
MozReview-Commit-ID: DSTg2IS407e
--HG--
extra : rebase_source : dba54bda77ff75f1d9e929ae7339b36d38e4e001
2017-07-27 11:25:45 +08:00
Daosheng Mu
3980ed0fd6
Bug 1375816 - Part 4: VRController displayId attribute testcase; r=kip
...
MozReview-Commit-ID: KkMXsTDRnQO
--HG--
extra : rebase_source : 1bb85ecddfea7695ec310d19a1f4f1f05543a4d6
2017-07-14 17:08:15 +08:00
Sebastian Hengst
b5972de663
Backed out changeset 498baf1613db (bug 1375816)
2017-07-18 11:48:22 +02:00
Daosheng Mu
f2d37e1ed5
Bug 1375816 - Part 4: VRController displayId attribute testcase; r=kip
...
MozReview-Commit-ID: KkMXsTDRnQO
--HG--
extra : rebase_source : d4a91a5e8a33de2f65c4c6ce23dab6ccdab13952
2017-07-14 17:08:15 +08:00
Wes Kocher
eaeabd21b5
Backed out 4 changesets (bug 1375816) for various failures including builds busted in gfxVROculus.cpp a=backout
...
Backed out changeset 73619b7ce23d (bug 1375816)
Backed out changeset dd09fc501f90 (bug 1375816)
Backed out changeset fd4517198d6c (bug 1375816)
Backed out changeset e15e060f034c (bug 1375816)
MozReview-Commit-ID: 9VXOC0V45NE
2017-07-17 23:18:21 -07:00
Daosheng Mu
8277d4012f
Bug 1375816 - Part 4: VRController displayId attribute testcase; r=kip
...
MozReview-Commit-ID: KkMXsTDRnQO
--HG--
extra : rebase_source : bec4dbe0bc8a791f39cd80444aa5f41da38bbc14
2017-07-14 17:08:15 +08:00
Sylvestre Ledru
4e9cf83ee8
Bug 1378712 - Remove all trailing whitespaces r=Ehsan
...
MozReview-Commit-ID: Kdz2xtTF9EG
--HG--
extra : rebase_source : 7235b3802f25bab29a8c6ba40a181a722f3df0ce
2017-07-06 14:00:35 +02:00
Daosheng Mu
a6cdb3aeb0
Bug 1368990 - Add reftest for verifying onVRPresentChange; r=kip
...
MozReview-Commit-ID: I8cce1eYQV8
--HG--
extra : rebase_source : ff04f5cefeb446f8730f570bdea804b341d1e947
2017-06-07 17:05:04 +08:00
Daosheng Mu
071f8f0124
Bug 1229481 - Part 2: Add draw rect reftest for WebVR; r=kip
...
MozReview-Commit-ID: CnSYFFZS8lP
--HG--
extra : rebase_source : 9f139a9cb96a792aefa329c5c79d423c7a2d0ed5
2017-05-05 19:00:25 +08:00
Daosheng Mu
1b2ff2d010
Bug 1229481 - Part 1: Move VR mochitest to its subfolder; r=kip
...
MozReview-Commit-ID: IK9f7aepBgw
--HG--
rename : dom/vr/test/VRSimulationDriver.js => dom/vr/test/mochitest/VRSimulationDriver.js
rename : dom/vr/test/WebVRHelpers.js => dom/vr/test/mochitest/WebVRHelpers.js
rename : dom/vr/test/mochitest.ini => dom/vr/test/mochitest/mochitest.ini
rename : dom/vr/test/requestPresent.js => dom/vr/test/mochitest/requestPresent.js
rename : dom/vr/test/runVRTest.js => dom/vr/test/mochitest/runVRTest.js
rename : dom/vr/test/test_vrDisplay_exitPresent.html => dom/vr/test/mochitest/test_vrDisplay_exitPresent.html
rename : dom/vr/test/test_vrDisplay_getFrameData.html => dom/vr/test/mochitest/test_vrDisplay_getFrameData.html
rename : dom/vr/test/test_vrDisplay_onvrdisplaydeactivate_crosscontent.html => dom/vr/test/mochitest/test_vrDisplay_onvrdisplaydeactivate_crosscontent.html
rename : dom/vr/test/test_vrDisplay_requestPresent.html => dom/vr/test/mochitest/test_vrDisplay_requestPresent.html
extra : rebase_source : 880f8b75f3d5835d0728037a0bdc9d768ba32124
2017-05-04 12:31:51 +08:00
Kearwood Gilbert
eb3becc0b0
Bug 1362213 - Implement chrome-only API to manage VR sessions r=daoshengmu,kanru,smaug
...
- Added new chrome-only webidl methods to be used by browser UI and WebExtensions
- Implemented bitmasked group visibility for VR sessions to enable switching
between chrome and regular content presentations.
- Implemented throttling mechanism to avoid runaway, unthrottled render loops
for VR sessions that are hidden by group visibility bitmasks or due to
lower level platform VR events, such as during the Oculus
"Health and Safety Warning".
- Simplified the PVRManager IPC protocol while extending it to support
VR session groups and later WebVR content performance profiling API's.
- Removed the last WebVR related sync IPC call.
MozReview-Commit-ID: BMEIPyYeEbq
--HG--
extra : rebase_source : 47d3682cad3d913504175b7d4c3e9d992236f097
2017-05-08 16:01:36 -07:00
Daosheng Mu
911478d912
Bug 1343730 - Part 2: Get the submitframe result from VRDisplay; r=baku,kip
...
MozReview-Commit-ID: 91SqChn6jlO
--HG--
extra : rebase_source : 6254f99af8b4b08857961cebd8491264bfb9b8f5
2017-05-23 17:13:15 +08:00
Honza Bambas
ebccd7c5cc
Bug 1363037 - Add missing gfxVR.h include to VRServiceTest.h to fix bustage. r=kip
...
--HG--
extra : amend_source : 8cef725e5c92c2f472e8299356e67afa67bb4c4e
2017-05-08 07:34:00 -04:00
Wes Kocher
226702fd85
Merge m-c to autoland a=merge
...
MozReview-Commit-ID: LOGgOErcV9L
2017-04-26 17:43:38 -07:00
Daosheng Mu
3a6ad95915
Bug 1355648 - Part 3: Set position and orientation IsValid properties for GamepadPose tests; r=kip
...
MozReview-Commit-ID: 29sjo3yhg98
--HG--
extra : rebase_source : afb483713a3e895d81e20d4d8dc3861679f1781e
2017-04-26 13:17:25 +08:00
Daosheng Mu
5c82b1eda6
Bug 1351547 - Part 1: Add WebVR Canvas2D mochitest for detecting crash; r=kip
...
MozReview-Commit-ID: DA8Lx3jGQ4p
---
dom/vr/test/mochitest.ini | 2 ++
dom/vr/test/test_vrDisplay_canvas2d.html | 51 ++++++++++++++++++++++++++++
dom/vr/test/test_vrDisplay_exitPresent.html | 1 -
dom/vr/test/test_vrDisplay_getFrameData.html | 2 +-
4 files changed, 54 insertions(+), 2 deletions(-)
create mode 100644 dom/vr/test/test_vrDisplay_canvas2d.html
2017-04-26 07:00:04 +02:00
Daosheng Mu
324dd505d3
Bug 1358010 - Skip vr mochitests when running on release and non-Windows platforms; r=kip
...
MozReview-Commit-ID: 7TeTXyIfrh
--HG--
extra : rebase_source : 2ac584213841fa7cd47c5678b4d80fbb3bf53b8b
2017-04-20 21:11:17 +08:00
Kearwood Gilbert
c944eed13a
Bug 1356387 - Add constructor to VRHMDSensorState
...
- Also removed some now redundant calls to VRHMDSensorState::Clear()
MozReview-Commit-ID: Kkbvkn3XAP4
--HG--
extra : rebase_source : 0daecf8ad2f4baa8f3d199c65dc7c0cbeb4aceae
2017-04-17 12:15:38 -07:00
Kearwood Gilbert
be29a03181
Bug 1354206 - Prevent VRDisplay.requestAnimationFrame from succeeding after shutdown r=daoshengmu
...
MozReview-Commit-ID: LDw9nH60VCm
--HG--
extra : rebase_source : b8fbcf7573e7c0876293636ac094944f39c000b1
2017-04-12 16:22:29 -07:00
Chih-Yi Leu
068467ef9a
Bug 1311802 - Part3 - Initialize VRHMDSensorstate in VRMockDisplay to prevent crash; r=daoshengmu
...
MozReview-Commit-ID: ArGz64pDgZ7
--HG--
extra : rebase_source : ec2fdd91a1adce3493ebe71f195415416b1d3693
2017-03-30 16:42:25 +08:00
Chih-Yi Leu
990edba4be
Bug 1311802 - Part2 - Add Mochitest implementation; r=daoshengmu
...
MozReview-Commit-ID: K9Z0AWIi9Yp
MozReview-Commit-ID: DJ8lO4zsFjn
--HG--
extra : rebase_source : 2501f6b6a20e23e4104a58ea51082abf817e77af
2017-03-30 12:02:37 +08:00
Chih-Yi Leu
8aea1c1b28
Bug 1311802 - Part1 - Add SetMountState interface for VRMockDisplay; r=baku,daoshengmu
...
MozReview-Commit-ID: 7MFHIri2Bq7
--HG--
extra : rebase_source : 7c3c690d76d184c6bca8465e4b992ae0d8de7507
2017-03-27 11:26:19 +08:00
Andrew McCreight
bb0ab7f9cb
Bug 1353877 - Don't leak intermediate string in VRServiceTest::AttachVRDisplay. r=froydnj
...
MozReview-Commit-ID: AR5nTS6KULg
--HG--
extra : rebase_source : a8bd7865ce50984e800076fb3032592542843df8
2017-04-05 15:01:28 -07:00
Kearwood Gilbert
f12b0d6228
Bug 1353481 - When vrdisplayactivate is triggered by link traversal, VRDisplay.requestPresent should relax the user gesture requirement r=daoshengmu
...
MozReview-Commit-ID: 8viFBiY8A6m
--HG--
extra : rebase_source : 67ad50e7c6389d2fa6406aef4a979a50fc744c8d
2017-04-04 11:27:14 -07:00
Iris Hsiao
98b769cf18
Backed out the accidental backout of the backout of 3 changesets (bug 1311802). r=backout/reland
...
Backed out changeset 44bd57c9340f (bug 1311802)
Backed out changeset 4bb94cbb9a24 (bug 1311802)
Backed out changeset 15d9c5895041 (bug 1311802)
2017-03-31 10:11:19 +02:00
Sebastian Hengst
2374426ebe
Backed out changeset 7e3f9a865413 (bug 1311802) for failing browser/base/content/test/static/browser_parsable_css.js. r=backout
2017-03-31 10:08:21 +02:00
Iris Hsiao
f55fc8d7c5
Backed out 3 changesets (bug 1311802) for mochitest failures in test_vrDisplay_onvrdisplaydeactivate_crosscontent.html
...
Backed out changeset 44bd57c9340f (bug 1311802)
Backed out changeset 4bb94cbb9a24 (bug 1311802)
Backed out changeset 15d9c5895041 (bug 1311802)
2017-03-31 14:35:43 +08:00
Chih-Yi Leu
965c09b783
Bug 1311802 - Part3 - Initialize VRHMDSensorstate in VRMockDisplay to prevent crash; r=daoshengmu
...
MozReview-Commit-ID: ArGz64pDgZ7
--HG--
extra : rebase_source : c26317b727ed8abc166ffcb6c32ca529abd3d751
2017-03-30 16:42:25 +08:00
Chih-Yi Leu
77f9b81b79
Bug 1311802 - Part2 - Add Mochitest implementation; r=daoshengmu
...
MozReview-Commit-ID: K9Z0AWIi9Yp
--HG--
extra : rebase_source : 57189d1a951785a64add14036bfd9a1f00507508
2017-03-30 12:02:37 +08:00
Chih-Yi Leu
87da0a5295
Bug 1311802 - Part1 - Add SetMountState interface for VRMockDisplay; r=baku,daoshengmu
...
MozReview-Commit-ID: 7MFHIri2Bq7
--HG--
extra : rebase_source : 87c33bc5f06e6bcf53b72cae398ee72873c883cf
2017-03-27 11:26:19 +08:00
Chih-Yi Leu
6b60ce5c0a
Bug 1306505 - Implement mochitest: VRDisplay.exitPresent must only be allowed by content that started VR Presentation; r=daoshengmu
...
MozReview-Commit-ID: JSOhDU565gt
--HG--
extra : rebase_source : 01641425c59f615615cc97374968382d5c9261c7
2017-03-23 10:49:45 +08:00
Daosheng Mu
7365b64923
Bug 1306493
- Part 6: disable require gesture when running VR tests; r=kip
...
MozReview-Commit-ID: EGTumxkgcDW
--HG--
extra : rebase_source : f9448d700c6b58c7aaa865e5f73e9265240f5569
2017-03-16 11:46:22 +08:00
Daosheng Mu
1785cdc8c9
Bug 1306493
- Part 4: Make timestamp to be a monotonically increasing value in VRMockDisplay; r=kip
...
MozReview-Commit-ID: COR9n3fQBTX
--HG--
extra : rebase_source : 373621c4f46ad438b7ba2ae5555965025e46ce23
2017-03-15 13:49:39 +08:00
Daosheng Mu
df416a1cc2
Bug 1306493
- Part 3: Add VRDisplay getFrameData test for WebVR; r=kip
...
MozReview-Commit-ID: CEufWUY7xNZ
--HG--
extra : rebase_source : c1ce7948fde9ad75aad945facff25bba1d3fe794
2017-03-13 13:10:33 +08:00
Daosheng Mu
c7e761255a
Bug 1306493
- Part 2: Make vrMockDisplay to be the global var in VRSimulationDriver; r=kip
...
MozReview-Commit-ID: HTHqehkUMwC
--HG--
extra : rebase_source : dee4245fcdee8f054703287fc5c321bd55ffc8f1
2017-03-13 13:09:19 +08:00
Daosheng Mu
f09c777451
Bug 1306493
- Part 1: Fix bug of getting frame data from VRPuppet; r=kip
...
MozReview-Commit-ID: L8gPVjxELtV
--HG--
extra : rebase_source : 1790c8970e5401c1e0c4431c947f9bdad2fa2c34
2017-03-13 13:07:48 +08:00
Kearwood Gilbert
407247f33d
Bug 1254776 - VRDisplay.requestPresent must succeed only when called from a user-gesture or trusted event,r=qdot
...
MozReview-Commit-ID: 4BugtHPRekG
2017-03-07 16:04:12 -08:00
Daosheng Mu
73147a8a4c
Bug 1323328 - Part 4: Delay create VRSystemManagerPuppet for making it only be run for tests; r=kip
...
MozReview-Commit-ID: 6RxFheaP1sg
--HG--
extra : rebase_source : 6ceccf9068b8d38e94890f5543c512d5b40639bf
2017-03-04 01:27:22 +08:00
Daosheng Mu
d7b6a3ff79
Bug 1323328 - Part 3: Add VR display request present mochitest; r=kip
...
MozReview-Commit-ID: 13WuFhUFcTo
--HG--
extra : rebase_source : 00d5c0f36f3550c19367c4a9b6882c10175a0862
2017-03-02 00:00:23 +08:00
Daosheng Mu
6021ede12b
Bug 1323328 - Part 1: Implement VRServiceTest for helping insert VR test data; r=baku,kip
...
MozReview-Commit-ID: 9IoUL6MEVGj
--HG--
extra : rebase_source : 7eb854436f0424120e8dbda550c5cb4d922ae277
2017-03-01 18:33:28 +08:00
Kearwood Gilbert
5912cbf416
Bug 1293793 - Ensure VRFrameData.timestamp is a monotonically increasing value r=daoshengmu
...
- Oculus and OSVR VRFrameData.timestamp values were already returning correct
timestamps using their respective API's timestamp functions.
- OpenVR is now using timestamp values returned by the OpenVR API.
- A pseudo-random base for VRFrameData.timestamp has been implemented
in order to avoid leaking details related to how long the user has
been using their VR headset before hitting a page.
- More details on timestamp base within code comments...
MozReview-Commit-ID: 7VdiRn7l8Rb
--HG--
extra : rebase_source : cde5bc9de07cd120294ccd4ef502af030da9d03c
2017-03-03 15:17:19 -08:00
Kearwood Gilbert
91dea74162
Bug 1343666 - Prevent crash on shutdown due to assertion in VRManagerChild::Get() r=daoshengmu
...
- Updated VREventObserver::DisconnectFromOwner() to call VRManagerChild::IsCreated()
before calling the accessor VRManageRchild::Get() containing the assertion.
MozReview-Commit-ID: Ezy08m6V4HV
--HG--
extra : rebase_source : c6631dafa496cb03333ed417c14f1ff1692c8519
2017-03-02 13:07:24 -08:00
Kearwood Gilbert
9d394c09bb
Bug 1335606 - Add 'display' value to Navigator.vrdisplayconnect, Navigator.vrdisplaydisconnect, and Navigator.vrdisplaypresentchange events r=smaug
...
MozReview-Commit-ID: FLZ7u98mqqi
--HG--
extra : rebase_source : dd783f3c085efc50c4114ea45ac3f695670079fd
2017-02-14 11:21:09 -08:00
Kearwood Gilbert
ba5b7895c1
Bug 1337441 - Prevent crash when accessing VRDisplayEvent.display within onvrdisplayactivate r=Ehsan
...
- A non-null value is now always returned, as VRDisplayEvent.display
is required.
MozReview-Commit-ID: IrE2a7rw3Co
--HG--
extra : rebase_source : ca27aa588e49a8e19cc29114dd477e84e39bacef
2017-02-09 17:46:18 -08:00
Joel Maher
c203f27827
Bug 1335099 - add BUG_COMPONENT to many dom/* subdir files. r=overholt
...
MozReview-Commit-ID: CyIIs98hnUI
2017-02-06 09:45:55 -05:00
Sebastian Hengst
7225ec6170
Backed out changeset 9a332af74af5 (bug 1335099) for build bustage (moz.build rule matches no files). r=backout on a CLOSED TREE
2017-02-06 16:21:20 +01:00
Joel Maher
60e61eed48
Bug 1335099 - add BUG_COMPONENT to many dom/* subdir files. r=overholt
...
MozReview-Commit-ID: CyIIs98hnUI
2017-02-06 09:45:55 -05:00
Kearwood (Kip) Gilbert
8dc97eb398
Bug 1293333 - Part 1: Implement window.onvrdisplayactivate and window.onvrdisplaydeactivate events r=daoshengmu,Ehsan
...
MozReview-Commit-ID: 746L5KObBcg
--HG--
extra : rebase_source : 3efa9171be4ec2aa6dc12bd4651e197571cf33c6
2016-10-18 18:18:10 -04:00
Olli Pettay
0364dbc792
Bug 1326507, remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS, r=mccr8
...
--HG--
extra : rebase_source : 3ae1207308de120b7299b13ecaa95dd1612b3459
2017-01-03 21:47:55 +02:00
Kearwood (Kip) Gilbert
53f4153710
Bug 1315543 - Eliminate UAF in Navigator::NotifyVRDisplaysUpdated,r=dmu
2016-11-24 11:50:43 -08:00
Andrew McCreight
14fad12fec
Bug 1317258 - Call HoldJSObjects in VRFrameData's ctor. r=smaug
...
--HG--
extra : rebase_source : b9143b7c02652002923222b908b96bcc88a8effc
2016-11-17 15:37:25 +01:00
Daosheng Mu
7168326772
Bug 1299932 - Part 1: Implement gamepadPose attribute in Gamepad API; r=kip,qdot
...
MozReview-Commit-ID: DiJadVc2TyE
--HG--
extra : rebase_source : f4571090518a084b6d4b1e6fccf951510b227fbd
2016-10-24 18:04:41 +08:00
Jon Coppeard
556585c65f
Bug 1297558 - Remove explicit calls to Expose*ToActiveJS r=mccr8
2016-10-18 17:58:19 +01:00
kearwood
a9750ed3cd
Bug 1306486 - Ensure that VRDisplay.getPose and VRDisplay.getFrameData return the same values until the next VRDisplay.submitFrame,r=dmu
...
--HG--
extra : rebase_source : 3185cf5b978849c9a748a3c08b13259e5dcd9a22
2016-10-06 16:32:16 -07:00
Kearwood (Kip) Gilbert
2743764335
Bug 1306427 - Remove pose parameter from VRDisplay.submitFrame,r=smaug,r=gw280
...
MozReview-Commit-ID: LZSDm73XrIa
--HG--
extra : rebase_source : 9627a96ad333e952795ed70af0f8878a21c3c697
2016-09-30 16:43:24 -07:00
Kearwood (Kip) Gilbert
ae21916d63
Bug 1306422 - VRDisplay.exitPresent must only be allowed by content that started VR Presentation,r=gwright
...
- While fixing the VRDisplay.exitPresent to resolve fail its returned
promise, I noticed that VRDisplay.isPresenting is returning the global
state of the VRDisplay. I have updated this as well in the patch so
that the isPresenting attribute only returns true for VR presentations
started within the same Javascript context.
2016-10-11 15:26:57 -07:00
Kearwood (Kip) Gilbert
ed12a4e09a
Bug 1306468 - Remove VRDisplay.getImmediatePose,r=smaug,r=gwright
...
- The WebVR 1.1 Spec update has removed the VRDisplay.getImmediatePose function.
2016-10-11 15:01:02 -07:00
Kearwood (Kip) Gilbert
423a243482
Bug 1306415 - Part 1: Implement VRFrameData and VRDisplay.getFrameData,r=smaug,r=dmu
...
MozReview-Commit-ID: HlZUtZ7iZb5
--HG--
extra : rebase_source : 2d5de1522c0b06aa49d5a0ad3fe2170fff78ec37
2016-09-30 16:43:33 -07:00
Kearwood (Kip) Gilbert
3c70cd899e
Bug 1306429 - Remove VRPose.timestamp,r=smaug
...
- VRPose.timestamp has been removed with WebVR 1.1
- Has been replaced with VRFrameData.timestamp
MozReview-Commit-ID: 8hHRQ0SrMVk
2016-09-30 16:43:28 -07:00
kearwood
129f2f75a0
Bug 1186578 - [webvr] Implement OpenVR/SteamVR support,r=gw280
...
MozReview-Commit-ID: LmpcMJubrYR
--HG--
extra : rebase_source : c5d767c635bed9fa74ca94b2ce75952f20106702
2016-07-22 12:41:00 -07:00
kearwood
e5a5a99d23
Bug 1284357 - Part 2: Implement Navigator.activeVRDisplays,r=gw280
...
- WebVR 1.0 includes a new property added to Navigator,
activeVRDisplays
- Please apply the patchset in Bug 1250244 first.
MozReview-Commit-ID: 6wffkwvKllW
--HG--
extra : rebase_source : 79c960b206c14b8380786000fcbc2da52bc3bdab
2016-07-04 15:52:21 -07:00
Kearwood (Kip) Gilbert
8c1ddf0598
Bug 1295951 - Fix JS object rooting for WebVR DOM API classes,r=mccr8
...
MozReview-Commit-ID: D65U12CbRw9
2016-08-17 13:39:54 -07:00
Mats Palmgren
1b551a06ae
Bug 1296321
- Add missing #include for Promise type. r=smaug
2016-08-18 18:21:26 +02:00