WebAPI/WidgetAPI: Difference between revisions

Line 29: Line 29:


==Issues under discussion==
==Issues under discussion==
* Disallow [https://developer.mozilla.org/zh-TW/docs/WebAPI/Browser#.E5.AD.98.E5.8F.96_%28Navigation%29_.E5.87.BD.E5.BC.8F Browser API]
===[https://developer.mozilla.org/zh-TW/docs/WebAPI/Browser#.E5.AD.98.E5.8F.96_%28Navigation%29_.E5.87.BD.E5.BC.8F Browser API]===
** [https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement.getScreenshot Screenshots]
==== Safe ====
** [https://developer.mozilla.org/zh-TW/docs/WebAPI/Browser#.E5.AD.98.E5.8F.96_%28Navigation%29_.E5.87.BD.E5.BC.8F navigation notifications]
*Performance methods
** [https://developer.mozilla.org/en-US/docs/Web/Reference/Events/mozbrowserusernameandpasswordrequired mozbrowserusernameandpasswordrequired]
**setVisible()
** [https://developer.mozilla.org/en-US/docs/Web/Reference/Events/mozbrowseropenwindow mozbrowseropenwindow] (window.open)
**getVisible()
** [https://developer.mozilla.org/en-US/docs/Web/Reference/Events/mozbrowseropenwindow mozbrowsershowmodalprompt] (window.alert)
**purgeHistory()
** [https://developer.mozilla.org/en-US/docs/Web/Reference/Events/mozbrowsercontextmenu mozbrowsercontextmenu]
*Navigation methods
**reload()
**stop()
*Event methods
**sendMouseEvent()
**sendTouchEvent()
**addNextPaintListener()
**removeNextPaintListener()
*Events
**mozbrowserasyncscroll
**mozbrowserclose
**mozbrowsererror
**mozbrowsericonchange
**mozbrowserloadend
**mozbrowserloadstart
**mozbrowserlocationchange
**mozbrowsertitlechange
**mozbrowseropensearch
 
==== Unsafe ====
*Screenshots
*Navigation methods
**getCanGoBack()
**goBack()
**getCanGoForward()
**goForward()
*Events
**mozbrowserusernameandpasswordrequired
**mozbrowseropenwindow (i.e. window.open)
**mozbrowsershowmodalprompt (i.e. alert(), confirm(), prompt())
**mozbrowsercontextmenu
**mozbrowsersecuritychange


==Bugs==
==Bugs==
Confirmed users
76

edits