[tor-bugs] #14057 [Tor Browser]: Implement a test plan for double key cookie logic

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Dec 31 17:33:10 UTC 2014


#14057: Implement a test plan for double key cookie logic
-----------------------------+----------------------
     Reporter:  michael      |      Owner:  michael
         Type:  task         |     Status:  assigned
     Priority:  normal       |  Milestone:
    Component:  Tor Browser  |    Version:
   Resolution:               |   Keywords:
Actual Points:               |  Parent ID:  #3246
       Points:               |
-----------------------------+----------------------
Description changed by michael:

Old description:

> Write a test plan including unit and regression testing, and simplifying
> QA while supporting reuse.
> ----
> == 3rd party consumer and provider hosts ==
> For purposes of analysis (R&D) and validation (QA), implement a ''real
> world'' (as '''mcs''' puts it) test harness by configuring at least two
> divergent (according to RFC6265 5.1.3. Domain Matching) virtual hosts
> consuming 3rd party content. Implement a cookie provider serving HTTP
> headers in a 3rd party context (as a IFrame for example.)
>
> == Popular website tests ==
> Write verification tests of a set of popular websites consuming 3rd party
> cookies to prove correct isolation via 1st party contexts.
>
> == Regression tests ==
> Implement automated test scripts (possibly using either Mozilla XPCShell
> or Mochitest) for regression testing. Review #13749 for possible overlap.
>
> == Optional unit tests ==
> Optionally write unit tests (possibly using QUnitJS) for individual
> components like host domain matching, cookie searches, cookie blocking,
> and privacy.thirdparty.isolate condition.

New description:

 Write a test plan including unit and regression testing, and simplifying
 QA while supporting reuse.
 ----
 == 3rd party consumer and provider hosts ==
 For purposes of analysis (R&D) and validation (QA), implement a ''real
 world'' (as '''mcs''' puts it) test harness by configuring at least two
 divergent (according to RFC6265 5.1.3. Domain Matching) virtual hosts
 consuming 3rd party content. Implement a cookie provider serving HTTP
 headers in a 3rd party context (as a IFrame for example.)

 == Popular website tests ==
 Write verification tests of a set of popular websites consuming 3rd party
 cookies to prove correct isolation via 1st party contexts.

 == Regression tests ==
 Implement automated test scripts (possibly using either Mozilla XPCShell
 or Mochitest) for regression testing. Review #13749 for possible overlap.

 == Unit tests ==
 Write unit tests (possibly using hand typed code in the JavaScript browser
 console from integrated developer tools) for individual components like
 host domain matching, cookie searches, cookie blocking, and
 privacy.thirdparty.isolate condition.

 == Optional unit tests ==
 Optionally write unit tests (possibly using QUnitJS) for individual
 components.

--

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/14057#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list