Skip to content
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

[task] unit tests for essential functionality #487

Open
4 of 26 tasks
myrdd opened this issue Oct 4, 2014 · 0 comments
Open
4 of 26 tasks

[task] unit tests for essential functionality #487

myrdd opened this issue Oct 4, 2014 · 0 comments
Milestone

Comments

@myrdd
Copy link
Member

myrdd commented Oct 4, 2014

In this first post I'll collect all unit tests that are possible or are planned. If you have ideas, please let me know. :)

  • links
    • an url can be opened …
      • … in the same tab
      • … in a new tab
      • … in a new window
      • … in a new private window.
    • clicking on HTML <a> Elements. see Opening a link as new tab blocked #480
    • select a text link --> right-click --> open link.
  • redirects
    • types of redirects
      • HTTP Location and Refresh headers
      • changing document.location in JavaScript.
      • <meta http-equiv="refresh" …> HTML elements
    • check that the redirect bar appears when blocking by default
      • when opening a new page that redirects
      • when clicking on a link that redirects
      • when opening a link in a new tab/window (redirect bar should appear in the correct tab)
      • when an embedded object (image, iframe, ...) is redirected
    • check if all buttons on the redirect bar work.

_unsorted ideas:_ (for some of the problems there might be already a mozmill test by mozilla)

_non-essential tests_

_unit test documentation:_
https://github.com/RequestPolicyContinued/requestpolicy/wiki#unit-tests

@myrdd myrdd added this to the 1.0.0 milestone Oct 4, 2014
@myrdd myrdd mentioned this issue Oct 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant