Skip to content

Enable linting in the test/resources/ folder, and fix the "Remote property injection" warning (issue 13862) #13869

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 5, 2021

Conversation

Snuffleupagus
Copy link
Collaborator

Please refer to the individual commit messages for additional details.

I'm not going to fix the main part of issue #13862, which is about updating and modernizing the overall implementation, however these patches will hopefully help with that work by enabling linting of the code.

Also, update the `.stylelintignore` file to agree with the `.eslintignore` file since the configurations had (unintentionally) diverged.
These changes were done automatically, by using the `gulp lint --fix` command.
…-analyzer.js`

Given that issue 13862 tracks updating/modernizing the code, this patch purposely limits the scope of the changes. In particular, the following things are still left to address:
 - The ESLint `no-undef` errors; for now the rule is simply disabled globally in this file.
 - A couple of unused variables are commented out for now, but could perhaps just be removed.
… Object (issue 13862)

This patch (basically) mirrors the implementation in PR 13831, to get rid of the "Remote property injection" warning.
@Snuffleupagus
Copy link
Collaborator Author

/botio browsertest

@pdfjsbot
Copy link

pdfjsbot commented Aug 4, 2021

From: Bot.io (Linux m4)


Received

Command cmd_browsertest from @Snuffleupagus received. Current queue size: 0

Live output at: http://54.67.70.0:8877/47d0a0ed1e4c2f6/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Aug 4, 2021

From: Bot.io (Windows)


Received

Command cmd_browsertest from @Snuffleupagus received. Current queue size: 0

Live output at: http://3.101.106.178:8877/3dd40d383354705/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Aug 4, 2021

From: Bot.io (Linux m4)


Failed

Full output at http://54.67.70.0:8877/47d0a0ed1e4c2f6/output.txt

Total script time: 29.50 mins

  • Regression tests: FAILED
  different ref/snapshot: 7
  different first/second rendering: 1

Image differences available at: http://54.67.70.0:8877/47d0a0ed1e4c2f6/reftest-analyzer.html#web=eq.log

@pdfjsbot
Copy link

pdfjsbot commented Aug 4, 2021

From: Bot.io (Windows)


Failed

Full output at http://3.101.106.178:8877/3dd40d383354705/output.txt

Total script time: 35.60 mins

  • Regression tests: FAILED
  different ref/snapshot: 5
  different first/second rendering: 2

Image differences available at: http://3.101.106.178:8877/3dd40d383354705/reftest-analyzer.html#web=eq.log

@timvandermeij timvandermeij merged commit 8292076 into mozilla:master Aug 5, 2021
@timvandermeij
Copy link
Contributor

Thanks a lot for doing this; it already modernizes the code quite a bit and gets rid of most CodeQL warnings/errors!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants