Created attachment 569856 [details]
== Steps ==
1. Set these prefs:
2. Load the testcase.
== Result ==
1. Firefox enters full-screen mode.
2. ###!!! ASSERTION: Document should report fullscreen: 'fullscreen', file content/html/content/src/nsGenericHTMLElement.cpp, line 3413
3. ###!!! ASSERTION: Should be in full screen state!: 'doc->IsFullScreenDoc()', file content/html/content/src/nsGenericHTMLElement.cpp, line 3414
== Expected ==
1. The requestFullScreen call should throw.
== Security impact ==
This might be bypass for lack of mozallowfullscreen attribute.
Created attachment 569857 [details]
*** This bug has been marked as a duplicate of bug 685402 ***
I'll reopen this bug and resolve it separately from bug 685402 to simplify patches, reviews, and landings.
Created attachment 570173 [details] [diff] [review]
Patch, with Jesse's testcase. Based on top of bug 688648 and bug 685779, so will hold of on requesting review until they're reviewed.
Created attachment 570855 [details] [diff] [review]
Rebased on top of patch in bug 685779 and bug 688468. Includes test.
Comment on attachment 570855 [details] [diff] [review]