Closed
Bug 553795
Opened 15 years ago
Closed 14 years ago
[HTML5] weer.nl - Blank page with html5.enable to true (Windows only)
Categories
(Tech Evangelism Graveyard :: Dutch, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: ria.klaassen, Unassigned)
References
()
Details
(Keywords: regression)
Attachments
(2 files)
When I go to http://www.weer.nl/nl/home/weer/wereldweer/actueel_en_verwacht_weer.html?cityID=31X3965&tx_mgcityweatherstatic_pi1[cityIDuse]=31X3965 I get a blank page.
STR:
- set html5.enable to true
- go to URL
Reporter | ||
Comment 1•15 years ago
|
||
Works 52d5ed462c9e
Fails 2396b886239d
Reporter | ||
Comment 2•15 years ago
|
||
Comment 3•15 years ago
|
||
Updated•15 years ago
|
Summary: Blank page with html5.enable to true → [HTML5] Blank page with html5.enable to true
Comment 4•15 years ago
|
||
Sounds like a regression from bug 503473.
I assume that IE doesn't make the text disappear on that last testcase? I wonder why not...
Blocks: 503473
Comment 5•15 years ago
|
||
WFM with my local patches applied. My guess is that this page does something timing-sensitive and the patch for bug 543458 hides the problem.
WFM in IE8, too.
Depends on: 543458
Comment 6•15 years ago
|
||
This is still an issue in current trunk build.
I can also see the problem at http://www.huffingtonpost.com/stephen-balkam/why-the-ipad-is-the-futur_b_532869.html
Comment 7•15 years ago
|
||
I've also seen this a lot on http://frontpage.fok.nl/review/376698/1/1/100/dvd-alice.html
Comment 8•15 years ago
|
||
On the latest trunk plus my local queue (which shouldn't have anything to do with document.write()),
http://www.weer.nl/nl/home/weer/wereldweer/actueel_en_verwacht_weer.html?cityID=31X3965&tx_mgcityweatherstatic_pi1[cityIDuse]=31X3965
http://www.huffingtonpost.com/stephen-balkam/why-the-ipad-is-the-futur_b_532869.html
and
http://frontpage.fok.nl/review/376698/1/1/100/dvd-alice.html
all work for me on Linux x86_64 with html5.enable set to true and with general.useragent.extra.firefox set to either Minefield/3.7a5pre or Firefox/3.7.1.
Comment 9•15 years ago
|
||
(In reply to comment #8)
> On the latest trunk plus my local queue (which shouldn't have anything to do
> with document.write()),
> http://www.weer.nl/nl/home/weer/wereldweer/actueel_en_verwacht_weer.html?cityID=31X3965&tx_mgcityweatherstatic_pi1[cityIDuse]=31X3965
> http://www.huffingtonpost.com/stephen-balkam/why-the-ipad-is-the-futur_b_532869.html
> and
> http://frontpage.fok.nl/review/376698/1/1/100/dvd-alice.html
> all work for me on Linux x86_64 with html5.enable set to true and with
> general.useragent.extra.firefox set to either Minefield/3.7a5pre or
> Firefox/3.7.1.
All these pages load for me on Mac with general.useragent.extra.firefox spoofed to Firefox/3.5--both in 32-bit and 64-bit latest trunk nightlies (without any of my local patches).
Comment 10•15 years ago
|
||
I can't reproduce this on my own place. I see this issue only at my parents place. I think their router is hacked or something. It probably means that some html code is dynamically added to those pages. I have to investigate further, when I'm there.
In the meantime, the url in the bug report still shows the issue for me. I'll try to make a minimized testcase, when time permits me.
Comment 11•15 years ago
|
||
I still see the originally reported problem on Windows XP in a fresh nightly.
I don't see the problem on Windows XP with the Huffinton Post and fok.nl pages.
The HTML5 parser is *supposed* to take timing-sensitivity out of the blanking behavior (with the old parser, document.write from a timeout makes it timing-sensitive). I tried using general.useragent.override to claim to be a Mac version of Firefox, but the problem remained.
Comment 12•15 years ago
|
||
The attached test case also shows me the problem. This suggests to me that http://smartbase.cdnservices.com/webads_smarttags.v2.js does something Windows-specific in a way that general.useragent.override doesn't affect.
Comment 13•15 years ago
|
||
I looked into this some more. The script mentioned in comment 12 loads http://smartinit.webads.nl/Bin/SmartInit.dll?tbase=SITE=WEER/AREA=WEER_WERELDWEER&iframe=/fileadmin/templates/adlinks/webads_smarttags.v2.js.html&stir=weer_stir.htm&wl=weer/nederland&cc=TU/247/3670/13472&BannerPreSize=true by setting the .src DOM property of a newly created script node in Gecko and by document.writing in IE. That explains why the page isn't blanking in IE.
It doesn't explain why the page isn't blanking on Mac and Linux. Perhaps http://smartinit.webads.nl/Bin/SmartInit.dll?tbase=SITE=WEER/AREA=WEER_WERELDWEER&iframe=/fileadmin/templates/adlinks/webads_smarttags.v2.js.html&stir=weer_stir.htm&wl=weer/nederland&cc=TU/247/3670/13472&BannerPreSize=true never calls document.write on Mac and Linux. I didn't look that far.
Anyway, their wbds_Include function when called with an URL argument without a second argument "direct" uses a script inclusion mechanism that makes the included script blow away the document in IE and in any HTML5-compliant browser if the included script calls document.write.
Therefore, the ad script should use wbds_Include(url, "direct") in all browsers when the included script can call document.write. This could be achieved by running their IE code path in all browsers.
I'm reassigning this to evangelism, because we are adopting (via HTML5) a pre-existing IE behavior and IE gets the safe code path due to browser sniffing but we don't.
Assignee: hsivonen → dutch
Component: HTML: Parser → Dutch
Product: Core → Tech Evangelism
QA Contact: parser → dutch
Version: Trunk → unspecified
Comment 14•15 years ago
|
||
This works fine in IE8 and Gecko1.9.1.
Comment 15•15 years ago
|
||
URL is not blank with the 4/19 nightly build of Minefield.
Comment 16•15 years ago
|
||
I filed bug 560256 on the testcase I attached here.
Comment 17•15 years ago
|
||
Why shouldn't Mozilla be doing as what IE is doing?
Updated•15 years ago
|
Summary: [HTML5] Blank page with html5.enable to true → [HTML5] weer.nl - Blank page with html5.enable to true (Windows only)
Comment 18•14 years ago
|
||
The landing of bug 560256 mitigates the user-visible problem so that it's not worthwhile to pursue contacting the site.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WORKSFORME
Updated•14 years ago
|
Assignee: dutch → nobody
Component: Dutch → HTML: Parser
Product: Tech Evangelism → Core
QA Contact: dutch → parser
Updated•14 years ago
|
Updated•14 years ago
|
Assignee: nobody → dutch
Component: HTML: Parser → Dutch
Product: Core → Tech Evangelism
QA Contact: parser → dutch
Updated•10 years ago
|
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•