Commit Graph
16 Commits
Author SHA1 Message Date
Kris Maglione 5ced7952aa Bug 1305162: Part 1c - Fix devtools tests that expect headers in upload stream. r=ochameau
MozReview-Commit-ID: BirgY62GRn7
2017-01-10 14:24:45 -08:00
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
J. Ryan Stinnett 530b903fcf Bug 1271084 - Apply ESLint autofixes to ignored /devtools files. r=tromey
For simple rules like function spacing, we can auto-fix these across the code
base so they are followed in a consistent way.

To generate this patch, I ran:

./mach eslint devtools --no-ignore --fix

After this, I reverted any changes to third party files that we really do want
to ignore.

MozReview-Commit-ID: 6Q8BApkAW20
2016-05-18 12:49:23 -05:00
Alexandre Poirot c2b92f996a Bug 1269977 - Increate timeout of browser_webconsole_netlogging.js as it runs slowly on linux32-debug. r=jryans 2016-05-18 10:32:01 -07:00
Brian Grinstead 9338e4e881 Bug 1264804 - Clean up tabs between tests in browser_webconsole_netlogging.js;r=pbro
Also adds a new closeTabAndToolbox helper function to shared-head.js

MozReview-Commit-ID: IIVOczLD3zS
2016-03-30 18:24:06 -07:00
Sami Jaktholm e9bb83c593 Bug 1242234 - Wait for page load to finish before continuing in browser_webconsole_netlogging.js. r=linclark
The problem with this test is that loadPageAndGetHud() resolves once the console
message about the request is rendered. However, the message is logged immediately
when enough info has been received instead of waiting for all updates, such as
headers, body and timings, to be received.

By the time the test calls waitForFinishedRequest(PAGE_REQUEST_PREDICATE), the
initial request is still pending and the resulting promise resolves once
the initial GET request finishes instead of the POST request triggered by
the form submission causing the test failures.

MozReview-Commit-ID: HkDdKTmzJfM
2016-03-31 08:49:38 +03:00
Sami Jaktholm 21382e40a1 Bug 1239920 - Fix other usages of waitForFinishedRequest() to ignore unexpected requests in webconsole tests;r=bgrins
If test timings shift in the future, the unexpected requests could occur
during any test. Since there are many tests that use waitForFinishedRequest(),
any of them could start to fail intermittently at any point.

These changes fix other usages of wwaitForFinishedRequest() to include a
predicate that ignores the requests that are unexpected during the test.

MozReview-Commit-ID: Er0xyt3YBj6
2016-03-25 08:09:25 +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
J. Ryan Stinnett 13a2b6f69a Bug 912121 - Misc. DevTools test fixes after migration. rs=devtools 2015-09-20 03:12:51 -05:00
J. Ryan Stinnett b17c143421 Bug 912121 - Update misc. DevTools paths and comments. rs=devtools 2015-09-21 12:07:31 -05:00
J. Ryan Stinnett a3073e0420 Bug 912121 - Migrate major DevTools directories. rs=devtools
Move major DevTools files to new directories using the following steps:

hg mv browser/devtools devtools/client
hg mv toolkit/devtools/server devtools/server
hg mv toolkit/devtools devtools/shared

No other changes are made.
2015-09-21 12:02:24 -05:00