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

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/toolkit/components/places/tests/chrome/bad_links.atom	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,74 @@
     1.4 +<?xml version="1.0" encoding="utf-8"?>
     1.5 +<feed xmlns="http://www.w3.org/2005/Atom">
     1.6 +
     1.7 +  <title>Example Feed</title> 
     1.8 +  <link href="http://example.org/"/>
     1.9 +  <updated>2003-12-13T18:30:02Z</updated>
    1.10 +
    1.11 +  <author> 
    1.12 +    <name>John Doe</name>
    1.13 +  </author> 
    1.14 +  <id>urn:uuid:60a76c80-d399-11d9-b93C-0003939e0af6</id>
    1.15 +
    1.16 +  <entry>
    1.17 +
    1.18 +    <title>First good item</title>
    1.19 +    <link href="http://example.org/first"/>
    1.20 +    <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id>
    1.21 +    <updated>2003-12-13T18:30:02Z</updated>
    1.22 +
    1.23 +    <summary>Some text.</summary>
    1.24 +  </entry>
    1.25 +
    1.26 +  <entry>
    1.27 +
    1.28 +    <title>data: link</title>
    1.29 +    <link href="data:text/plain,Hi"/>
    1.30 +    <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6b</id>
    1.31 +    <updated>2003-12-13T18:30:03Z</updated>
    1.32 +
    1.33 +    <summary>Some text.</summary>
    1.34 +  </entry>
    1.35 +  
    1.36 +  <entry>
    1.37 +
    1.38 +    <title>javascript: link</title>
    1.39 +    <link href="javascript:alert('Hi')"/>
    1.40 +    <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6c</id>
    1.41 +    <updated>2003-12-13T18:30:04Z</updated>
    1.42 +
    1.43 +    <summary>Some text.</summary>
    1.44 +  </entry>
    1.45 +  
    1.46 +  <entry>
    1.47 +
    1.48 +    <title>file: link</title>
    1.49 +    <link href="file:///var/"/>
    1.50 +    <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6d</id>
    1.51 +    <updated>2003-12-13T18:30:05Z</updated>
    1.52 +
    1.53 +    <summary>Some text.</summary>
    1.54 +  </entry>
    1.55 +
    1.56 +  <entry>
    1.57 +
    1.58 +    <title>chrome: link</title>
    1.59 +    <link href="chrome://browser/content/browser.js"/>
    1.60 +    <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6e</id>
    1.61 +    <updated>2003-12-13T18:30:06Z</updated>
    1.62 +
    1.63 +    <summary>Some text.</summary>
    1.64 +  </entry>
    1.65 +
    1.66 +  <entry>
    1.67 +
    1.68 +    <title>Last good item</title>
    1.69 +    <link href="http://example.org/last"/>
    1.70 +    <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6b</id>
    1.71 +    <updated>2003-12-13T18:30:07Z</updated>
    1.72 +
    1.73 +    <summary>Some text.</summary>
    1.74 +  </entry>
    1.75 +
    1.76 +
    1.77 +</feed>

mercurial