Closed
Bug 147741
Opened 23 years ago
Closed 23 years ago
hook up document level notifications for nsIContentPolicy
Categories
(Core Graveyard :: Embedding: APIs, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla1.0.1
People
(Reporter: rpotts, Assigned: rpotts)
References
Details
(Keywords: topembed+, Whiteboard: [adt2 RTM] [ETA 06/27])
Attachments
(1 file)
2.21 KB,
patch
|
jst
:
review+
darin.moz
:
superreview+
jud
:
approval+
|
Details | Diff | Splinter Review |
Currently, the nsIContentPolicy interface is only called for image/plugin/script
loads.
It also needs to receive notifications for frame/top-level document loads too.
In order to achieve this, the following must be done:
1. hook up nsIContentPolicy::SUBDOCUMENT notifications.
2. introduce a new nsIContentPolicy::DOCUMENT notification
3. hook it up to fire for each 'top level document' load...
Alternatively, both frame and top level document notifications could be
represented by DOCUMENT notifications...
i'm open to either approach...
-- rick
Comment 1•23 years ago
|
||
test
Assignee | ||
Comment 2•23 years ago
|
||
Assignee | ||
Comment 3•23 years ago
|
||
The above patch causes document and sub-document URIs to pass through the
nsIContentPolicy listeners.
This allows frame loads to be blocked via the nsIDocShell::allowSubframes attribute.
-- rick
Comment 4•23 years ago
|
||
Comment on attachment 88596 [details] [diff] [review]
consult the nsIContentPolicy for document and sub-document loads.
sr=darin
Attachment #88596 -
Flags: superreview+
Comment 5•23 years ago
|
||
Comment on attachment 88596 [details] [diff] [review]
consult the nsIContentPolicy for document and sub-document loads.
r=jst
Attachment #88596 -
Flags: review+
Assignee | ||
Comment 6•23 years ago
|
||
The patch has been checked into the trunk.
Assignee | ||
Comment 7•23 years ago
|
||
marking fixed... and adding keywords so it will be considered for the branch.
-- rick
Updated•23 years ago
|
Whiteboard: [adt2 RTM] [ETA 06/24]
Target Milestone: --- → mozilla1.0.1
Comment 9•23 years ago
|
||
mdunn, would you be able to verify this on the trunk today?
Comment 10•23 years ago
|
||
mdunn - is this something you can verify on the trunk? if yes, pls do so, then
mark this as verified, so that we can take it on the branch asap. thanks!
Blocks: 143047
Updated•23 years ago
|
Attachment #88596 -
Flags: approval+
Comment 11•23 years ago
|
||
please checkin to the 1.0.1 branch. once there, remove the "mozilla1.0.1+"
keyword and add the "fixed1.0.1" keyword.
Keywords: mozilla1.0.1 → mozilla1.0.1+
Assignee | ||
Comment 13•23 years ago
|
||
checked into the branch too !
Keywords: mozilla1.0.1+ → fixed1.0.1
Comment 14•23 years ago
|
||
posthumus adt1.0.1+. pls get an adt1.0.1+ before checking into the 1.0 branch.
thanks!
Updated•6 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•