Closed
Bug 271184
Opened 20 years ago
Closed 19 years ago
Missing content in the page displayed
Categories
(Core :: DOM: HTML Parser, defect)
Tracking
()
VERIFIED
FIXED
People
(Reporter: jayanta.mandal, Assigned: mrbkap)
References
()
Details
(Keywords: testcase)
Attachments
(3 files, 2 obsolete files)
404 bytes,
text/javascript
|
Details | |
362 bytes,
text/html
|
Details | |
10.48 KB,
patch
|
sicking
:
review+
jst
:
superreview+
asa
:
approval1.8b3+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 I do not see any content in the page displayed for the URL mentioned above in the URL field (This is one of the URL out of lot). Whereas I could see the lot of content when I see the view page source for the same page. Reproducible: Always Steps to Reproduce: 1. GO to http://ind.cricinfo.com/db/PLAYERS/AUS/M/MCGRATH_GD_02002101/ 2. 3. Actual Results: See the Detail section. Expected Results: Page must display the content. Check the "view page source" to get actual html content for the page.
Comment 1•20 years ago
|
||
after long searching I think this is an error in the website. See: http://direct.ninemsn.com.au/jnserver/CAT=SPORT/SITE=NINEMSN.BAGGYGREEN/AREA=PLAYER.PROFILES/LOC=TOP/AAMSZ=BANNER/PAGEID=1101133421685/ACC_RANDOM=1101133421685? This script gets dynamically written in the page. But in that script, I think, there is the error. The script tag gets closed before the iframe gets closed, but it should become closed after the iframe gets closed. (this is all in document.write stuff)
Comment 2•20 years ago
|
||
Updated•20 years ago
|
Attachment #166765 -
Attachment mime type: application/x-javascript → text/javascript
Comment 3•20 years ago
|
||
Well, it might be incorrectly nested tags inside js document.write statements, but I still don't know the text underneath the table doesn't show up. Maybe it is eaten up by the iframe element (as content inside the <iframe></iframe>), but then I should be able to see it inside the DOM inspector, which I can't.
Comment 4•20 years ago
|
||
Attachment #166766 -
Attachment is obsolete: true
Updated•20 years ago
|
Component: General → DOM: Level 0
Product: Firefox → Browser
Version: unspecified → Trunk
Comment 5•20 years ago
|
||
Blake, how's this testcase in your build?
Assignee: firefox → parser
Component: DOM: Level 0 → HTML: Parser
QA Contact: firefox.general → mrbkap
Assignee | ||
Comment 6•20 years ago
|
||
Amazingly, my build displays an <iframe> with the content |empty doc, you should be able to see "this really should be seen", I guess| and the text |this really should be seen, either in the document or in the dom inspector|. I say "amazingly" because these <script> within <script>s seem to play with our poor parser's mind. Note that I do assert once loading the page.
Comment 7•20 years ago
|
||
Sounds like this is fixed in your build then... mark it dependent on the relevant bug with patch? ;)
Assignee | ||
Comment 8•20 years ago
|
||
Marking fixed. Note that there may be additional issues with the original page (a couple of times the banner ad overwrote all of the page content) but that should be a seperate bug.
Comment 9•19 years ago
|
||
Ok, the behavior of the testcase changed. I'm reopening it. With a 2005-02-17 build, the text right besides the iframe can be seen, but with a 2005-02-20 build, the text cannot be seen anymore (it is parsed inside the iframe tag). I'm not sure what behavior is more correct. With IE6, I can see the text right besides the iframe in a similar testcase (that uses no data uri).
Status: RESOLVED → UNCONFIRMED
Resolution: FIXED → ---
Comment 10•19 years ago
|
||
This is a bonsai link for the regression range: http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=all&branch=HEAD&branchtype=match&dir=&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=explicit&mindate=2005-02-17+07%3A00%3A00&maxdate=2005-02-20+07%3A00%3A00&cvsroot=%2Fcvsroot
Comment 11•19 years ago
|
||
Confirming. It looks like this regressed between 2005-02-18-06 and 2005-02-19-06; there are a couple parser checkins in there: http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=all&branch=HEAD&branchtype=match&dir=&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=explicit&mindate=2005-02-18+04%3A00%3A00&maxdate=2005-02-19+08%3A00%3A00&cvsroot=%2Fcvsroot Blake, any idea what's up here?
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee | ||
Comment 12•19 years ago
|
||
The current plan of attack is to not rely on a lucky sequence of events (which is now impossible) as we do for bug 97886, but instead to generate proper parser keys for document.write().
Assignee: parser → mrbkap
Assignee | ||
Updated•19 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 13•19 years ago
|
||
Instead of relying on mWriteLevel to be correct (which it never is), this uses the currently executing script element as a key. This will generate new parser contexts in the parser for each scripts' document.write()s. The parser then correctly creates new parser contexts and inserts unused input into the other correct contexts.
Attachment #185223 -
Flags: superreview?(jst)
Attachment #185223 -
Flags: review?(bugmail)
Attachment #185223 -
Flags: review?(bugmail) → review+
Attachment #185223 -
Flags: review+
Assignee | ||
Comment 14•19 years ago
|
||
Missed a file in patch v1.
Attachment #185223 -
Attachment is obsolete: true
Attachment #185232 -
Flags: superreview?(jst)
Attachment #185232 -
Flags: review?(bugmail)
Assignee | ||
Updated•19 years ago
|
Attachment #185223 -
Flags: superreview?(jst)
Comment 15•19 years ago
|
||
Comment on attachment 185232 [details] [diff] [review] patch v1.1 sr=jst
Attachment #185232 -
Flags: superreview?(jst) → superreview+
Attachment #185232 -
Flags: review?(bugmail) → review+
Assignee | ||
Comment 16•19 years ago
|
||
Comment on attachment 185232 [details] [diff] [review] patch v1.1 This makes nested document.write()s work better by ensuring that their content is written and parsed in the order dictated by the author (as opposed to backwards)
Attachment #185232 -
Flags: approval1.8b3?
Updated•19 years ago
|
Attachment #185232 -
Flags: approval1.8b3? → approval1.8b3+
Assignee | ||
Comment 17•19 years ago
|
||
Fix checked in. Thanks for catching this!
Status: ASSIGNED → RESOLVED
Closed: 20 years ago → 19 years ago
Resolution: --- → FIXED
Reporter | ||
Updated•19 years ago
|
Status: RESOLVED → VERIFIED
Assignee | ||
Comment 18•19 years ago
|
||
*** Bug 297323 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 19•19 years ago
|
||
*** Bug 216685 has been marked as a duplicate of this bug. ***
You need to log in
before you can comment on or make changes to this bug.
Description
•