Bug 1215147 - Enable VR API's on FF for Android by default. r=snorp, r=vlad, r=bz

This commit is contained in:
Daosheng Mu 2015-11-04 01:59:00 +01:00
Родитель 6fa1737ccc
Коммит c3d457b528
2 изменённых файлов: 13 добавлений и 6 удалений

Просмотреть файл

@ -519,7 +519,7 @@ var interfaceNamesInGlobalScope =
// IMPORTANT: Do not change this list without review from a DOM peer!
{name: "HDMIInputPort", b2g: true, permission: ["inputport"]},
// IMPORTANT: Do not change this list without review from a DOM peer!
{name: "HMDVRDevice", disabled: true},
{name: "HMDVRDevice", android: true, release: false},
// IMPORTANT: Do not change this list without review from a DOM peer!
"HTMLAllCollection",
// IMPORTANT: Do not change this list without review from a DOM peer!
@ -947,7 +947,7 @@ var interfaceNamesInGlobalScope =
// IMPORTANT: Do not change this list without review from a DOM peer!
{name: "PopupBoxObject", xbl: true},
// IMPORTANT: Do not change this list without review from a DOM peer!
{name: "PositionSensorVRDevice", disabled: true},
{name: "PositionSensorVRDevice", android: true, release: false},
// IMPORTANT: Do not change this list without review from a DOM peer!
{name: "PresentationDeviceInfoManager",
disabled: true,
@ -1399,13 +1399,15 @@ var interfaceNamesInGlobalScope =
// IMPORTANT: Do not change this list without review from a DOM peer!
"VideoStreamTrack",
// IMPORTANT: Do not change this list without review from a DOM peer!
{name: "VRDevice", disabled: true},
{name: "VRDevice", android: true, release: false},
// IMPORTANT: Do not change this list without review from a DOM peer!
{name: "VRPositionState", disabled: true},
{name: "VRPositionState", android: true, release: false},
// IMPORTANT: Do not change this list without review from a DOM peer!
{name: "VRFieldOfView", disabled: true},
{name: "VREyeParameters", android: true, release: false},
// IMPORTANT: Do not change this list without review from a DOM peer!
{name: "VRFieldOfViewReadOnly", disabled: true},
{name: "VRFieldOfView", android: true, release: false},
// IMPORTANT: Do not change this list without review from a DOM peer!
{name: "VRFieldOfViewReadOnly", android: true, release: false},
// IMPORTANT: Do not change this list without review from a DOM peer!
"VTTCue",
// IMPORTANT: Do not change this list without review from a DOM peer!

Просмотреть файл

@ -935,6 +935,11 @@ pref("consoleservice.logcat", true);
// Enable Cardboard VR on mobile, assuming VR at all is enabled
pref("dom.vr.cardboard.enabled", true);
#ifndef RELEASE_BUILD
// Enable VR on mobile, making it enable by default.
pref("dom.vr.enabled", true);
#endif
pref("browser.tabs.showAudioPlayingIcon", true);
// Enable service workers and fetch interception on non-release Fennec