Summary: | JS exception thrown from NPN_InvokeDefault not shown in error console. | ||
---|---|---|---|
Product: | WebKit | Reporter: | Jeremy Moskovich <playmobil> |
Component: | Plug-ins | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WONTFIX | ||
Severity: | Normal | CC: | ap, ddkilzer, dglazkov, emacemac7, ggaren, mjs, oliver |
Priority: | P2 | Keywords: | GoogleBug, InRadar |
Version: | 528+ (Nightly build) | ||
Hardware: | Mac | ||
OS: | OS X 10.5 |
Description
Jeremy Moskovich
2008-03-31 01:57:53 PDT
This bug blocks Google Gears support in Safari. Working on a real fix as we speak. Updating the bug, finally. This is very much tied to the NPN_SetException bug. The fix is to save off the current ExecState in a static (or per-thread) static, and then throw the exception in that ExecState. I tried saving the ExecState on the Instance, however that doesn't work for Obj-C (since it's a static method), and doesn't work well for JS/C++ either since you have to be thrown an JavaScriptObject in order to be able to get back to an Instance. I may find time to finish up my patch, but right now real work is distracting... This is stll likely a bug, but Gears no longer cares since Gears is dead. NPAPI is gone. |