Andrew Lewman
add in the torbutton design subsection
Andrew Lewman commited 4f357d6de at 2010-08-18 14:11:14
First pass: Quick Review of Firefox Features
- Video Tag
- Docs:
- https://developer.mozilla.org/En/HTML/Element/Audio
- https://developer.mozilla.org/En/HTML/Element/Video
- https://developer.mozilla.org/En/HTML/Element/Source
- https://developer.mozilla.org/En/Manipulating_video_using_canvas
- https://developer.mozilla.org/En/nsIDOMHTMLMediaElement
- https://developer.mozilla.org/En/Media_formats_supported_by_the_audio_and_video_elements
- http://en.flossmanuals.net/TheoraCookbook
- nsIContentPolicy is checked on load
- Uses NSIChannels for initial load
- Wrapped in nsHTMLMediaElement::mDecoder
- is nsOggDecoder() or nsWaveDecoder()
- liboggplay
- Governed by media.* prefs
- Preliminary audit shows they do not use the liboggplay tcp functions
- Geolocation
- Wifi:
- https://developer.mozilla.org/En/Monitoring_WiFi_access_points
- Requires security policy to allow. Then still prompted
- navigator.geolocation
- Governed by geo.enabled
- "2 week access token" is set
- geo.wifi.access_token.. Clearing is prob a good idea
- http://mxr.mozilla.org/mozilla1.9.1/source/dom/src/geolocation/NetworkGeolocationProvider.js
- https://developer.mozilla.org/En/Using_geolocation
- DNS prefetching after toggle
- prefetch pref? Always disable for now?
- network.dns.disablePrefetch
- Also disabled in netwerk/dns/src/nsDNSService2.cpp when manual proxies
are set..
- This should prevent prefetching of non-tor urls in tor mode..
- But the reverse is unclear.
- DocShell attribute!!1 YAY
- http://www.oxymoronical.com/experiments/apidocs/interface/nsIDocShell
- "Takes effect for the NEXT document loaded...."
- Do we win this race? hrmm.. If we do, the tor->nontor direction
should also be safe.
- Content policy called?
- No. See content/html/content/src/nsHTMLDNSPrefetch.cpp
- Storage
- https://developer.mozilla.org/en/Storage
- "It is available to trusted callers, meaning extensions and Firefox
components only."
- New content policy
- Content Security Policy. Addon-only
- "Offline resources"
- https://developer.mozilla.org/en/Offline_resources_in_Firefox
- https://developer.mozilla.org/en/nsIApplicationCache
- browser.cache.offline.enable toggles
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX