[Webkit-unassigned] [Bug 190843] Rejected dynamic import should be consistent on the success/failure paths

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 24 22:31:16 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=190843

Ross Kirsling <ross.kirsling at sony.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ross.kirsling at sony.com,
                   |                            |yusukesuzuki at slowstart.org

--- Comment #1 from Ross Kirsling <ross.kirsling at sony.com> ---
Not certain whether it's problematic, but I have noticed one interesting thing:

If the imported module throws on evaluation, we never actually return to the JS-side callsite for module evaluation:
https://github.com/WebKit/webkit/blob/master/Source/JavaScriptCore/builtins/ModuleLoader.js#L315

...even though an encoded jsNull is returned from the CPP side in the usual way:
https://github.com/WebKit/webkit/blob/master/Source/JavaScriptCore/runtime/JSModuleLoader.cpp#L488

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20181025/53c2bd81/attachment.html>


More information about the webkit-unassigned mailing list