Bug 286101
| Summary: | Remove all usage of mechanize | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Sam Sneddon [:gsnedders] <gsnedders> |
| Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=176344 | ||
Sam Sneddon [:gsnedders]
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/143083549>