[Webkit-unassigned] [Bug 61452] New: document.documentElement.cloneNode(true) causes resources to be downloaded again

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 25 11:30:32 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=61452

           Summary: document.documentElement.cloneNode(true) causes
                    resources to be downloaded again
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: gildas.lormeau at gmail.com


Here are the steps to reproduce the problem :

1. Install Wireshark : http://www.wireshark.org/download.html
2. Open http://sergeydolya.livejournal.com/189087.html#cutid1 into a new tab
3. Start a capture with Wireshark and apply this filter:
http.request && http.request.method == "GET" && http.request.uri contains "web.jpg"
4. Type in URL input:
javascript:alert(document.documentElement.cloneNode(true)); void 42;

What is the expected result?
The browser shouldn't send again HTTP requests to get images content.

What happens instead?
Wireshark shows that images are downloaded again.

This issue is also reproducible with Chrome. With Firefox 4 and IE9, there are no extra requests.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list