Closed
Bug 977899
Opened 11 years ago
Closed 10 years ago
get() in marionette currently can navigate the frame instead of the top level browsing context.
Categories
(Remote Protocol :: Marionette, defect, P3)
Tracking
(firefox43 fixed, firefox44 fixed)
RESOLVED
FIXED
mozilla44
People
(Reporter: automatedtester, Unassigned)
References
()
Details
(Keywords: pi-marionette-spec)
Attachments
(1 file)
When we do get() we should be navigating at the top level browsing context, as per webdriver spec. Current behaviour has it happening at the frame level
| Reporter | ||
Updated•11 years ago
|
Whiteboard: [spec]
| Reporter | ||
Updated•11 years ago
|
Keywords: ateam-marionette-spec
| Reporter | ||
Updated•11 years ago
|
Priority: -- → P3
Whiteboard: [spec]
Updated•11 years ago
|
Whiteboard: [spec]
Updated•11 years ago
|
Whiteboard: [spec]
| Reporter | ||
Comment 1•10 years ago
|
||
Bug 977899: Have Marionette navigate the top frame on desktop when `navigate()`
is called. r?ato
This means that we are now doing step 7 in
http://w3c.github.io/webdriver/webdriver-spec.html#get
Attachment #8670231 -
Flags: review?(ato)
Updated•10 years ago
|
Attachment #8670231 -
Flags: review?(ato)
Comment 2•10 years ago
|
||
Comment on attachment 8670231 [details]
MozReview Request: Bug 977899: Have Marionette navigate the top frame on desktop when `navigate()`
https://reviewboard.mozilla.org/r/21345/#review19235
::: testing/marionette/client/marionette/tests/unit/test_switch_frame.py:128
(Diff revision 1)
> + def test_navigation_after_switching_to_child_frame_navigates_top(self):
What is a child frame as opposed to just a frame? Can we make the test name shorter?
::: testing/marionette/listener.js:1328
(Diff revision 1)
> + if (isB2G){
Space before `{`.
::: testing/marionette/listener.js:1330
(Diff revision 1)
> -}
> + }
> + else {
Put on same line
::: testing/marionette/listener.js:1333
(Diff revision 1)
> + sendSyncMessage("Marionette:switchedToFrame", { frameValue: null });
This API is really horrible, whereby a certain behaviour happens if we pass along null.
(Not opening an issue on this, just pointing it out.)
| Reporter | ||
Comment 3•10 years ago
|
||
Comment on attachment 8670231 [details]
MozReview Request: Bug 977899: Have Marionette navigate the top frame on desktop when `navigate()`
Bug 977899: Have Marionette navigate the top frame on desktop when `navigate()`
is called. r?ato
This means that we are now doing step 7 in
http://w3c.github.io/webdriver/webdriver-spec.html#get
Attachment #8670231 -
Flags: review?(ato)
| Reporter | ||
Comment 4•10 years ago
|
||
Comment on attachment 8670231 [details]
MozReview Request: Bug 977899: Have Marionette navigate the top frame on desktop when `navigate()`
Bug 977899: Have Marionette navigate the top frame on desktop when `navigate()`
is called. r?ato
This means that we are now doing step 7 in
http://w3c.github.io/webdriver/webdriver-spec.html#get
| Reporter | ||
Comment 5•10 years ago
|
||
https://reviewboard.mozilla.org/r/21345/#review19235
> What is a child frame as opposed to just a frame? Can we make the test name shorter?
Updated the test name to be slightly more meaningful by removing some redunduncy. Child indicates that we shouldnt be doing `switchToFrame()` in the test.
Making the test shorter would remove some of the meaning. I have a great dislike for tests with method names like `def test_frame_navigate(self)` as they have little to no indication of what they should be doing
Updated•10 years ago
|
Attachment #8670231 -
Flags: review?(ato) → review+
Comment 6•10 years ago
|
||
Comment on attachment 8670231 [details]
MozReview Request: Bug 977899: Have Marionette navigate the top frame on desktop when `navigate()`
https://reviewboard.mozilla.org/r/21345/#review19309
I couldn’t find a try run for this patch, but the code looks sound to me.
| Reporter | ||
Comment 7•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/ebe60391a8be11dbdcfd830b4ebbf04e50ba0d20
Bug 977899: Have Marionette navigate the top frame on desktop when `navigate()`
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox44:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
| Reporter | ||
Updated•10 years ago
|
Whiteboard: [checkin-needed-aurora]
status-firefox43:
--- → fixed
Whiteboard: [checkin-needed-aurora]
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
•