Regressed document.baseURI is not updated when <base> is removed from CSP-enabled pages

Published: | Categories: DOM | Creative Commons BY-SA 3.0

Description

The <base> element can be used to change the Node.baseURI property’s value. When the element is removed, baseURI should be automatically reverted to the default value, which is document.location, but the restoration doesn’t work on Firefox 35 if CSP (Content Security Policy) is enabled for the document. This issue has been fixed with Firefox 35.0.1.

References