Closed Bug 1401942 Opened 7 years ago Closed 7 years ago

Migrate browser_bug664688_sandbox_update_after_navigation.js to the new console

Categories

(DevTools :: Console, enhancement, P1)

enhancement

Tracking

(firefox57 wontfix, firefox59 fixed)

RESOLVED FIXED
Firefox 59
Tracking Status
firefox57 --- wontfix
firefox59 --- fixed

People

(Reporter: nchevobbe, Assigned: jdescottes)

References

Details

(Whiteboard: [newconsole-mvp])

Attachments

(2 files)

No description provided.
It seems that the test wait for "messages-cleared" undefinitely. I don't think we emit this event on browser navigation now.
Priority: -- → P3
Priority: P3 → P2
Whiteboard: [newconsole-mvp]
Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
Priority: P2 → P1
If using jsterm.clearOutput() proves to be an issue, I can workaround this. Just thought it would be nice to reuse existing code here. Try https://treeherder.mozilla.org/#/jobs?repo=try&revision=b152e43ea1ecff56d1952cc454428163f9d500bb
Comment on attachment 8932988 [details] Bug 1401942 - Rename and enable browser_bug664688_sandbox_update_after_navigation.js; https://reviewboard.mozilla.org/r/203932/#review209776 Small nit about the test name, but this looks good, thanks Julian ! ::: devtools/client/webconsole/new-console-output/test/mochitest/browser.ini:223 (Diff revision 1) > [browser_jsterm_no_autocompletion_on_defined_variables.js] > [browser_jsterm_no_input_and_tab_key_pressed.js] > [browser_jsterm_no_input_change_and_tab_key_pressed.js] > [browser_jsterm_popup_close_on_tab_switch.js] > [browser_jsterm_popup.js] > +[browser_jsterm_sandbox_update_after_navigation.js] sorry, i'm going to be annoying, could we keep the webconsole_ prefix (and not use the jsterm_ one) ? Even if the test do use the jsterm, we are more checking a general console behaviour.
Attachment #8932988 - Flags: review?(nchevobbe) → review+
Comment on attachment 8932987 [details] Bug 1401942 - Call jsterm clearOutput from new-webconsole client; https://reviewboard.mozilla.org/r/203930/#review209780 Manually tested it and it seems good. Then change makes sens in my opinion, I wonder if there were a specific reason to have a dedicated function in here. If try is green, let's land it
Attachment #8932987 - Flags: review?(nchevobbe) → review+
Thanks for the reviews, try looks green so I'll land that after re-renaming the test :)
Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/67f973fb1164 Call jsterm clearOutput from new-webconsole client;r=nchevobbe https://hg.mozilla.org/integration/autoland/rev/97f3b9b875d7 Rename and enable browser_bug664688_sandbox_update_after_navigation.js;r=nchevobbe
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 59
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: