When the inspectedWindow.eval() throws, the result is undefined instead of the text of the error messages. Patch ready.
Created attachment 182810 [details] Patch
Comment on attachment 182810 [details] Patch Attachment 182810 [details] did not pass mac-ews (mac): Output: http://queues.webkit.org/results/15873954 New failing tests: inspector/extensions/extensions-eval.html
Comment on attachment 182810 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=182810&action=review > LayoutTests/inspector/extensions/extensions-eval-expected.txt:16 > +Evaluate: "ReferenceError: IamNotDefined is not defined" (exception: true) I think JSC may have other wording for the error -- so perhaps just eval('throw "exception"'), this would let us avoid custom test expectations.
Comment on attachment 182810 [details] Patch Attachment 182810 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://queues.webkit.org/results/15908409 New failing tests: inspector/extensions/extensions-eval.html
Created attachment 183006 [details] Patch
Comment on attachment 183006 [details] Patch LGTM
Comment on attachment 183006 [details] Patch Clearing flags on attachment: 183006 Committed r140114: <http://trac.webkit.org/changeset/140114>
All reviewed patches have been landed. Closing bug.