Closed
Bug 806127
Opened 12 years ago
Closed 12 years ago
ThirdPartyUtil should consider browser/app frames to be top-level windows.
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
People
(Reporter: justin.lebar+bug, Assigned: justin.lebar+bug)
References
Details
Attachments
(2 files)
(deleted),
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
An in-process <iframe mozbrowser/mozapp> can't access IndexedDB because it's considered third-party by ThirdPartyUtil.
Simple patch in a moment, but we should have a test for this.
I'm really surprised we're not hitting this in B2G.
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → justin.lebar+bug
I think this is a blocker since I believe we're planning on writing various apps which wraps websites using <iframe mozbrowser>. Such apps would break IDB currently.
blocking-basecamp: --- → +
Assignee | ||
Comment 2•12 years ago
|
||
(In reply to Jonas Sicking (:sicking) from comment #1)
> I think this is a blocker since I believe we're planning on writing various
> apps which wraps websites using <iframe mozbrowser>. Such apps would break
> IDB currently.
Unless the framed content is same-origin to the wrapping app, yes.
Assignee | ||
Comment 3•12 years ago
|
||
I have a test which I'll post in bug 802366 which checks the IsThirdPartyWindow change. But I need to look into how to test the IsThirdPartyChannel change.
Attachment #675918 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 4•12 years ago
|
||
Okay, we can write a test for IsThirdPartyChannel by setting network.cookie.cookieBehavior to 1 and trying to write a cookie.
Assignee | ||
Comment 5•12 years ago
|
||
> I have a test which I'll post in bug 802366 which checks the IsThirdPartyWindow change.
This ended up going in bug 806168. I'll do the cookie service change here, though.
Assignee | ||
Comment 6•12 years ago
|
||
Attachment #675971 -
Flags: review?(bzbarsky)
Comment 7•12 years ago
|
||
Comment on attachment 675918 [details] [diff] [review]
Patch, v1
r=me
Attachment #675918 -
Flags: review?(bzbarsky) → review+
Comment 8•12 years ago
|
||
Comment on attachment 675971 [details] [diff] [review]
Tests for cookies.
r=me
Attachment #675971 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 9•12 years ago
|
||
Landed on inbound; see bug 802366 comment 46.
Assignee | ||
Comment 10•12 years ago
|
||
And backed out for further orange; see bug 802366 comment 48.
Comment 11•12 years ago
|
||
Sorry, but this got caught up in the bug 802366 bustage and was backed out.
https://hg.mozilla.org/integration/mozilla-inbound/rev/5dc1c0530b00
Assignee | ||
Comment 12•12 years ago
|
||
Comment 13•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/18abb3f6d91a
https://hg.mozilla.org/mozilla-central/rev/9b762aa96799
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
Comment 14•12 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/8b57ef499ff9
https://hg.mozilla.org/releases/mozilla-aurora/rev/e7ac05e8acfd
status-firefox18:
--- → fixed
status-firefox19:
--- → fixed
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•