[Webkit-unassigned] [Bug 43664] New: Scripts on local filesystem injected after window.onload are never reloaded

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 6 20:23:31 PDT 2010


           Summary: Scripts on local filesystem injected after
                    window.onload are never reloaded
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
        OS/Version: Mac OS X 10.6
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Page Loading
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rgrove at yahoo-inc.com

Created an attachment (id=63799)
 --> (https://bugs.webkit.org/attachment.cgi?id=63799)
Reduced test case that reproduces the bug

A script on the local filesystem (i.e., a file:// URL) that's loaded via a script node added after the window.onload event has fired will never be reloaded until the cache is manually cleared. In Google Chrome (which also exhibits this bug), even manually clearing the cache is ineffective.

When the same script is injected before the window.onload event has fired, it behaves as expected and is reloaded normally whenever the page is refreshed.

To reproduce:

1. Download the attached test.zip file and extract it.
2. Open the extracted test.html file from your local filesystem. You should see the string "foo" in bold at the bottom of the page.
3. Edit test.js and change the value of the string to "bar".
4. Reload the page. You'll still see "foo".
5. (If using Google Chrome) Clear your cache. Reload. Still "foo".

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