Closed
Bug 658959
Opened 13 years ago
Closed 13 years ago
Fix DownloadManager (and tests) usage of deprecated Storage binding APIs.
Categories
(SeaMonkey :: Download & File Handling, defect)
SeaMonkey
Download & File Handling
Tracking
(Not tracked)
RESOLVED
FIXED
seamonkey2.2
People
(Reporter: philip.chee, Assigned: ewong)
References
Details
Attachments
(1 file, 2 obsolete files)
11.28 KB,
patch
|
neil
:
review+
philip.chee
:
feedback+
|
Details | Diff | Splinter Review |
Bug 584316 - Fix DownloadManager usage of deprecated Storage binding APIs Bug 645049 - Update tests to no longer use a deprecated API From Bug 584316: > bug 507414 declared deprecated a bunch of binding functions download manager > uses, you should update to the new code. We will need to update our download manager UI code and tests since the APIs have changed on trunk. Attachment 521862 [details] [diff] and Attachment 521875 [details] [diff] look relevant.
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → ewong
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•13 years ago
|
||
Attachment #535934 -
Flags: feedback?
Assignee | ||
Updated•13 years ago
|
Attachment #535934 -
Flags: feedback? → feedback?(philip.chee)
Reporter | ||
Comment 2•13 years ago
|
||
Comment on attachment 535934 [details] [diff] [review] Fix DownloadManager (and tests) usage of deprecated Storage binding APIs. bindStringParameter() and bindInt64Parameter() need to be replaced as well. > +++ b/suite/common/downloads/tests/chrome/test_action_keys_respect_focus.xul > stmt.bindStringParameter(0, "Finished Download"); > stmt.bindStringParameter(1, filePath); > stmt.bindStringParameter(2, "http://" + site + "/file"); > - stmt.bindInt32Parameter(3, dm.DOWNLOAD_FINISHED); > + stmt.bindByIndex(3, dm.DOWNLOAD_FINISHED); stmt.bindStringParameter() => stmt.bindByIndex(() (Other tests as well) > +++ b/suite/common/downloads/tests/chrome/test_multiword_search.xul > stmt.bindStringParameter(0, "Super Pimped Download"); > stmt.bindStringParameter(1, filePath); > stmt.bindStringParameter(2, "http://" + site + "/file"); > - stmt.bindInt32Parameter(3, dm.DOWNLOAD_FINISHED); > + stmt.bindByIndex(3, dm.DOWNLOAD_FINISHED); > stmt.bindInt64Parameter(4, new Date(1985, 7, 2) * 1000); > stmt.bindInt64Parameter(5, 111222333444); stmt.bindInt64Parameter() => stmt.bindByIndex(() (Other tests as well)
Attachment #535934 -
Flags: feedback?(philip.chee) → feedback-
Reporter | ||
Comment 3•13 years ago
|
||
In /suite/common/contentAreaClick.js addToUrlbarHistory() uses bindStringParameter() twice.
Assignee | ||
Comment 4•13 years ago
|
||
Attachment #535934 -
Attachment is obsolete: true
Attachment #536064 -
Flags: feedback?(philip.chee)
Assignee | ||
Comment 5•13 years ago
|
||
Attachment #536064 -
Attachment is obsolete: true
Attachment #536064 -
Flags: feedback?(philip.chee)
Attachment #536078 -
Flags: feedback?(philip.chee)
Reporter | ||
Comment 6•13 years ago
|
||
Comment on attachment 536078 [details] [diff] [review] Fix DownloadManager (and tests) usage of deprecated Storage binding APIs.(v3) Passed all the download manager tests. Also tested clicking on links.
Attachment #536078 -
Flags: feedback?(philip.chee) → feedback+
Reporter | ||
Comment 7•13 years ago
|
||
Neil would be an appropriate reviewer.
Assignee | ||
Updated•13 years ago
|
Attachment #536078 -
Flags: review?(neil)
Updated•13 years ago
|
Attachment #536078 -
Flags: review?(neil) → review+
Assignee | ||
Updated•13 years ago
|
Keywords: checkin-needed
Reporter | ||
Comment 8•13 years ago
|
||
Pushed to comm-central http://hg.mozilla.org/comm-central/rev/2e4cb4a1ea64
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Reporter | ||
Updated•13 years ago
|
Keywords: checkin-needed
Target Milestone: --- → seamonkey2.2
You need to log in
before you can comment on or make changes to this bug.
Description
•