WebAPI/BrowserAPI: Difference between revisions

Line 6: Line 6:


This is similar to the [https://developer.mozilla.org/en/XUL/browser XUL browser element].
This is similar to the [https://developer.mozilla.org/en/XUL/browser XUL browser element].
== Roadmap ==
* P1
** {{In progress|}} Nested OOP {{bug|nested-oop}}
** State/Session restore
** Navigation scope
** {{In progress|}} Hardware key events {{bug|989198}}
** Visilibity API (setVisible)
* P2
** <iframe mozbrowser> to <webview> {{bug|738172}}
** Rewrite some browser API using C++
* P3
** Dialog API (http auth, alert, etc)
** OOM Priority API
* P4
** Clean up existing functions
** Password management
** Freeze process
* P5
** Metadata API


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


{| border="1"
{{Note|Please find the current document on MDN https://developer.mozilla.org/en-US/docs/WebAPI/Browser}}
 
{| class="wikitable"
|+Attributes
|+Attributes
|-
|-
! Name !! Priority !! Bug !! Status
! Name !! Priority !! Bug !! Status
|-
|-
|src || P1 || || complete
|src || P1 || || {{implemented|}}
|}
|}


{| border="1"
{| class="wikitable"
|+ Methods
|+ Methods
|-
|-
Line 25: Line 47:
|go || || || '''not started'''
|go || || || '''not started'''
|-
|-
|stop || P1 || {{bug|709759}} || complete
|stop || P1 || {{bug|709759}} || {{implemented|}}
|-
|-
|reload || P2 || {{bug|741717}} || complete
|reload || P2 || {{bug|741717}} || {{implemented|}}
|-
|-
|go{Back,Forward}, canGo{Back,Forward} || P2 || {{bug|741755}} || complete
|go{Back,Forward}, canGo{Back,Forward} || P2 || {{bug|741755}} || {{implemented|}}
|-
|-
|getScreenshot || P1 || {{bug|753595}} || complete
|getScreenshot || P1 || {{bug|753595}} || {{implemented|}}
|-
|-
|getContentDimensions || || {{bug|757859}} || complete
|getContentDimensions || || {{bug|757859}} || {{implemented|}}
|-
|-
|setVisible || || {{bug|702880}}, {{bug|762939}} || complete
|setVisible || || {{bug|702880}}, {{bug|762939}} || {{implemented|}}
|}
|}


{| border="1"
{| class="wikitable"
|+Events
|+Events
|-
|-
! Name !! Priority !! Bug !!Status
! Name !! Priority !! Bug !!Status
|-
|-
|loadstart || P1 || || complete
|loadstart || P1 || || {{implemented|}}
|-
|-
|loadend || P1 || || complete
|loadend || P1 || || {{implemented|}}
|-
|-
|loadprogress || || || '''not started'''
|loadprogress || || || '''not started'''
|-
|-
|locationchange || P1 || || complete
|locationchange || P1 || || {{implemented|}}
|-
|-
|titlechange || P1 || || complete
|titlechange || P1 || || {{implemented|}}
|-
|-
|iconchange || P1 || {{bug|719461}} || complete
|iconchange || P1 || {{bug|719461}} || {{implemented|}}
|-
|-
|alert/prompt/confirm || P1 || {{bug|741587}} || complete
|alert/prompt/confirm || P1 || {{bug|741587}} || {{implemented|}}
|-
|-
|open || P1 || {{bug|742944}} || complete
|open || P1 || {{bug|742944}} || {{implemented|}}
|-
|-
|close || P1 || {{bug|757182}} || complete
|close || P1 || {{bug|757182}} || {{implemented|}}
|-
|-
|securitychange || P1 || {{bug|763694}} || complete
|securitychange || P1 || {{bug|763694}} || {{implemented|}}
|-
|-
|contextmenu || P1 || {{bug|756371}} || complete
|contextmenu || P1 || {{bug|756371}} || {{implemented|}}
|-
|-
|error || || {{bug|768842}} || complete
|error || || {{bug|768842}} || {{implemented|}}
|-
|-
|error:fatal || || {{bug|766437}} || complete
|error:fatal || || {{bug|766437}} || {{implemented|}}
|-
|-
|scroll || P1 || {{bug|770847}} || complete
|scroll || P1 || {{bug|770847}} || {{implemented|}}
|}
|}


{| border="1"
{| class="wikitable"
|+Other Related Features (not all necessarily part of Browser API)
|+Other Related Features (not all necessarily part of Browser API)
|-
|-
! Name !! Priority !! Bug !! Status
! Name !! Priority !! Bug !! Status
|-
|-
|Process separation || P1 || {{bug|714861}} || complete
|Process separation || P1 || {{bug|714861}} || {{implemented|}}
|-
|-
|Framebusting protection || P1 || {{bug|771273}} || complete
|Framebusting protection || P1 || {{bug|771273}} || {{implemented|}}
|-
|-
|Touch pan & zoom || P1 || {{bug|745136}} || complete
|Touch pan & zoom || P1 || {{bug|745136}} || {{implemented|}}
|-
|-
|<meta name="viewport"> tags || P2 || {{bug|746502}} || complete
|<meta name="viewport"> tags || P2 || {{bug|746502}} || {{implemented|}}
|-
|-
|target=_blank/_top || P2 || {{bug|769254}} || complete
|target=_blank/_top || P2 || {{bug|769254}} || {{implemented|}}
|-
|-
|Permissions prompts || P1 || || complete
|Permissions prompts || P1 || || {{implemented|}}
|-
|-
|Clear private data || P1 || || complete
|Clear private data || P1 || || {{implemented|}}
|-
|-
|Turn cookies on/off ||  || || '''not started'''
|Turn cookies on/off ||  || || '''not started'''
|-
|-
|<select> popups || P1 || {{bug|759511}} || complete
|<select> popups || P1 || {{bug|759511}} || {{implemented|}}
|}
|}


Confirmed users
346

edits