mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 08:04:49 +01:00
Wombat overrides document.baseURI and <base>.href in order to return the original URL rather than the proxied URL. The <base>.href override however ended up making a writable attribute read-only, which could trigger script errors in strict-mode JS. Fix this by avoiding replacing the setter for a DOM property if no replacement setter is provided. Fixes an error loading Hypothesis under Microsoft Edge.