Commit Graph
8 Commits
Author SHA1 Message Date
Jarda Snajdr 57fe972ae3 Bug 1320110 - WebConsoleClient API calls should return promises r=ochameau
MozReview-Commit-ID: 1mmGGUgIwqA
2016-11-24 16:12:25 +01:00
Sebastian Hengst 2e047ceb32 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 27971664c7 Bug 1320110 - WebConsoleClient API calls should return promises r=ochameau
MozReview-Commit-ID: 1mmGGUgIwqA
2016-11-24 16:12:25 +01:00
Sami Jaktholm 80473eaf9d 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 88f7d57327 Bug 1243567 - Revert license change on webconsole tests. r=bgrins 2016-01-27 18:55:00 +01:00
Lin Clark 0a4383101d Bug 1241956 - Use standard license boilerplate in webconsole test files. r=bgrins 2016-01-25 11:19:39 -08:00
Lin Clark 959a3021a0 Bug 1234287 - Refactor webconsole netlogging tests. r=bgrins 2016-01-22 16:44:45 -08:00
Lin Clark b63d95436e Bug 1064458 - Remove 'Log request and response bodies' preference. r=bgrins 2016-01-11 19:08:00 +01:00