Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit c400ca6

Browse files
authored
Make the chrome.windows.update (usually to resize or focus a window) to always succeed, instead of returning an error code so extensions like Selenium IDE can run
1 parent 71134fb commit c400ca6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

chrome/browser/extensions/api/tabs/tabs_api.cc

+1-3
Original file line numberDiff line numberDiff line change
@@ -715,9 +715,7 @@ ExtensionFunction::ResponseAction WindowsUpdateFunction::Run() {
715715
windows::Update::Params::Create(*args_));
716716
EXTENSION_FUNCTION_VALIDATE(params);
717717

718-
if (extension()->id() == "mooikfkahbdckldjjndioackbalphokd")
719-
return RespondNow(NoArguments());
720-
return RespondNow(Error(kUnknownErrorDoNotUse));
718+
return RespondNow(NoArguments());
721719
}
722720

723721
ExtensionFunction::ResponseAction WindowsRemoveFunction::Run() {

0 commit comments

Comments
 (0)