Closed Bug 1291755 Opened 8 years ago Closed 8 years ago

browser_keybindings_02.js fails to focus the toolbox when switching hosts with the web console selected

Categories

(DevTools :: Framework, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: miker, Unassigned)

References

Details

Since bug 1278889 landed browser_keybindings_02.js fails to focus the toolbox when switching hosts.

This is probably because the web console is still XUL and has a deep structure with multiple iframes.

When the web console has been converted to HTML we should fix this.
Priority: -- → P2
Relevant part of the test log:
 15:12:54     INFO -  29 INFO Create a test tab and open the toolbox
 15:12:54     INFO -  30 INFO Adding a new tab with URL: data:text/html;charset=utf8,test page
 15:12:54     INFO -  31 INFO Waiting for event: 'load' on [object XULElement].
 15:12:54     INFO -  32 INFO Got event: 'load' on [object XULElement].
 15:12:54     INFO -  33 INFO Tab added and finished loading
 15:12:54     INFO -  34 INFO Switch to host type side
 15:12:54     INFO -  35 INFO Try to use the toolbox shortcuts
 15:12:54     INFO -  36 INFO Zooming with key: toolbox.zoomIn.key
 15:12:54     INFO -  37 INFO Synthesizing key shortcut: CmdOrCtrl+Plus
 15:12:54     INFO -  38 INFO TEST-UNEXPECTED-FAIL | devtools/client/framework/test/browser_keybindings_02.js | The zoom level was changed in the toolbox - Didn't expect 1, but got it

So the toolbox is opened at the bottom and moved to the side. It could be that we need an event to say that the toolbox is focused.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.