Page MenuHomePhabricator

Align mediawiki.Uri more with the native URL constructor
Closed, DuplicatePublic


Chrome and Firefox both ship with a native URL constructor (

There is a polyfill implemented at

This seems to be a more stable implementation than whatever we came up with. It has solved bugs such as T68617.

Event Timeline

Krinkle raised the priority of this task from to Needs Triage.
Krinkle updated the task description. (Show Details)
Krinkle added a subscriber: Krinkle.

Currently blocked because upstream polyfill insists on using ES5 feature Object.create(null); which our shim currently doesn't support. As well as ES5 syntax such as prototype: { get href() { which can't be polyfilled at run-time.