This bug has been reported at http://crbug/99664
Have a document with this code snippet.
Created attachment 115170 [details]
Comment on attachment 115170 [details]
Should we prevent running the script in the Inspector? It seems we should send the script to the inspected page to exec.
Created attachment 115372 [details]
(In reply to comment #2)
> (From update of attachment 115170 [details])
> Should we prevent running the script in the Inspector? It seems we should send the script to the inspected page to exec.
Comment on attachment 115372 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=115372&action=review
I'd rather do this check at the call site and return href here, otherwise looks good.
Committed r100588: <http://trac.webkit.org/changeset/100588>