Skip to content

Commit

Permalink
Bug 1406042 - Copy relevant old console test to the new frontend; r=H…
Browse files Browse the repository at this point in the history
…onza

This patch copies the tests from the old frontend that are relevant
in the context of the new frontend. They are all added in the
browser.ini and all are skipped. The number of the bug to do the test
migration is indicated as a comment.
Some tests were renamed to match what they actually do, or to match
which component they test (console, webconsole, jsterm), or simply to remove
a bug number in the filename. In the latter case, a reference to the bug
was added inside the test if it wasn't already the case.

All the support files from the old frontend were copied over, because it would
have been time consuming to test if each one of them was used in the tests. A bug
will be filed to do a support files cleanup when all the tests are migrated.

MozReview-Commit-ID: GhXcCuVBXT5
  • Loading branch information
nchevobbe committed Oct 6, 2017
1 parent 4fe9bf7 commit 11135d8
Show file tree
Hide file tree
Showing 257 changed files with 13,159 additions and 4 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ devtools/client/storage/test/*.html
!devtools/client/storage/test/storage-unsecured-iframe-usercontextid.html
devtools/client/webaudioeditor/**
devtools/client/webconsole/net/**
devtools/client/webconsole/new-console-output/test/mochitest/**
devtools/client/webconsole/test/**
devtools/client/webconsole/hudservice.js
devtools/client/webconsole/webconsole-connection-proxy.js
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
"use strict";

module.exports = {
// Extend from the shared list of defined globals for mochitests.
"extends": "../../../../../.eslintrc.mochitests.js"
};
Loading

0 comments on commit 11135d8

Please sign in to comment.