gecko-dev/testing/firefox-ui
Henrik Skupin bfe7ce4555 Bug 1368434 - Fix race condition for slow frame script registrations. r=automatedtester
In some cases the registration of the frame script takes longer and as
result the page load events for DOMContentLoaded and pageshow are
missed. With that the current command waits forever and causes a page
load timeout error after 300s.

By checking the readyState of the document before the listeners are
getting attached, we can ensure to return immediately if the document
has already been finished loading.

MozReview-Commit-ID: 17f6jVz7sZZ

--HG--
extra : rebase_source : 1cc27fc9bd4d9b4a39607f8d44692dfc7095b2d7
2017-07-18 15:00:37 +02:00
..
harness Bug 1373564 - Force enable update staging mode to prevent perma failures for update tests. r=automatedtester 2017-06-16 11:39:23 +02:00
resources Bug 1360687 - Update puppeteer notification class for webextensions. r=davehunt 2017-06-29 15:46:45 -07:00
tests Bug 1368434 - Fix race condition for slow frame script registrations. r=automatedtester 2017-07-18 15:00:37 +02:00
.flake8 Bug 1274167 - Add Linter(flake8) support for Firefox-ui and Puppeteer.r=whimboo 2016-08-15 02:16:18 +05:30
mach_commands.py Bug 1302364 - Include firefox-ui and puppeteer in all-tests.json, and allow to run tests via "mach test". r=gps 2016-09-21 10:31:05 +02:00
moz.build Bug 1319705 - Move Puppeteer to testing/marionette and make it available for Marionette tests in test packages. r=gps 2016-11-24 17:02:52 +01:00