Marionette's navigate errors on loading an about:blocked or about:error page
Categories
(Remote Protocol :: Marionette, defect)
Tracking
(Not tracked)
People
(Reporter: chmanchester, Assigned: chmanchester)
References
Details
(Keywords: pi-marionette-server)
Attachments
(1 file, 1 obsolete file)
Comment 1•10 years ago
|
||
Assignee | ||
Comment 2•10 years ago
|
||
Assignee | ||
Comment 3•10 years ago
|
||
Comment 4•10 years ago
|
||
Assignee | ||
Comment 5•10 years ago
|
||
Comment 6•10 years ago
|
||
Assignee | ||
Comment 7•10 years ago
|
||
Assignee | ||
Comment 8•10 years ago
|
||
Assignee | ||
Comment 9•10 years ago
|
||
Updated•10 years ago
|
Assignee | ||
Comment 11•10 years ago
|
||
Assignee | ||
Comment 12•10 years ago
|
||
Comment 13•10 years ago
|
||
Comment 14•10 years ago
|
||
Comment 15•10 years ago
|
||
Comment 16•10 years ago
|
||
Assignee | ||
Comment 17•10 years ago
|
||
Comment 18•10 years ago
|
||
Comment 19•10 years ago
|
||
Comment 20•10 years ago
|
||
Assignee | ||
Comment 21•10 years ago
|
||
Assignee | ||
Updated•10 years ago
|
Assignee | ||
Comment 22•10 years ago
|
||
Updated•10 years ago
|
Comment 23•10 years ago
|
||
Assignee | ||
Comment 24•10 years ago
|
||
Comment 26•10 years ago
|
||
Comment 27•10 years ago
|
||
Comment 28•10 years ago
|
||
Assignee | ||
Comment 29•9 years ago
|
||
Assignee | ||
Comment 30•9 years ago
|
||
Comment 31•6 years ago
|
||
(In reply to James Graham [:jgraham] from comment #19)
(In reply to Henrik Skupin (:whimboo) from comment #18)
(In reply to James Graham [:jgraham] from comment #16)
I agree that if there is a DNS error it's OK to signal an error (and e.g.
hrow in the client). I disagree that it's OK to do the same for a 404; using
marionette to test the behaviour of a 404 response page is an entirely
legitimate use case.I wonder how you would be able to check if a given webpage your test has to
load, was successfully loaded for testing purposes. Especially when there is
no indication (like an exception) if it was successful or not. Is there a
way to get the response code? Also keep in mind that we currently send an
error in case of the interactive readyState case.Presumably you are generally going to interact with the page content in a
way that would be totally broken if you loaded the 404 page rather than the
page you expected (or the wrong page entirely due to e.g. a typo in the url).I agree that marionette should return the HTTP status code when a load is
complete. I understand this idea is contentious in the webdriver community,
for reasons that I don't pretend to understand. But we have freedom here to
fulfill our use cases.
The discussion happened about 4 years ago, but I just stumbled over an old todo item and found it again. I wonder if that would still be of interest now. If doable I would still like to see it. Andreas, what do you think about it?
Comment 32•6 years ago
|
||
To return the HTTP status code with the navigation response?
Technically a driver provide whatever additional fields it wants,
as long as they are prefixed with "moz:". I think it would make a
lot of users happy to have access to the HTTP status code.
Comment 33•6 years ago
|
||
I filed bug 1519110.
Updated•2 years ago
|
Description
•