Closed
Bug 903358
Opened 12 years ago
Closed 12 years ago
window.screen.lockOrientation() documentation wrongly assumes that N arguments can be passed
Categories
(Developer Documentation Graveyard :: API: DOM, defect)
Developer Documentation Graveyard
API: DOM
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mounir, Assigned: bruant.d)
Details
See: https://developer.mozilla.org/en-US/docs/Web/API/window.screen.lockOrientation
Actually, the caller can whether pass one DOMString or a sequence<DOMString> but it is always one argument, see the specification:
http://dvcs.w3.org/hg/screen-orientation/raw-file/tip/Overview.html
Comment 1•12 years ago
|
||
Thanks for reporting this, Mounir. Please use the "Developer Documentation" product for future bug reports and remember that you can always edit the documentation yourself by clicking "Edit".
Assignee: nobody → bruant.d
Component: General → JavaScript
Product: Mozilla Developer Network → Developer Documentation
| Assignee | ||
Updated•12 years ago
|
Component: JavaScript → DOM
| Assignee | ||
Comment 2•12 years ago
|
||
(In reply to John Karahalis [:openjck] from comment #1)
> you can always edit the documentation yourself by clicking "Edit".
True Mounir. Also, you should come to a doc sprint once just to try it out, your knowledge of the platform could benefit web devs a lot ;-)
Fixed the page. Tell me if you agree with how it's been changed. If you agree, close this bug. Thanks :-)
Comment 3•12 years ago
|
||
David, Mounir already came to a doc sprint ;-) He's a true "friend of the doc".
| Reporter | ||
Comment 4•12 years ago
|
||
(In reply to David Bruant from comment #2)
> True Mounir. Also, you should come to a doc sprint once just to try it out,
> your knowledge of the platform could benefit web devs a lot ;-)
Sorry about that. I could indeed have done that but I was in the middle of other things. Thanks for fixing this though :)
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 5•12 years ago
|
||
I added an example with an Array and updated the compat table.
I also turned bug 784549 to dev-doc-complete ;-) (Firefox 18).
You need to log in
before you can comment on or make changes to this bug.
Description
•