mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-13 02:37:32 +09:00
Issue #1442 - Part 17 - Creating FetchStream as a out param in order to avoid JS hazards https://bugzilla.mozilla.org/show_bug.cgi?id=1128959
This commit is contained in:
parent
529bc13f05
commit
e22845913d
3 changed files with 22 additions and 17 deletions
|
|
@ -35,10 +35,10 @@ public:
|
|||
NS_DECL_NSIINPUTSTREAMCALLBACK
|
||||
NS_DECL_NSIOBSERVER
|
||||
|
||||
static JSObject*
|
||||
static void
|
||||
Create(JSContext* aCx, FetchStreamHolder* aStreamHolder,
|
||||
nsIGlobalObject* aGlobal, nsIInputStream* aInputStream,
|
||||
ErrorResult& aRv);
|
||||
JS::MutableHandle<JSObject*> aStream, ErrorResult& aRv);
|
||||
|
||||
void
|
||||
Close();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue