Closed
Bug 1851039
Opened 10 months ago
Closed 10 months ago
Investigate if it is possible to reuse the text node when setting element.textContent
Categories
(Core :: DOM: Core & HTML, enhancement)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
119 Branch
Tracking | Status | |
---|---|---|
firefox119 | --- | fixed |
People
(Reporter: smaug, Assigned: smaug)
References
Details
(Whiteboard: [sp3])
Attachments
(1 file)
Reusing the text node should be possible if it is owned only by the parent and possible primary frame and there are no mutation event listeners nor mutation observers.
Updated•10 months ago
|
See Also: → https://mozilla-hub.atlassian.net/browse/SP3-512
Assignee | ||
Comment 1•10 months ago
|
||
Updated•10 months ago
|
Attachment #9351119 -
Attachment description: WIP: Bug 1851039 - Investigate if it is possible to reuse the text node when setting element.textContent, r=emilio → Bug 1851039 - Investigate if it is possible to reuse the text node when setting element.textContent, r=emilio
Updated•10 months ago
|
Severity: -- → N/A
Type: defect → enhancement
Pushed by opettay@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e6370dc41077 Investigate if it is possible to reuse the text node when setting element.textContent, r=emilio
Comment 3•10 months ago
•
|
||
Backed out for causing wpt failures in dynamic-mtext-like-001.html
- Backout link
- Push with failures
- Failure Log
- Failure line: TEST-UNEXPECTED-FAIL | /mathml/presentation-markup/tokens/dynamic-mtext-like-001.html | Testing http://web-platform.test:8000/mathml/presentation-markup/tokens/dynamic-mtext-like-001.html == http://web-platform.test:8000/mathml/presentation-markup/tokens/dynamic-mtext-like-001-ref.html
And ba failures: https://treeherder.mozilla.org/logviewer?job_id=427745896&repo=autoland
Flags: needinfo?(smaug)
Assignee | ||
Comment 5•10 months ago
|
||
Smells like a layout bug, but will investigate
Pushed by opettay@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3451691c483d Investigate if it is possible to reuse the text node when setting element.textContent, r=emilio
Comment 7•10 months ago
|
||
Backed out for causing mochitest failures in accessible/tests/browser/e10s/browser_caching_description.js
Backout link: https://hg.mozilla.org/integration/autoland/rev/9544b885e5a8df34cd7105ec16907c5db432d095
Flags: needinfo?(smaug)
Pushed by opettay@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7fd1c7032f52 Investigate if it is possible to reuse the text node when setting element.textContent, r=emilio
Assignee | ||
Updated•10 months ago
|
Flags: needinfo?(smaug)
Comment 9•10 months ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 10 months ago
status-firefox119:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•