diff options
author | FranklinDM <mrmineshafter17@gmail.com> | 2023-04-07 12:04:38 +0800 |
---|---|---|
committer | FranklinDM <mrmineshafter17@gmail.com> | 2023-04-07 23:41:54 +0800 |
commit | 0206e87a2ef3ba0769de3589d4a99ba5959918f5 (patch) | |
tree | a13c21c7ca686427b01b66bc8f856056388ccd9a /dom/base/nsContentUtils.h | |
parent | 253c711a922193c41a151e12dd81179624921841 (diff) | |
download | uxp-0206e87a2ef3ba0769de3589d4a99ba5959918f5.tar.gz |
Issue #2197 - Part 1b: Transferables should be arrays of objects
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1336020
Diffstat (limited to 'dom/base/nsContentUtils.h')
-rw-r--r-- | dom/base/nsContentUtils.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dom/base/nsContentUtils.h b/dom/base/nsContentUtils.h index a0c602f61a..abacf041df 100644 --- a/dom/base/nsContentUtils.h +++ b/dom/base/nsContentUtils.h @@ -2812,6 +2812,11 @@ public: static bool IsCustomElementsEnabled() { return sIsCustomElementsEnabled; } + static nsresult + CreateJSValueFromSequenceOfObject(JSContext* aCx, + const mozilla::dom::Sequence<JSObject*>& aTransfer, + JS::MutableHandle<JS::Value> aValue); + private: static bool InitializeEventTable(); |