Commit Graph

8 Commits

Author SHA1 Message Date
Jarda Snajdr
aed5b28836 Bug 1320110 - WebConsoleClient API calls should return promises r=ochameau
MozReview-Commit-ID: 1mmGGUgIwqA

--HG--
extra : rebase_source : 37a1024dbae384461008634ef6a3d3fb62f1a66b
2016-11-24 16:12:25 +01:00
Sebastian Hengst
2d9a55fea4 Backed out changeset c816bcb8572d (bug 1320110) for mass devtools failures. r=backout on a CLOSED TREE 2016-11-24 19:23:28 +01:00
Jarda Snajdr
9b3aa7d34a Bug 1320110 - WebConsoleClient API calls should return promises r=ochameau
MozReview-Commit-ID: 1mmGGUgIwqA

--HG--
extra : rebase_source : 735977ea12bf0342460d74c2b5477b0d8541527c
2016-11-24 16:12:25 +01:00
Sami Jaktholm
9afc5381bb Bug 1239920 - Ignore unexpected requests in browser_console_netlogging.js;r=bgrins
The problem here is that the test expects to receive a request for the
|test-network-request.html| but the waitForFinishedRequest() accepts any
request that happens to occur at the same time. In this particular bug,
a GMP update is triggered during the test and the waitForFinishedRequest()
promise resolves with that particular request which obviously isn't the
one the test was expecting.

These changes add an optional predicate function parameter to
waitForFinishedRequest() which will be called for each completed request
and the returned promise only resolves when the predicate returns true for
a request.

Also, browser_console_netlogging.js begins to use the aforementioned
functionality by passing a predicate that only accepts the request for
|test-network-request.html| effectively fixing the intermittent failure.


MozReview-Commit-ID: AWhMRjrqP8i
2016-03-25 08:11:06 +02:00
Lin Clark
114ed4353f Bug 1243567 - Revert license change on webconsole tests. r=bgrins 2016-01-27 18:55:00 +01:00
Lin Clark
a2591149b3 Bug 1241956 - Use standard license boilerplate in webconsole test files. r=bgrins
--HG--
extra : commitid : DOpXtp0hhAg
2016-01-25 11:19:39 -08:00
Lin Clark
369505626e Bug 1234287 - Refactor webconsole netlogging tests. r=bgrins
--HG--
rename : devtools/client/webconsole/test/browser_webconsole_basic_net_logging.js => devtools/client/webconsole/test/browser_webconsole_netlogging_basic.js
extra : commitid : ISajWQMB6Cq
2016-01-22 16:44:45 -08:00
Lin Clark
8a3e936845 Bug 1064458 - Remove 'Log request and response bodies' preference. r=bgrins 2016-01-11 19:08:00 +01:00