Closed Bug 308781 Opened 19 years ago Closed 19 years ago

CSS @import makes document.write start a new document (was: http://news.com.com/ appears blank on trunk)

Categories

(Core :: DOM: HTML Parser, defect)

defect
Not set
major

Tracking

()

VERIFIED FIXED

People

(Reporter: jruderman, Assigned: mrbkap)

References

()

Details

(Keywords: regression, testcase)

Attachments

(2 files, 3 obsolete files)

Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a1) Gecko/20050915 Firefox/1.6a1 Steps to reproduce: 1. Go to http://news.com.com/. Result: Page is blank. Title bar is initially popuplated with the page's title, but reverts to just "Deer Park Alpha 2" when I switch tabs and switch back (!?). Status bar says "Transferring data from secure-us.imrworldwide.com". Filing as UNCO because I haven't tried to make a simple testcase.
Flags: blocking1.9a1?
Without looking at the page's source, I suspect a poorly timed document.write call.
Keywords: regression
(In reply to comment #3) > This is likely bug 308592. Sorry, bug 264811, rather.
I don't think so. I see this both before (nightly) and after (my own build) the checkin for that bug.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20050915 Firefox/1.6a1 ID:2005091523 I see the site but not very long.
Attached file Simple testcase (deleted) —
Attachment #196291 - Attachment is obsolete: true
Attachment #196295 - Attachment is obsolete: true
Attachment #196297 - Attachment is obsolete: true
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: qawantedtestcase
Summary: http://news.com.com/ appears blank on trunk → CSS @import makes document.write start a new document (was: http://news.com.com/ appears blank on trunk)
Regressed between Sept 9 and Sept 10 trunk nightlies.
Between 1.9a1_2005090908 and 1.9a1_2005090921 (can't get to show the bug in 1.9a1_2005090908 but sometimes in 1.9a1_2005090921). Seems to have something to do with clearing cache. :)
In 2005091316 OS/2 trunk the throbber never stops if I try to load the testcase. The statusbar is blank, and the tab says loading. Trying to view its source gets me a blank window and a persisting hourglass. news.com.com seems to work fine.
I can reproduce (both at http://news.com.com/ and using the testcase) on Windows, so setting OS to All.
OS: MacOS X → All
Hardware: Macintosh → All
A simple "Reload" makes no difference, but I never see the problem after a browser restart when when http://news.com.com/ is already in the cache.
I think this is a regression from bug 272702.
Blocks: 272702
Oops, Martijn is right on. This is mine.
Assignee: general → mrbkap
Component: DOM → HTML: Parser
Status: NEW → ASSIGNED
The NS_OK from CloseHead() was causing us to forget that the content sink had asked us to block the parser for the <style> (and probably <script>, too) load.
Attachment #196345 - Flags: superreview?(jst)
Attachment #196345 - Flags: review?(jst)
Comment on attachment 196345 [details] [diff] [review] Respect requests to block the parser r+sr=jst
Attachment #196345 - Flags: superreview?(jst)
Attachment #196345 - Flags: superreview+
Attachment #196345 - Flags: review?(jst)
Attachment #196345 - Flags: review+
Fix checked into trunk.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Attachment 196298 [details] and http://www.news.com are both working just fine for me now with SeaMonkey 1.1a--Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20050917 Mozilla/1.0 Verified FIXED
Status: RESOLVED → VERIFIED
Flags: blocking1.9a1?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: