Privacy/Features/DNT signal/TestPlan: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
Line 29: Line 29:
== Use Cases ==
== Use Cases ==


*A site that embeds third-party content could force it to honor DNT by suppressing that content when DNT is enabled.
*Verify navigator.doNotTrack after setting the privacy.donottrackheader.enabled pref as true.
*Verify navigator.doNotTrack after setting the privacy.donottrackheader.enabled pref as false.
*Verify navigator.doNotTrack before the user set any value for the privacy.donottrackheader.enabled pref.
*Verify navigator.doNotTrack after clearing the privacy.donottrackheader.enabled pref.


== Test Cases ==
== Test Cases ==

Revision as of 15:18, 9 November 2011

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 In progress

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 after setting the privacy.donottrackheader.enabled pref as true.
  • Verify navigator.doNotTrack after setting the privacy.donottrackheader.enabled pref as false.
  • Verify navigator.doNotTrack before the user set any value for the privacy.donottrackheader.enabled pref.
  • Verify navigator.doNotTrack after clearing the privacy.donottrackheader.enabled pref.

Test Cases

  • Automated tests: dom/tests/mochitest/general/test_bug629535.html

Important Bugs

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

Sign off Criteria

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