FileReader errors with "Node was not found" after history.pushState()
Categories
(GeckoView :: General, defect)
Tracking
(Not tracked)
People
(Reporter: ykiuchi150309, Unassigned, NeedInfo)
References
(Regression)
Details
(Keywords: regression, Whiteboard: [fxdroid])
Attachments
(1 file)
718 bytes,
text/html
|
Details |
Steps to reproduce:
Operating System: Android 10
Firefox version:
129.0a1 (Build #2016029231), hg-3fe6c2aa8e56+
GV: 129.0a1-20240627093119
AS: 129.20240625050253
I created a web page (attached) that has an <input type=file /> element. When the user picks a file with the input element, the web page calls window.history.pushState()
and then reads the content of the file using FileReader.prototype.readAsArrayBuffer()
.
I served the web page with a basic HTTP server and accessed it from Firefox on Android. Then I clicked on the input element, and selected a file.
Actual results:
The FileReader errored with a DOMException whose message is "Node was not found".
Expected results:
The FileReader emits the load event and has the result as an array buffer.
The web page works as expected on other browsers/platforms including:
- Firefox on macOS
- Chrome on Android
Sorry for taking a long time to confirm.
Indeed this is Android specific, as I cannot reproduce this on Windows/Linux/macOS but only on Android. Thus I'm moving this to Fenix as they would be better debugging Android issues.
Hi Jonathan, are you the right person for debugging Android filesystem issue? If not can you pass this to the right person? Thank you!
Comment 2•2 months ago
•
|
||
Sorry as well for the slow turnaround. I took a peek at it too and nothing immediate comes to me. As a quick sanity check, I can reproduce this too even after giving Fenix file system permissions to access the file system, but that doesn't seem like the cause.
GVE doesn't have any of the appropriate delegates attached so we can't compare it there, but I'm fairly certain this a GV bug.
Comment 3•2 months ago
|
||
The severity field is not set for this bug.
:owlish, could you have a look please?
For more information, please visit BugBot documentation.
Comment 4•20 days ago
|
||
Kagami, do you get the same regression window on this as bug 1898524?
Yes, the same range. Arturo, can you check this one too? Thanks!
Comment 6•12 days ago
•
|
||
Sure,
No problem, it's the same root cause as bug 1898524. We put patch that will address the issue https://phabricator.services.mozilla.com/D222988
Updated•6 days ago
|
Updated•6 days ago
|
Description
•