📃 August 2011 release notes
New in Chrome
The following features are now available in Chrome:
-
registerProtocolHandler:
The
navigator.registerProtocolHandler()
method declares a site's ability to handle an address scheme (also known as a protocol). For example, an email site can register to openmailto:
URLs or a VoIP site to opentel:
URLs.
New in Firefox
The following features are now available in Firefox:
-
Dataset:
The
dataset
API attaches and accesses custom data on elements, using either thedataset
property ofHTMLElement
or attributes prefixed withdata-
. -
Device orientation events:
The
DeviceMotion
andDeviceOrientation
events report the movement and orientation of the browser's device in physical space. Note that coordinates can differ noticeably between platforms and devices. -
Input events:
The
input
event fires when a form control changes or an element with thecontenteditable
attribute changes. -
Keyboard events:
The
keydown
andkeyup
events fire for each key press (or, with modifier keys, a combination of key presses) on a keyboard. -
matchMedia:
The
window.matchMedia()
method checks whether a media query applies to the document. -
OES_texture_float WebGL extension:
The
OES_texture_float
extension for WebGL 1.0 contexts adds floating-point pixel types for textures. -
Print events:
An alternative to
@media print
queries, thebeforeprint
andafterprint
events allow you to change the page for printing and and restore the page after printing. -
<progress>:
The
<progress>
element displays an indicator showing the completion progress of a task, typically displayed as a progress bar. -
Server-sent events:
The
EventSource
API creates a connection to a server and listens to a stream of events sent by the server. -
WeakMap:
A
WeakMap
object holds key-value pairs that do not create strong references to its keys, such that value data can be associated with a key without preventing garbage collection of the key.
New in Firefox for Android
The following features are now available in Firefox for Android:
-
Dataset:
The
dataset
API attaches and accesses custom data on elements, using either thedataset
property ofHTMLElement
or attributes prefixed withdata-
. -
Device orientation events:
The
DeviceMotion
andDeviceOrientation
events report the movement and orientation of the browser's device in physical space. Note that coordinates can differ noticeably between platforms and devices. -
Input events:
The
input
event fires when a form control changes or an element with thecontenteditable
attribute changes. -
Keyboard events:
The
keydown
andkeyup
events fire for each key press (or, with modifier keys, a combination of key presses) on a keyboard. -
localStorage and sessionStorage:
The
localStorage
andsessionStorage
APIs store data as key-value pairs. WhilelocalStorage
persists across sessions,sessionStorage
data is discarded when the page is closed. -
matchMedia:
The
window.matchMedia()
method checks whether a media query applies to the document. -
OES_texture_float WebGL extension:
The
OES_texture_float
extension for WebGL 1.0 contexts adds floating-point pixel types for textures. -
Print events:
An alternative to
@media print
queries, thebeforeprint
andafterprint
events allow you to change the page for printing and and restore the page after printing. -
<progress>:
The
<progress>
element displays an indicator showing the completion progress of a task, typically displayed as a progress bar. -
Touch events:
Touch events
touchstart
,touchmove
,touchend
, andtouchcancel
fire when users interact with a touch-sensitive surface, such as a screen or drawing tablet. These events are similar to mouse events. -
WeakMap:
A
WeakMap
object holds key-value pairs that do not create strong references to its keys, such that value data can be associated with a key without preventing garbage collection of the key.