Bug 1555057 Comment 11 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

(In reply to Honza Bambas (:mayhemer) from comment #10)
> OK.  Would the webext back end fill this?

Luca, could name of the extension (responsible for canceling an HTTP Request) be calculated within WebExtension framework?
Somewhere around this place:
https://searchfox.org/mozilla-central/source/toolkit/components/extensions/webrequest/ChannelWrapper.cpp#182

And consequently pass the name through nsIWritablePropertyBag interface on that channel?
(see also the previous comment)

Honza
(In reply to Honza Bambas (:mayhemer) from comment #10)
> OK.  Would the webext back end fill this?

Luca, could name of the extension (responsible for canceling an HTTP Request) be calculated within WebExtension framework?
Somewhere around this place:
https://searchfox.org/mozilla-central/rev/7531325c8660cfa61bf71725f83501028178cbb9/toolkit/components/extensions/webrequest/ChannelWrapper.cpp#211

And consequently pass the name through nsIWritablePropertyBag interface on that channel?
(see also the previous comment)

Honza
(In reply to Honza Bambas (:mayhemer) from comment #10)
> OK.  Would the webext back end fill this?

Luca, could name of the extension (responsible for canceling an HTTP Request) be calculated within WebExtension framework?
Somewhere around this place:
https://searchfox.org/mozilla-central/rev/8a990595ce6d5ed07ace2d4d5d86cc69aec90bde/toolkit/components/extensions/webrequest/WebRequest.jsm#830
And consequently pass the name through nsIWritablePropertyBag interface on that channel?
(see also the previous comment)

Honza

Back to Bug 1555057 Comment 11