Privacy/Features/DNT signal/TestPlan

From New wiki
Jump to navigation Jump to search

DNT Signal

Feature Status Dev Lead QA Lead Status
Make DNT signal accessible from the navigator global object Landed in Firefox 9 Justin Lebar Ioana Budnar Signed Off

Summary

  • A site that embeds third-party content could force it to honor DNT by suppressing that content when DNT is enabled.
  • Web sites should be able to check if "do-not-track" (DNT) is turned on without needing access to the HTTP stream.
  • A navigator.doNotTrack object in the JS global namespace could signal that DNT is enabled, and its value would match what is sent in the HTTP header.
  • This feature is targeted for Firefox 9.0.

Reference

Use Cases

  • Verify navigator.doNotTrack and the privacy.donottrackheader.enabled pref after checking the "Tell websites I do not want to be tracked" Privacy option in Tools->Options (Edit->Preferences).
  • Verify navigator.doNotTrack and the privacy.donottrackheader.enabled pref after unchecking the "Tell websites I do not want to be tracked" Privacy option in Tools->Options (Edit->Preferences).
  • Verify navigator.doNotTrack and the privacy.donottrackheader.enabled pref before the user checks the "Tell websites I do not want to be tracked" Privacy option in Tools->Options (Edit->Preferences) for the first time.
  • Verify navigator.doNotTrack after resetting the privacy.donottrackheader.enabled Privacy option.
  • navigator.doNotTrack reflects the changes of privacy.donottrackheader.enabled.

Test Cases

  • Test cases for this feature can be viewed here.
  • Automated tests: dom/tests/mochitest/general/test_bug629535.html.

Important Bugs

  • 629535 - add do-not-track signal to navigator global object

Not Tested

  • Other preferences.
  • Other options of the navigator global object.
  • Websites actions after checking the navigator.doNotTrack value.

Sign off Criteria

  • All the test cases were run on the Firefox version the feature is targeted for (Firefox 9.0).
  • All the major bugs have been fixed.