Kearwood "Kip" Gilbert
f65dbeca74
Bug 1473397 - Implement haptic feedback support for gfxVRExternal and OpenVRSession r=daoshengmu
...
- Implemented 1ms, 10ms, and 100ms VR tasks, dispatched from
VRManager
- Removed Android-specific code that compensated for
tasks that did not run when the...
...compositor was paused.
Differential Revision: https://phabricator.services.mozilla.com/D3378
--HG--
extra : moz-landing-system : lando
2018-09-25 22:56:10 +00:00
L. David Baron
1e88f0f003
Bug 1369941: Replace single integers N in fuzzy() and fuzzy-if() with 0-N ranges. r=dholbert
...
This patch was written entirely by the following script:
#!/bin/bash
if [ ! -d "./.hg" ]
then
echo "Not in a source tree." 1>&2
exit 1
fi
find . -regex '.*\(ref\|crash\)test.*\.list' | while read FILENAME
do
echo "Processing ${FILENAME}."
# The following has four substitutions:
# * The first one replaces the *first* argument to fuzzy() when it doesn't
# have a - in it, by replacing it with an explicit 0-N range.
# * The second one does the same for the *second* argument to fuzzy().
# * The third does the same for the *second* argument to fuzzy-if().
# * The fourth does the same for the *third* argument to fuzzy-if().
#
# Note that this is using perl rather than sed because perl doesn't
# support non-greedy matching, which is needed for the first argument to
# fuzzy-if.
perl -pi -e 's/(fuzzy\()([^ ,()-]*)(,[^ ,()]*\))/${1}0-${2}${3}/g;s/(fuzzy\([^ ,()]*,)([^ ,()-]*)(\))/${1}0-${2}${3}/g;s/(fuzzy-if\([^ ]*?,)([^ ,()-]*)(,[^ ,()]*\))/${1}0-${2}${3}/g;s/(fuzzy-if\([^ ]*?,[^ ,()]*,)([^ ,()-]*)(\))/${1}0-${2}${3}/g' "${FILENAME}"
done
Differential Revision: https://phabricator.services.mozilla.com/D2974
--HG--
extra : moz-landing-system : lando
2018-08-09 20:10:21 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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