NEW 286101
Remove all usage of mechanize
https://bugs.webkit.org/show_bug.cgi?id=286101
Summary Remove all usage of mechanize
Sam Sneddon [:gsnedders]
Reported 2025-01-16 15:38:16 PST
This is all bad, because it all means we're subject to the whims of HTML changing under us — and why various things broke with the Bugzilla redesign. As far as I can tell, this is only used to interact with Bugzilla and Buildbot, both of which have APIs: gsnedders@gsnedders-margot WebKit % rg mechanize --glob '!autoinstalled' --sort=path Tools/CISupport/ews-app/ews/common/bugzilla.py 205: from mechanize import Browser Tools/Scripts/webkitpy/__init__.py 83:AutoInstall.register(Package('mechanize', Version(0, 4, 5))) Tools/Scripts/webkitpy/common/net/bugzilla/bugzilla.py 107: from mechanize import Browser Tools/Scripts/webkitpy/common/net/buildbot/buildbot.py 44:from mechanize import Browser Tools/Scripts/webkitpy/common/net/ewsserver.py 37: from mechanize import Browser Tools/Scripts/webkitpy/common/net/networktransaction_unittest.py 59: from mechanize import HTTPError 66: from mechanize import URLError 71: from mechanize import HTTPError
Attachments
Radar WebKit Bug Importer
Comment 1 2025-01-16 15:38:23 PST
Note You need to log in before you can comment on or make changes to this bug.