initial import
[vuplus_webkit] / Source / WebCore / manual-tests / inspector / duplicate-resource-urls.html
1 <html>
2 <head>
3 <title>Tests for Bug 30079</title>
4 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" >
5 </head>
6
7 <body>
8 <p>Tests for 
9 <ul>    
10 <li><p><a href="https://bugs.webkit.org/show_bug.cgi?id=30079">Bug 30079: unselectable resources in resource panel</a>
11 </ul>
12
13 <p>To test, open the Inspector on this page, go to the Resources panel.
14
15 <p>First off, you should be able to actually select each "abc" resource to see
16 the HTTP info / content.  Bug 30079 didn't allow you to select all of these.
17     
18 <p>For each of the "abc" resources open the <b>HTTP Information</b> and 
19 <b>Request Payload</b> tree elements above the content.  One of the resources 
20 will not have a <b>Request Payload</b>.
21
22 <p>There should be one each of the following resources:
23     
24 <ul>
25 <li><p>One with a Request Method: GET and no Request Payload
26 <li><p>One with a Request Method: POST and Request Payload of "123"
27 <li><p>One with a Request Method: POST and Request Payload of "456"
28 </ul>
29
30 <p>Another change made by this bug was to change the way the drag/drop of
31 the resource itself worked.  The previous method of handling drag/drop of
32 the resource was actually causing the unselectability.  So the drag/drop
33 of the resources needs to be tested as well.
34
35 <ul>
36 <li><p>Select one of the resources.
37 <li><p>Drag it to an application that can accept text or a link
38 <li><p>The application should provide some feedback indicating it will accept
39 the drop, but may not
40 <li>Drop, and the URL for the resource should be rendered appropriately.
41     
42 <script>
43
44 var xhr;
45
46 xhr = new XMLHttpRequest();
47 xhr.open("POST", "http://example.org/abc");
48 xhr.send("123");
49
50 xhr = new XMLHttpRequest();
51 xhr.open("POST", "http://example.org/abc");
52 xhr.send("456");
53
54 xhr = new XMLHttpRequest();
55 xhr.open("GET", "http://example.org/abc");
56 xhr.send();
57
58 </script>
59
60 </body>
61 </html>