WebAPI: Difference between revisions

241 bytes removed ,  15 November 2013
A few more comments about how information is derived
(Add comments on how availability is determined)
(A few more comments about how information is derived)
Line 83: Line 83:
| W3C WD (WebApps)
| W3C WD (WebApps)
<!--
<!--
FIXME:  is presence of implementations in widget/{android,gonk} sufficient?
* implementations in widget/{android,gonk}
-->
-->
| {{WebAPIPlatformAvailability|notPlanned|Desktop}}
| {{WebAPIPlatformAvailability|notPlanned|Desktop}}
Line 94: Line 94:
| Future?
| Future?
<!--
<!--
FIXME:  more details here
* dom.mozSettings.enabled=false in all.js, true in b2g.js
* dom.mozSettings.enabled=false in all.js, true in b2g.js
* dom/settings/SettingsManager.js uses permission manager to check for settings-read/settings-write permissions
* Settings.perms.testExactPermissionFromPrincipal defined in netwerk/base/public/nsIPermissionManager.idl
** unsure where implementation is
-->
-->
| {{WebAPIPlatformAvailability|notPlanned|Desktop}}
| {{WebAPIPlatformAvailability|notPlanned|Desktop}}
Line 158: Line 154:
<!--
<!--
* wifi-manage permission
* wifi-manage permission
* FIXME:  how do we know this is only built on b2g?
* dom/moz.build won't go into dom/wifi unless MOZ_WIDGET_TOOLKIT==gonk
-->
-->
| {{WebAPIPlatformAvailability|notPlanned|Desktop}}
| {{WebAPIPlatformAvailability|notPlanned|Desktop}}
Line 228: Line 224:
<!--
<!--
* no explicit permission
* no explicit permission
* FIXME:  I only see the JNI implementation in {hal,widget}/android
* Android implementation in {hal,widget}/android
* dom/network/src/moz.build won't build NetworkStatsService unless MOZ_WIDGET_TOOLKIT==gonk
-->
-->
| {{WebAPIPlatformAvailability|notPlanned|Desktop}}
| {{WebAPIPlatformAvailability|notPlanned|Desktop}}
Line 251: Line 248:
| W3C WD (SysApps)
| W3C WD (SysApps)
<!--
<!--
* FIXME:  I see it in hal/gonk/GonkHal.cpp but does just the lack of
* dom.mozAlarms.enabled = true only in b2g.js (checked for in AlarmsManager.js)
  existence of alarm stuff in other HALs denote "notImplemented"?
-->
-->
| {{WebAPIPlatformAvailability|notImplemented|Desktop}}
| {{WebAPIPlatformAvailability|notImplemented|Desktop}}
Line 263: Line 259:
| Future?
| Future?
<!--
<!--
* FIXME:  dom.mozBrowserFramesEnabled in b2g.js (nowhere else?)
* dom.mozBrowserFramesEnabled only set (and true) in b2g.js
-->
-->
| {{WebAPIPlatformAvailability|notImplemented|Desktop}}
| {{WebAPIPlatformAvailability|notImplemented|Desktop}}
Line 274: Line 270:
| Future?
| Future?
<!--
<!--
* FIXME: implementation
* implementation is in dom/time
* TimeManager::PrefEnabled returns true since MOZ_TIME_MANAGER=1 in b2g/confvars.sh
-->
-->
| {{WebAPIPlatformAvailability|notimplemented|Desktop}}
| {{WebAPIPlatformAvailability|notimplemented|Desktop}}
Line 285: Line 282:
| Discussed in Device APIs
| Discussed in Device APIs
<!--
<!--
* implemented for B2G in 78f4674cf0 (git SHA-1)
* we only package XPCOM components and interfaces in b2g/installer/package-manifest.in
* FIXME:  unclear how not implemented elsewhere
** stuff in ../installer/package-manifest.in ?
-->
-->
| {{WebAPIPlatformAvailability|notImplemented|Desktop}}
| {{WebAPIPlatformAvailability|notImplemented|Desktop}}
Line 321: Line 316:
| Future?
| Future?
<!--
<!--
* FIXME:  dom/fmradio/moz.build has if CONFIG'[MOZ_B2G_FM]' => non-B2G unimplemented?
* dom/fmradio/moz.build has if CONFIG'[MOZ_B2G_FM]' => non-B2G unimplemented
* configure.in sets MOZ_B2G_FM=1 if target=android & --with-gonk set
* configure.in sets MOZ_B2G_FM=1 if target=android && --with-gonk set
-->
-->
| {{WebAPIPlatformAvailability|notPlanned|Desktop}}
| {{WebAPIPlatformAvailability|notPlanned|Desktop}}
Line 388: Line 383:
| W3C WD
| W3C WD
<!--
<!--
* implementations spread out
* dom/system/nsDeviceSensors.cpp
* FIXMEdougt thinks maybe some Mac support exists
* b2ghal/gonk/GonkSensor.cpp
* Android:  mobile/android/base/GeckoEvent.java and widget/android/nsAppShell.cpp
-->
-->
| {{WebAPIPlatformAvailability|notPlanned|Desktop}}
| {{WebAPIPlatformAvailability|notPlanned|Desktop}}
Line 411: Line 407:
| ?
| ?
<!--
<!--
* FIXME:  I see the permission checks "SystemXHR" but I don't see how it's _not_ implemented on desktop/Android
* nsXMLHttpRequest.cpp checks for "systemXHR" permission
-->
-->
| {{WebAPIPlatformAvailability|notImplemented|Desktop}}
| {{WebAPIPlatformAvailability|notImplemented|Desktop}}
canmove, Confirmed users
901

edits