Closed
Bug 254510
Opened 20 years ago
Closed 20 years ago
Bug 200433 regressed by patch in bug 253597
Categories
(Core :: Graphics: Image Blocking, defect)
Core
Graphics: Image Blocking
Tracking
()
RESOLVED
FIXED
People
(Reporter: bzbarsky, Assigned: mvl)
Details
(Keywords: regression)
Attachments
(2 files)
2.34 KB,
patch
|
jst
:
review+
|
Details | Diff | Splinter Review |
1.92 KB,
patch
|
mvl
:
review+
bzbarsky
:
superreview+
|
Details | Diff | Splinter Review |
The patch in bug 253597 regressed the fix from bug 200433 (the ShouldProcess never blocks anything now). See bug 253597 comment 9 for more information. It'd be nice to fix this before next week's freeze...
Summary: Bug 200433 regressed by patch in bug 253597 → Bug 200433 regressed by patch in bug 253597
Assignee | ||
Comment 1•20 years ago
|
||
This bug only affects third-party checks. So the testcase in bug 253597 doesn't work. The patch gets the documentURI from the node if the uri is null. It's done in nsImgManager. I'm not sure if it should be moved up, into nsContentPolicy or something. I hope my use of nsCOMptr vs normal pointers is ok.
Assignee | ||
Updated•20 years ago
|
Attachment #156986 -
Flags: review?(jst)
Comment 2•20 years ago
|
||
Comment on attachment 156986 [details] [diff] [review] patch v1 r=jst
Attachment #156986 -
Flags: review?(jst) → review+
Reporter | ||
Comment 3•20 years ago
|
||
I'd put this in nsContentPolicy so all content policy impls benefit from it...
Assignee | ||
Comment 4•20 years ago
|
||
moved code into nsContentPolicy
Assignee | ||
Updated•20 years ago
|
Attachment #157511 -
Flags: superreview?(bzbarsky)
Reporter | ||
Comment 5•20 years ago
|
||
Comment on attachment 157511 [details] [diff] [review] alternative patch >Index: content/base/src/nsContentPolicy.cpp >+ nsIDocument *doc = node->GetOwnerDoc(); Make that an nsCOMPtr and toss in: if (!doc) { doc = do_QueryInteface(requestingContext); } With that, sr=bzbarsky
Attachment #157511 -
Flags: superreview?(bzbarsky) → superreview+
Assignee | ||
Comment 6•20 years ago
|
||
Comment on attachment 157511 [details] [diff] [review] alternative patch carrying review forward
Attachment #157511 -
Flags: review+
Assignee | ||
Comment 7•20 years ago
|
||
patch checked in (updated to bz's comments)
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•