+++ This bug was initially created as a clone of Bug #742944 +++
Gaia issue: https://github.com/mozilla-b2g/gaia/issues/1802
For HTML structure like this:
The alert() call can bypass the mozbrowser capability implemented in Bug #742944
Launch Gaia "UI Tests" app and try the alert/prompt test.
Is the problem alert() or window.open?
Or do both not work within <iframe>s?
Also, these dependencies / blocking bugs are probably not what you mean, but I'm not sure what you mean for this bug to cover, so I don't want to change them.
@jlebar Yeah I totally missed up with the dependency thing ...
I've updated the title. Can you fix the dependency? Thanks.
Created attachment 635170 [details] [diff] [review]
Created attachment 635171 [details] [diff] [review]
This was a pretty dumb bug. Oh well.
Created attachment 636066 [details] [diff] [review]
Even better; now it's a one-line fix.
What is the change to nsGenericElement.cpp ?
(In reply to Olli Pettay [:smaug] from comment #8)
> What is the change to nsGenericElement.cpp ?
Known bug in hg, although I can't find the bug at the moment. It seems to be harmless, although certainly quite scary.