This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Web Inspector: evaluateScriptForExtension() incorrectly unwraps inter…
…nal errors, causing an ASSERT https://bugs.webkit.org/show_bug.cgi?id=233961 <rdar://86123763> Reviewed by Patrick Angle. Standardize the unwrapping code based on the evaluateScriptInExtensionTab version, which correctly handles the case where an internal error is returned by the evaluation. This happens, for example, when NotImplemented is returned for unsupported evaluation options. This particular issue was caused by a lack of support for the 'frameURL' option. The fix for that is tracked by https://webkit.org/b/222568/. * WebProcess/Inspector/WebInspectorUIExtensionController.cpp: (WebKit::WebInspectorUIExtensionController::evaluateScriptForExtension): Canonical link: https://commits.webkit.org/244992@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@286747 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing 2 changed files with 26 additions and 3 deletions.