WebAPI/BrowserAPI: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Created page with "= Browser Element & API = This is a proposal for Browser API and a new HTML element called "<browser>", which is similar to an iframe but allows the implementation of a fully fe...")
 
No edit summary
Line 8: Line 8:


== Summary ==
== Summary ==
New HTML tag name "<browser>" {{bug|738172}}


{| border="1"
{| border="1"
Line 24: Line 25:
|go || P2 || || NOT STARTED
|go || P2 || || NOT STARTED
|-
|-
|stop || P1 || || NOT STARTED
|stop || P1 || {{bug|709759}} || NOT STARTED
|-
|-
|reload || P2 || || NOT STARTED
|reload || P2 || {{bug|741717}} || NOT STARTED
|-
|-
|goBack || P2 || || NOT STARTED
|goBack || P2 || || NOT STARTED
Line 32: Line 33:
|goForward || P2 || || NOT STARTED
|goForward || P2 || || NOT STARTED
|-
|-
|canGoBack || P2 || || NOT STARTED
|canGoBack || P2 || {{bug|741755}} || NOT STARTED
|-
|-
|canGoForward || P2 || || NOT STARTED
|canGoForward || P2 || {{bug|741755}} || NOT STARTED
|-
|-
|getThumbnail || P1 || || NOT STARTED
|getThumbnail || P1 || || NOT STARTED
|-
|-
|getFavicon || P1 || || NOT STARTED
|getFavicon || P2 || || NOT STARTED
|}
|}


Line 56: Line 57:
|titlechange || P1 || || IMPLEMENTED
|titlechange || P1 || || IMPLEMENTED
|-
|-
|alert || P1 || || IN PROGRESS
|iconchange || P1 || {{bug|719461}} || NOT STARTED
|-
|-
|confirm || P1 || || IN PROGRESS
|alert || P1 || {{bug|741587}} || IN PROGRESS
|-
|-
|prompt || P1 || || IN PROGRESS
|confirm || P1 || {{bug|741587}} || IN PROGRESS
|-
|-
|open || P1 || || IN PROGRESS
|prompt || P1 || {{bug|741587}} || IN PROGRESS
|-
|-
|close || P1 || || IN PROGRESS
|open || P1 || {{bug|742944}} || IN PROGRESS
|-
|close || P1 || {{bug|742944}} || IN PROGRESS
|-|securitychange || P1 || || NOT STARTED
|-|securitychange || P1 || || NOT STARTED
|}
|}
Line 128: Line 131:
'''getFavicon(callback)'''
'''getFavicon(callback)'''


: Gets the favicon associated with the content currently loaded inside the browser element. The favicon should be returned to the callback as a binary blob (or alternatively just a URL pointing to the file) in addition to the URL of the page it corresponds to. This could be used by a browser app to save icons for use in history, boomkarks or tab switching.
: Gets the favicon associated with the content currently loaded inside the browser element. The favicon should be returned to the callback as a binary blob (or alternatively just a URL pointing to the file) in addition to the URL of the page it corresponds to. This could be used by a browser app to save icons for use in history, boomkarks or tab switching. We may not need this feature if we have an iconchange event.


== Events ==
== Events ==
Line 152: Line 155:


: Indicates that the title of the page changed, the title is included as a string in the event payload.
: Indicates that the title of the page changed, the title is included as a string in the event payload.
'''iconchange'''
: Indicates the favicon URL of the page changed, the URL of the favicon is included as a string in the event payload.


'''alert'''
'''alert'''
Confirmed users
395

edits

Navigation menu