<rdar://problem/65271931>
Created attachment 404342 [details] proposed patch.
Comment on attachment 404342 [details] proposed patch. View in context: https://bugs.webkit.org/attachment.cgi?id=404342&action=review r=me with comment. > LayoutTests/fast/css-custom-paint/out-of-memory-while-adding-worklet-module-expected.txt:5 > + RenderBody {BODY} at (8,8) size 784x584 Please include js-pre.js and js-post.js and disable this layout dump.
Comment on attachment 404342 [details] proposed patch. View in context: https://bugs.webkit.org/attachment.cgi?id=404342&action=review r=me too with nit. > Source/JavaScriptCore/runtime/VM.cpp:473 > + else > + RELEASE_ASSERT(bigInt); Nit: I don't think this is needed and will probably be removed by the compiler.
Comment on attachment 404342 [details] proposed patch. View in context: https://bugs.webkit.org/attachment.cgi?id=404342&action=review >> Source/JavaScriptCore/runtime/VM.cpp:473 >> + RELEASE_ASSERT(bigInt); > > Nit: I don't think this is needed and will probably be removed by the compiler. It is needed. If the success pointer is null, we want to RELEASE_ASSERT(the result). This will be compiled into an unconditional crash.
Thanks for the reviews. I've made the requested test changes. Landed in r264413: <http://trac.webkit.org/r264413>.