Open
Bug 1749042
Opened 3 years ago
Updated 3 years ago
Web IDL constructor cannot be MOZ_CAN_RUN_SCRIPT
Categories
(Core :: DOM: Bindings (WebIDL), defect, P3)
Core
DOM: Bindings (WebIDL)
Tracking
()
NEW
People
(Reporter: saschanaz, Unassigned)
Details
0:37.31 In file included from UnifiedBindings16.cpp:392:
0:37.31 C:/Users/sasch/Documents/GitHub/gecko-dev/obj-domstreams/dom/bindings/ReadableStreamBinding.cpp(529,60): error: functions marked as MOZ_CAN_RUN_SCRIPT can only be called from functions also marked as MOZ_CAN_RUN_SCRIPT
0:37.31 auto result(StrongOrRawPtr<mozilla::dom::ReadableStream>(mozilla::dom::ReadableStream::Constructor(global, Constify(arg0), Constify(arg1), rv)));
0:37.31 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0:37.31 C:/Users/sasch/Documents/GitHub/gecko-dev/obj-domstreams/dom/bindings/ReadableStreamBinding.cpp(469,1): note: caller function declared here
0:37.31 _constructor(JSContext* cx_, unsigned argc, JS::Value* vp)
Updated•3 years ago
|
Severity: -- → S3
Priority: -- → P3
You need to log in
before you can comment on or make changes to this bug.
Description
•