Closed Bug 129036 Opened 23 years ago Closed 23 years ago

Javascript is not executed on internal web page

Categories

(Core :: Networking, defect)

x86
Windows NT
defect
Not set
normal

Tracking

()

VERIFIED INVALID

People

(Reporter: jimshep, Assigned: attinasi)

References

()

Details

Attachments

(1 file)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.8+) Gecko/20020304 BuildID: 2002030409 When looking at the following webpage (I believe it is internal only) http://cos.corporate.ge.com/pls/cosapp/pkg_cos_p_search.p_pos_f_srch_crt, only the text of the javascript code is displayed, but not executed. Reproducible: Always Steps to Reproduce: 1. Goto http://cos.corporate.ge.com/pls/cosapp/pkg_cos_p_search.p_pos_f_srch_crt 2. Look at output (text only) 3. Actual Results: Text of page shown, including html tags and javascript code. Expected Results: I believe a javascript based form should be displayed. I will attach the source for this page.
Attached file Contents of webpage
WFM 2002030308 NT4 (at least with attachment 72589 [details]). The URL you mentionned gives me A DNS error (maybe intranet name). Therefore, if there is a regression, it is between 3-3 and 3-4 Will retest with build from 03-05
Reporter, Just an idea: Are you sure the web server is not serving the page as text/plain instead of text/html. To verify that, load the page, then View->Page Info and look at type.
Yes, "View->Page Info" does show that the page is being served as "plain/text". Unfortunately, IE displays it correctly, so even though it is wrong, it won't be fixed. Is there any way to get Mozilla to display (run the javascript) (in)correctly?
Don't think so. CCing bzbarsky@mit.edu who might be of greater help.
invalid (I can't send it to evangelism because it's an internal page) IE use content sniffing for all data but that violates the standards. Mozilla do this only for Http/0.9 server because they don't send a content type. Your server must send the correct mime-type if it use Http/1.0 or Http/1.1.
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Component: Layout → Networking
QA Contact: petersen → benc
Resolution: --- → INVALID
Matti is correct. Pages sent as text/plain should be shown as text, period. The server is always right.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: