Closed Bug 1087730 Opened 11 years ago Closed 11 years ago

Make JS callers of ios.newChannel call ios.newChannel2 in extensions/

Categories

(Core :: DOM: Security, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla37

People

(Reporter: ckerschb, Assigned: ckerschb)

References

Details

Attachments

(1 file)

No description provided.
Assignee: nobody → mozilla
Status: NEW → ASSIGNED
Depends on: 1095798
Monica, in Bug 1038756 we started attaching a loadInfo to every channel whenever the channel gets created through NS_NewChannel in nsNetUtil.h. Now we are expanding the loadInfo attachment to also include channels that get created within JS to ultimately end up having a loadInfo on every channel. Please note that this bug is dependent on Bug 1095798 which adds newChannel2 to NetUtil.jsm (which is about to land on inbound today). Anyway, please find a description of all the required arguments to create a channel here [1] or alternatively here [2]. Since all the channels created in this patch are created in some kind of test-environment, I believe that the arguments provided should be accurate. But please double check. If there are more appropriate arguments to use, please let me know. Thanks! [1] http://mxr.mozilla.org/mozilla-central/source/netwerk/base/public/nsNetUtil.h#202 [2] http://mxr.mozilla.org/mozilla-central/source/netwerk/base/public/nsIIOService.idl#76
Attachment #8536705 - Flags: review?(mmc)
Comment on attachment 8536705 [details] [diff] [review] js_6_extensions.patch Review of attachment 8536705 [details] [diff] [review]: ----------------------------------------------------------------- I took a look at https://bugzilla.mozilla.org/page.cgi?id=splinter.html&bug=1095798&attachment=8536718 and this looks all right to me. Thanks for fixing!
Attachment #8536705 - Flags: review?(mmc) → review+
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Depends on: 1125618
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: