toolkit/components/feeds/test/xml/rss2/feed_skipHours.xml

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.

     1 <?xml version="1.0" encoding="iso-8859-1"?>
     2 <!--
     4 Description: channel skipHours works
     5 Expect: ((feed.skipHours.queryElementAt(0, Components.interfaces.nsISupportsString) == '0') && (feed.skipHours.queryElementAt(4, Components.interfaces.nsISupportsString) == '23'))
     7 -->
     8 <rss version="2.0" >
     9 <channel>
    10 <skipHours>
    11   <hour>0</hour>
    12   <hour>1</hour>
    13   <hour>2</hour>
    14   <hour>22</hour>
    15   <hour>23</hour>
    16 </skipHours>
    17 </channel>
    18 </rss>

mercurial