Closed
Bug 1322227
Opened 9 years ago
Closed 9 years ago
Navigate / get hangs for data URLs in waiting for a load event
Categories
(Remote Protocol :: Marionette, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1322772
People
(Reporter: whimboo, Unassigned)
Details
When you try to load a data image URL like "data:image/png;base64,42" the navigate / get method hangs because Marionette thinks a load event is expected but none seem to happen.
Could it be that there is no load event for such URLs? Also whats the difference to "data:text/plain" which works fine?
Mike, do you have an answer for the above? If not, do you know someone who could help us?
Flags: needinfo?(mconley)
| Reporter | ||
Comment 1•9 years ago
|
||
Hm, as it looks like it is the base64 part in the data URL which is causing this hang. When I use the following URL Marionette also hangs in waiting for the page being loaded: "data:text/plain;base64,42".
| Reporter | ||
Comment 2•9 years ago
|
||
Well, it looks like that this behavior exists for all but "data:text/html". Maybe we should only expect load events happening from text/html but no other MIME type?
Summary: Navigate / get hangs for data image URLs → Navigate / get hangs for data URLs in waiting for a load event
Comment 3•9 years ago
|
||
This is related to https://bugzilla.mozilla.org/show_bug.cgi?id=1322772. Non-HTML documents does not produce DOMContentLoaded events that we wait for. I have written a patch for image documents specifically, but if data:text/plain;base64,42 is exerting the same problem we should likely consider fixing it in a more generic way.
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(mconley)
Resolution: --- → DUPLICATE
Updated•3 years ago
|
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•