3 <title>Tests for Bug 30079</title>
4 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" >
10 <li><p><a href="https://bugs.webkit.org/show_bug.cgi?id=30079">Bug 30079: unselectable resources in resource panel</a>
13 <p>To test, open the Inspector on this page, go to the Resources panel.
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.
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>.
22 <p>There should be one each of the following resources:
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"
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.
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
40 <li>Drop, and the URL for the resource should be rendered appropriately.
46 xhr = new XMLHttpRequest();
47 xhr.open("POST", "http://example.org/abc");
50 xhr = new XMLHttpRequest();
51 xhr.open("POST", "http://example.org/abc");
54 xhr = new XMLHttpRequest();
55 xhr.open("GET", "http://example.org/abc");