Bug 1748728 Comment 0 Edit History

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

```
10:46.52 In file included from Unified_cpp_dom_streams0.cpp:92:
10:46.52 /home/matthew/unified2/dom/streams/WritableStreamDefaultController.cpp:99:13: error: functions marked as MOZ_CAN_RUN_SCRIPT can only be called from functions also marked as MOZ_CAN_RUN_SCRIPT
10:46.52           ? abortAlgorithm->AbortCallback(aCx, optionalReason, aRv)
10:46.52             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10:46.52 /home/matthew/unified2/obj-debug-browser-x86_64-pc-linux-gnu/dist/include/mozilla/dom/WritableStreamDefaultController.h:57:37: note: caller function declared here
10:46.52   virtual already_AddRefed<Promise> AbortSteps(JSContext* aCx,
10:46.52                                     ^
10:46.52 In file included from Unified_cpp_dom_streams0.cpp:92:
10:46.52 /home/matthew/unified2/dom/streams/WritableStreamDefaultController.cpp:379:24: error: functions marked as MOZ_CAN_RUN_SCRIPT can only be called from functions also marked as MOZ_CAN_RUN_SCRIPT
10:46.52       closeAlgorithm ? closeAlgorithm->CloseCallback(aCx, aRv)
10:46.52                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10:46.52 /home/matthew/unified2/dom/streams/WritableStreamDefaultController.cpp:357:6: note: caller function declared here
10:46.52 void WritableStreamDefaultControllerProcessClose(
10:46.52      ^
10:46.52 /home/matthew/unified2/dom/streams/WritableStreamDefaultController.cpp:494:13: error: functions marked as MOZ_CAN_RUN_SCRIPT can only be called from functions also marked as MOZ_CAN_RUN_SCRIPT
10:46.52           ? writeAlgorithm->WriteCallback(aCx, aChunk, *aController, aRv)
10:46.53             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10:46.53 /home/matthew/unified2/dom/streams/WritableStreamDefaultController.cpp:478:6: note: caller function declared here
10:46.53 void WritableStreamDefaultControllerProcessWrite(
10:46.54      ^
10:46.54 /home/matthew/unified2/dom/streams/WritableStreamDefaultController.cpp:673:13: error: functions marked as MOZ_CAN_RUN_SCRIPT can only be called from functions also marked as MOZ_CAN_RUN_SCRIPT
10:46.54           ? sizeAlgorithm->Call(
10:46.54             ^~~~~~~~~~~~~~~~~~~~
10:46.54 /home/matthew/unified2/obj-debug-browser-x86_64-pc-linux-gnu/dist/include/mozilla/dom/WritableStreamDefaultController.h:188:15: note: caller function declared here
10:46.54 extern double WritableStreamDefaultControllerGetChunkSize(
10:46.54               ^
```

Back to Bug 1748728 Comment 0