Closed Bug 289650 Opened 20 years ago Closed 20 years ago

nsIWebBrowserPersist should inherit from nsICancelable

Categories

(Core Graveyard :: Embedding: APIs, enhancement, P1)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.8beta2

People

(Reporter: Biesinger, Assigned: Biesinger)

References

Details

(Keywords: arch)

Attachments

(1 file, 1 obsolete file)

I want to make exthandler and webbrowserpersist expose a common interface for
cancelling downloads, so that nsITransfer::init can take an nsICancelable
instead of an nsIWebBrowserPersist, and to remove its observer attribute.
Status: NEW → ASSIGNED
Priority: -- → P1
Target Milestone: --- → mozilla1.8beta2
Attached patch patch (obsolete) — Splinter Review
Attachment #180138 - Flags: superreview?(bzbarsky)
Attachment #180138 - Flags: review?(darin)
Attachment #180138 - Flags: review?(darin) → review+
Attachment #180138 - Flags: superreview?(bzbarsky) → superreview+
Comment on attachment 180138 [details] [diff] [review]
patch

I'd like to have this in 1.8b2 - it only implements an additional interface on
nsWebBrowserPersist and should thus be low-risk.
Attachment #180138 - Flags: approval1.8b2?
oh, I meant to comment on why I left cancelSave() on this interface... that's
for compatibility with existing javascript code using nsIWBP.
Comment on attachment 180138 [details] [diff] [review]
patch

oops. this patch misses a change...
Attachment #180138 - Flags: approval1.8b2?
Attached patch patch v2Splinter Review
Attachment #180138 - Attachment is obsolete: true
Comment on attachment 180171 [details] [diff] [review]
patch v2

a=asa
Attachment #180171 - Flags: approval1.8b2? → approval1.8b2+
Checking in embedding/browser/webBrowser/nsWebBrowser.cpp;
/cvsroot/mozilla/embedding/browser/webBrowser/nsWebBrowser.cpp,v  <-- 
nsWebBrowser.cpp
new revision: 1.151; previous revision: 1.150
done
Checking in embedding/browser/webBrowser/nsWebBrowser.h;
/cvsroot/mozilla/embedding/browser/webBrowser/nsWebBrowser.h,v  <--  nsWebBrowser.h
new revision: 1.48; previous revision: 1.47
done
Checking in embedding/components/webbrowserpersist/public/nsIWebBrowserPersist.idl;
/cvsroot/mozilla/embedding/components/webbrowserpersist/public/nsIWebBrowserPersist.idl,v
 <--  nsIWebBrowserPersist.idl
new revision: 1.17; previous revision: 1.16
done
Checking in embedding/components/webbrowserpersist/src/nsWebBrowserPersist.cpp;
/cvsroot/mozilla/embedding/components/webbrowserpersist/src/nsWebBrowserPersist.cpp,v
 <--  nsWebBrowserPersist.cpp
new revision: 1.108; previous revision: 1.107
done
Checking in embedding/components/webbrowserpersist/src/nsWebBrowserPersist.h;
/cvsroot/mozilla/embedding/components/webbrowserpersist/src/nsWebBrowserPersist.h,v
 <--  nsWebBrowserPersist.hnew revision: 1.30; previous revision: 1.29
done
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: