[Webkit-unassigned] [Bug 16022] New: loading scripts via src= doesn't seam to work.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 16 16:19:29 PST 2007


           Summary: loading scripts via src= doesn't seam to work.
           Product: WebKit
           Version: 525+ (Nightly build)
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Major
          Priority: P2
         Component: WebKit Gtk
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: dougt at meer.net

I am seeing some odd behavior around loading a js via the script tag.  Using
http, it appears that the js file referenced by the src attribute is not
loaded.  For example,

In a js file:

x = [ 1, 2, 3, ];

in a html page:

<script src="b.js"></script>
alert (x.length);

When running this using the GtkLauncher, I see a reference error regarding the
variable "x".  I also tried putting an alert in the javascript file to see if
that would bring up a window, and that also failed.

When loading this over a local file, it seams to work fine.  I have tested this
in Firefox and in the current nightly MacOS build of Webkit (r27834) and do not
find the same problem.

I am using r27856.

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

More information about the webkit-unassigned mailing list