Hide Promise with runtime flags under Cocoa JSContext API
Spawned from https://bugs.webkit.org/show_bug.cgi?id=141859#c37
Created attachment 247621 [details] Patch
Thanks for the patch! I think this makes sense for the short term. Currently using a Promise in a JSContext application does nothing but log to syslog: 1. Run a JSContext application 2. Open JSContext inspector for application 3. js> Promise.resolve("message").then(function(x) { console.log(x); }) => Application syslog "ERROR: Event loop not supported." => my "then block" never fires and never logs Ultimately we should provide some way to support promises. Until then, I think this makes sense. Someone more qualified than me should review this though.
Could you review this patch?
Comment on attachment 247621 [details] Patch Clearing flags on attachment: 247621 Committed r181064: <http://trac.webkit.org/changeset/181064>
All reviewed patches have been landed. Closing bug.