Closed
Bug 1280198
Opened 8 years ago
Closed 8 years ago
Convert zipwriter/test/unit/test_asyncadd.js to use channel.open2()
Categories
(Core :: DOM: Security, defect)
Core
DOM: Security
Tracking
()
RESOLVED
FIXED
mozilla50
Tracking | Status | |
---|---|---|
firefox50 | --- | fixed |
People
(Reporter: ckerschb, Assigned: ckerschb)
References
Details
(Whiteboard: [domsecurity-active])
Attachments
(1 file, 1 obsolete file)
3.18 KB,
patch
|
ckerschb
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Updated•8 years ago
|
Assignee | ||
Comment 1•8 years ago
|
||
Kris, you have been touching that test and you are familiar with our conversion from using open() to using open2(). Not changing any functionality within that test - are you willing to sign off on that change?
Attachment #8762866 -
Flags: review?(kmaglione+bmo)
Comment 2•8 years ago
|
||
Comment on attachment 8762866 [details] [diff] [review] bug_1280198_convert_test_asyncadd_open2.patch Review of attachment 8762866 [details] [diff] [review]: ----------------------------------------------------------------- Looks good to me ::: modules/libjar/zipwriter/test/unit/test_asyncadd.js @@ +3,5 @@ > * file, You can obtain one at http://mozilla.org/MPL/2.0/. > */ > > var Cu = Components.utils; > +Cu.import("resource://gre/modules/NetUtil.jsm"); The definition of |ioSvc| an also be removed from head_zipwriter.js now. @@ +79,5 @@ > stream: function method_stream(entry, source) > { > zipW.addEntryStream(entry, source.lastModifiedTime * PR_MSEC_PER_SEC, > Ci.nsIZipWriter.COMPRESSION_NONE, > + NetUtil.newChannel({ Nit: The added lines all have an extra leading space.
Attachment #8762866 -
Flags: review?(kmaglione+bmo) → review+
Assignee | ||
Comment 3•8 years ago
|
||
Thanks!
Attachment #8762866 -
Attachment is obsolete: true
Attachment #8762927 -
Flags: review+
Assignee | ||
Updated•8 years ago
|
Keywords: checkin-needed
Pushed by cbook@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/cf8d980f3031 Convert zipwriter/test/unit/test_asyncadd.js to use channel.open2() r=kmaglione
Keywords: checkin-needed
Comment 5•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/cf8d980f3031
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox50:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
You need to log in
before you can comment on or make changes to this bug.
Description
•