Sat, 03 Jan 2015 20:18:00 +0100
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.
michael@0 | 1 | <?xml version="1.0" encoding="iso-8859-1"?> |
michael@0 | 2 | <!-- |
michael@0 | 3 | |
michael@0 | 4 | Description: channel skipHours works |
michael@0 | 5 | Expect: ((feed.skipHours.queryElementAt(0, Components.interfaces.nsISupportsString) == '0') && (feed.skipHours.queryElementAt(4, Components.interfaces.nsISupportsString) == '23')) |
michael@0 | 6 | |
michael@0 | 7 | --> |
michael@0 | 8 | <rss version="2.0" > |
michael@0 | 9 | <channel> |
michael@0 | 10 | <skipHours> |
michael@0 | 11 | <hour>0</hour> |
michael@0 | 12 | <hour>1</hour> |
michael@0 | 13 | <hour>2</hour> |
michael@0 | 14 | <hour>22</hour> |
michael@0 | 15 | <hour>23</hour> |
michael@0 | 16 | </skipHours> |
michael@0 | 17 | </channel> |
michael@0 | 18 | </rss> |