gecko-dev/testing/firefox-ui
Andreas Tolfsen 330c31d7a5 Bug 1121705 - Look at window handles decrement when closing tab. r=whimboo
When Puppeteer opens a new tab using various strategies it relies
on the list of window handles increasing.  When performing the
reverse operation of closing a tab, it looks at the length of <tab>
chrome elements in the UI.

This changes the close operation to use the same mechanism as opening
a new tab to determine if the tab has been closed.  This seems to
be as reliable as looking at the number of <tab> elements.

As part of a forthcoming window tracking refactoring of Marionette
(https://bugzilla.mozilla.org/show_bug.cgi?id=marionette-window-tracking),
the list of window handles will be made even more reliable: a content
browser will not appear in the window handle list until both the tab
and it's linked content browser has been created and properly initialised.

MozReview-Commit-ID: FY5vGBpn64R

--HG--
extra : rebase_source : 99bad0c88f3b00a46131f1a502e40c61560aa59b
2018-07-04 16:36:05 +01:00
..
harness Bug 1378422 - Add python 2 only classifiers to python modules under /testing, r=ahal 2017-08-19 04:19:06 +05:30
resources Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8 2017-10-15 20:50:39 +01:00
tests Bug 1121705 - Look at window handles decrement when closing tab. r=whimboo 2018-07-04 16:36:05 +01:00
.flake8 Bug 1395126 - Support cascading configuration for flake8, r=bc 2017-08-29 17:32:31 -04:00
mach_commands.py Bug 1470397 - Use logger from created from |mach test| in testing/firefox-ui/mach_commands.py, r=whimboo 2018-06-27 19:43:12 +00:00
moz.build Bug 1403222 - Add test suite families to SCHEDULES.exclusive r=dustin 2017-09-26 10:47:22 -04:00