Closed
Bug 1349861
Opened 8 years ago
Closed 7 years ago
Commands in listener.js miss checks for valid top-level browsing context - no NoSuchWindow failure thrown
Categories
(Remote Protocol :: Marionette, enhancement, P2)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1493108
People
(Reporter: whimboo, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [spec][17/03])
Similar to bug 1322383 but for the listener.js framescript.
Right now we do not always check for a valid top-level browsing context. Which means in case of navigating away from a frame, which might close it, following commands can fail because the context is no longer available.
In those cases each of the methods should throw a NoSuchWindowException.
Updated•8 years ago
|
Priority: P2 → P1
Updated•7 years ago
|
Priority: P1 → P2
Comment 1•7 years ago
|
||
I don’t understand the description of this bug. Before a command
request reaches the frame script, chrome space checks that the
browsing context is still open. This returns a no such window
error. Is that not sufficient?
Flags: needinfo?(hskupin)
Reporter | ||
Comment 2•7 years ago
|
||
I think that bug 1368492 actually should have implemented that from the chrome site.
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: needinfo?(hskupin)
Resolution: --- → DUPLICATE
Updated•2 years ago
|
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•