Comment #5 on issue 2524 by [email protected]: Throwing an exception in FailedAccessCheckCallback causes weird behavior.
http://code.google.com/p/v8/issues/detail?id=2524

I talked with haraken@ about this today; it's looking like a bug in V8, not in my code (though my code may still be wrong :) ).

https://gist.github.com/mikewest/4753771 shows the results of a layout test run under the mac port of WebKit and the chromium port of WebKit after adding the line above to the end of failedAccessCheckInMainThread. The TypeError that's generated seems to be the `console.log` line: `console` isn't defined.

Adding `document.write('after');` just after the location line results in a SecurityErr exception being thrown, _and_ 'after' being written. For whatever reason, the exception is deferred until the next DOM manipulation.

Weird.

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to