This repository was archived by the owner on Jun 12, 2019. It is now read-only.
This repository was archived by the owner on Jun 12, 2019. It is now read-only.
[proposal] add baseURI polyfill #2
Closed
Description
Would this be the right place where to add the polyfill for baseURI
?
if ('baseURI' in Node.prototype === false) {
Object.defineProperty(Node.prototype, 'baseURI', {
get: function() {
var base = (this.ownerDocument || this).querySelector('base');
return (base || window.location).href;
},
configurable: true,
enumerable: true
});
}
Metadata
Metadata
Assignees
Labels
No labels