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: atom author name works |
michael@0 | 5 | Expect: feed.authors.queryElementAt(0, Components.interfaces.nsIFeedPerson).name=='John Doe'; |
michael@0 | 6 | |
michael@0 | 7 | --> |
michael@0 | 8 | |
michael@0 | 9 | <feed xmlns="http://www.w3.org/2005/Atom"> |
michael@0 | 10 | |
michael@0 | 11 | <title>Example Feed</title> |
michael@0 | 12 | <link href="http://example.org/"/> |
michael@0 | 13 | <updated>2003-12-13T18:30:02Z</updated> |
michael@0 | 14 | <author> |
michael@0 | 15 | <name>John Doe</name> |
michael@0 | 16 | </author> |
michael@0 | 17 | <id>urn:uuid:60a76c80-d399-11d9-b93C-0003939e0af6</id> |
michael@0 | 18 | |
michael@0 | 19 | <entry> |
michael@0 | 20 | <title>Atom-Powered Robots Run Amok</title> |
michael@0 | 21 | <link href="http://example.org/2003/12/13/atom03"/> |
michael@0 | 22 | <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id> |
michael@0 | 23 | <updated>2003-12-13T18:30:02Z</updated> |
michael@0 | 24 | <summary>Some text.</summary> |
michael@0 | 25 | </entry> |
michael@0 | 26 | |
michael@0 | 27 | </feed> |