Comment #10 on issue 5748 by alastairpatrick: Chrome does not throw a JavaScript exception when an npruntime callback fails http://code.google.com/p/chromium/issues/detail?id=5748
There's a repro case in the O3D unit tests at http://src.chromium.org/svn/trunk/src/o3d/tests/selenium/tests/v8-test.html. This test: g_suite.testV8ExceptionsInPluginEvalResultInErrorCallback = function() { var error = 'no error'; var exceptionThrown = false; window.g_plugin.client.setErrorCallback(function(e) { error = e; }); try { window.g_plugin.eval('throw "error";'); } catch(e) { exceptionThrown = true; } // Chrome bug: http://code.google.com/p/chromium/issues/detail?id=5748 if (!isChrome && !isSafari) { g_test.assertTrue(exceptionThrown); } g_test.assertEquals('Uncaught error in throw "error";', error); }; Note the special case for Chrome and Safari. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ Automated mail from issue updates at http://crbug.com/ Subscription options: http://groups.google.com/group/chromium-bugs -~----------~----~----~----~------~----~------~--~---
