Closed Bug 47991 Opened 24 years ago Closed 24 years ago

M17 - Script tag "src" attributes seem to have a problem with http links

Categories

(Core :: Layout, defect, P3)

x86
Windows NT
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: robert.rees, Assigned: nisheeth_mozilla)

Details

(Whiteboard: [rtm need info])

Attachments

(1 file)

The SCRIPT tag can take a src attribute which should take a URL to the location
of the script source file.
If this URL is relative then the page is displayed correctly. If however it is
described absolutely with a "http" reference then the initial page is displayed
but the browser then displays the contents of the script.

The script is a JS script using document.write to supplying date and copyright
information.

Relevance: one central server holds scripts and common resources that are then
served out to the other machines.

No URL as this is on an intranet site.
URL resolution.  Networking
Assignee: asa → gagan
Status: UNCONFIRMED → NEW
Component: Browser-General → Networking
Ever confirmed: true
QA Contact: doronr → tever
not networking... this should be javascript. 
Component: Networking → Javascript Engine
Not core javascript either.  If it isn't networking then I don't know who.
Hmmm... who sets up the URL to call into Javascript engine? 
I think this problem is in layout. Look at nsHTMLContentSink::ProcessSCRIPTTag.
Assignee: gagan → clayton
Component: Javascript Engine → Layout
QA Contact: tever → petersen
Back to gagan because 'Layout' gets assigned to Clayton by default.
Assignee: clayton → gagan
argh... ! nisheeth who gets Clayton's bugs now a days?
Assignee: gagan → nisheeth
Clayton's bugs are triaged weekly by the three Gecko teams.

Status: NEW → ASSIGNED
Nominating for rtm...
Keywords: rtm
Marking [rtm+ need info]
Whiteboard: [rtm+ need info]
I'm about to attach a simple test case that includes a script referenced by an
absolute URL.  This test worked fine for me on today's windows NT branch debug
build.  Marking wfm.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
Whiteboard: [rtm+ need info] → [rtm need info]
Attached file test.html
Works okay in M18
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: