Closed
Bug 2016071
Opened 5 months ago
Closed 3 months ago
Make location.ancestorOrigins cache lists
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
151 Branch
| Tracking | Status | |
|---|---|---|
| firefox151 | --- | fixed |
People
(Reporter: sfarre, Assigned: sfarre)
References
Details
Attachments
(1 file)
Spec is reworked to try to return the same object as much as possible: https://github.com/whatwg/html/pull/12071
Implementation should be something like:
- Stash an empty list on a Location/LocationBase
- Stash the relevant doc's DOMStringList on the Document
Webcompat story:
Chrome returns a new object every time
Webkit caches the object.
Updated•5 months ago
|
Severity: -- → S3
| Assignee | ||
Comment 1•3 months ago
|
||
Caches an empty list on Location for when relevant doc is null, and
caches the DOMStringList on Document when the user has called it. Which
moves us closer to spec.
Updated•3 months ago
|
Attachment #9570166 -
Attachment description: Bug 2016071 - Return cached same-object anscestorOrigins list when possible r=#dom-core! → Bug 2016071 - Return cached same-object ancestorOrigins list when possible r=#dom-core!
Pushed by sfarre@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/40f54ac94572
https://hg.mozilla.org/integration/autoland/rev/235c31a3441a
Return cached same-object ancestorOrigins list when possible r=dom-core,smaug
Comment 3•3 months ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 3 months ago
status-firefox151:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 151 Branch
Updated•3 months ago
|
QA Whiteboard: [qa-triage-done-c152/b151]
You need to log in
before you can comment on or make changes to this bug.
Description
•