Closed Bug 231893 Opened 21 years ago Closed 21 years ago

progressListener.QueryInterface should not throw NS_NOINTERFACE for nsISupports

Categories

(Core :: Print Preview, defect)

x86
Windows XP
defect
Not set
trivial

Tracking

()

RESOLVED FIXED

People

(Reporter: timeless, Assigned: Callek)

Details

(Keywords: helpwanted, Whiteboard: [good first bug])

Attachments

(1 file, 1 obsolete file)

Exception ``2147500034'' thrown from function anonymous(iid=XPComponent:{7}) in <chrome://global/content/printPreviewProgress.js> line 108. Stopped for thrown exception. #0: function anonymous(iid=XPComponent:{7}) in <chrome://global/content/printPreviewProgress.js> line 108 QueryInterface : function(iid) - 104 { - 105 if (iid.equals(Components.interfaces.nsIWebProgressListener) || iid.equals(Components.interfaces.nsISupportsWeakReference)) - 106 return this; 107 - 108 throw Components.results.NS_NOINTERFACE; 109 } 0001: iid.number $[1] = [string] "{00000000-0000-0000-c000-000000000046}"
Keywords: helpwanted
Whiteboard: [good first bug]
Attached patch Fix (obsolete) — Splinter Review
Timeless, would you do the r/sr?'s on this for me.
Attached patch Toolkit FixSplinter Review
The fix is also needed for toolkit
Attachment #156667 - Flags: superreview?(neil.parkwaycc.co.uk)
Attachment #156667 - Flags: review+
Attachment #156667 - Flags: superreview?(neil.parkwaycc.co.uk) → superreview+
Assignee: core.printing → jw6057
Comment on attachment 156668 [details] [diff] [review] Toolkit Fix This shouldnt be needed for aviary, though would not suffer if it was added there
Attachment #156668 - Flags: superreview?(bugs)
Attachment #156668 - Flags: review?(bugs)
Comment on attachment 156667 [details] [diff] [review] Fix mozilla/xpfe/global/resources/content/printPreviewProgress.js 1.7
Attachment #156667 - Attachment is obsolete: true
Attachment #156668 - Flags: superreview?(bugs) → superreview+
Comment on attachment 156668 [details] [diff] [review] Toolkit Fix <Callek> blake: I dont suppose I can get you to expand your sr+ to a r+sr+ on Bug 231893 would you <Callek> blake: thanks again in advance <blake> yeah just make it both
Attachment #156668 - Flags: review?(bugs) → review+
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: