toolkit/components/places/tests/chrome/bad_links.atom

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.

michael@0 1 <?xml version="1.0" encoding="utf-8"?>
michael@0 2 <feed xmlns="http://www.w3.org/2005/Atom">
michael@0 3
michael@0 4 <title>Example Feed</title>
michael@0 5 <link href="http://example.org/"/>
michael@0 6 <updated>2003-12-13T18:30:02Z</updated>
michael@0 7
michael@0 8 <author>
michael@0 9 <name>John Doe</name>
michael@0 10 </author>
michael@0 11 <id>urn:uuid:60a76c80-d399-11d9-b93C-0003939e0af6</id>
michael@0 12
michael@0 13 <entry>
michael@0 14
michael@0 15 <title>First good item</title>
michael@0 16 <link href="http://example.org/first"/>
michael@0 17 <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id>
michael@0 18 <updated>2003-12-13T18:30:02Z</updated>
michael@0 19
michael@0 20 <summary>Some text.</summary>
michael@0 21 </entry>
michael@0 22
michael@0 23 <entry>
michael@0 24
michael@0 25 <title>data: link</title>
michael@0 26 <link href="data:text/plain,Hi"/>
michael@0 27 <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6b</id>
michael@0 28 <updated>2003-12-13T18:30:03Z</updated>
michael@0 29
michael@0 30 <summary>Some text.</summary>
michael@0 31 </entry>
michael@0 32
michael@0 33 <entry>
michael@0 34
michael@0 35 <title>javascript: link</title>
michael@0 36 <link href="javascript:alert('Hi')"/>
michael@0 37 <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6c</id>
michael@0 38 <updated>2003-12-13T18:30:04Z</updated>
michael@0 39
michael@0 40 <summary>Some text.</summary>
michael@0 41 </entry>
michael@0 42
michael@0 43 <entry>
michael@0 44
michael@0 45 <title>file: link</title>
michael@0 46 <link href="file:///var/"/>
michael@0 47 <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6d</id>
michael@0 48 <updated>2003-12-13T18:30:05Z</updated>
michael@0 49
michael@0 50 <summary>Some text.</summary>
michael@0 51 </entry>
michael@0 52
michael@0 53 <entry>
michael@0 54
michael@0 55 <title>chrome: link</title>
michael@0 56 <link href="chrome://browser/content/browser.js"/>
michael@0 57 <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6e</id>
michael@0 58 <updated>2003-12-13T18:30:06Z</updated>
michael@0 59
michael@0 60 <summary>Some text.</summary>
michael@0 61 </entry>
michael@0 62
michael@0 63 <entry>
michael@0 64
michael@0 65 <title>Last good item</title>
michael@0 66 <link href="http://example.org/last"/>
michael@0 67 <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6b</id>
michael@0 68 <updated>2003-12-13T18:30:07Z</updated>
michael@0 69
michael@0 70 <summary>Some text.</summary>
michael@0 71 </entry>
michael@0 72
michael@0 73
michael@0 74 </feed>

mercurial