Closed
Bug 680903
Opened 13 years ago
Closed 13 years ago
Sort out classinfo for modal content windows and chrome windows
Categories
(Core :: DOM: Core & HTML, defect, P1)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla9
People
(Reporter: bzbarsky, Assigned: bzbarsky)
References
Details
Attachments
(1 file)
See bug 659350 comment 31. Modal content windows and chrome windows are missing some interfaces that normal content windows have. Jonas, Ben: should chrome windows support indexeddb in classinfo?
Assignee | ||
Comment 1•13 years ago
|
||
Er, looks like in fact chrome and modal content windows _do_ support indexeddb. Unconditionally, unlike content windows. Doug, you made that change in bug 623316. Why is the support for modal content windows unconditional?
indexedDB should be available everywhere (except in third party windows, but we block that in other ways).
Assignee | ||
Comment 3•13 years ago
|
||
OK, and should it be unconditionally available in modal content windows? Or conditionally?
I don't see any reason why modal content windows should be any different from regular content windows... Is there something that sets them apart that I'm missing?
Making sure sicking agrees... sicking?
Assignee | ||
Comment 6•13 years ago
|
||
That was my feeling, but it didn't match our existing code, so I just wanted to make sure I wasn't missing anything.
I'm also not sure why modal makes a difference. I could however see that being able to open a new "toplevel" window from deeply within a frame hierarchy could be used as a way to circumvent the 3rd party checks that we have. We've been kind'a relying on the popup blocker and the fact that sites don't want to open popups in order to have them not work around our 3rd party block. Is the concern that modal windows somehow changes this?
Assignee | ||
Comment 8•13 years ago
|
||
To be clear, right now modal content windows unconditionally allow indexeddb. I was assuming that's for some reason, but it starting to sound like it was just a bug...
Assignee | ||
Comment 9•13 years ago
|
||
Attachment #555505 -
Flags: review?(jonas)
Assignee | ||
Updated•13 years ago
|
Priority: -- → P1
Whiteboard: [need review]
Comment on attachment 555505 [details] [diff] [review] Make the set of interfaces exposed by windows saner across different window types. I think jst, peterv or mrbkap would make better reviewers here
Attachment #555505 -
Flags: review?(jonas) → review?(jst)
Updated•13 years ago
|
Attachment #555505 -
Flags: review?(jst) → review+
Assignee | ||
Comment 11•13 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/b55b2c3a2fdb
Flags: in-testsuite?
Whiteboard: [need review]
Target Milestone: --- → mozilla9
Comment 12•13 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/b55b2c3a2fdb
Status: NEW → RESOLVED
Closed: 13 years ago
OS: Mac OS X → All
Hardware: x86 → All
Resolution: --- → FIXED
Version: unspecified → Trunk
Comment 13•13 years ago
|
||
Comment on attachment 555505 [details] [diff] [review] Make the set of interfaces exposed by windows saner across different window types. >--- a/dom/base/nsDOMClassInfo.cpp >+++ b/dom/base/nsDOMClassInfo.cpp > // FIXME: Bug 680903. Should ModalContentWindow really not have > // touch, performance apis and have unconditional indexeddb?? Fixed?
Assignee | ||
Comment 14•13 years ago
|
||
Er, yes. Pushed a followup as http://hg.mozilla.org/integration/mozilla-inbound/rev/7ccfcddfed82
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•