Bug 30761
| Summary: | REGRESSION (r48700-r48704): No maps appear on flightaware.com | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Michael Dayah <michael> |
| Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | ap, ggaren, johnnyding.webkit, mrowe, oliver |
| Priority: | P2 | Keywords: | NeedsReduction |
| Version: | 528+ (Nightly build) | ||
| Hardware: | All | ||
| OS: | All | ||
| URL: | http://flightaware.com/live/flight/random | ||
Michael Dayah
On the site flightaware.com, no JavaScript based maps appear in the latest builds of WebKit, including the latest Chrome builds. Instead, a blank square appears where JavaScript would draw the map.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Oliver Hunt
Confirmed r50039
Mark Rowe (bdash)
This may be the same as bug 29790 as the r48701 is the only substantial change in that range.
Michael Dayah
I suspect this is the code that's causing the map not to be generated. Perhaps the event order is preventing the main initialization function from firing?
isIE = (/*@cc_on ! @*/ false);
if (isIE) // Since the script is set to defer, IE's defer is the equivalent of DCL
render_map(true);
else if (document.addEventListener)
document.addEventListener("DOMContentLoaded", render_map, false);
else
window.onload = render_map;
johnnyding
I have tested, the patch of bug 30765 can fix this bug.
Geoffrey Garen
http://trac.webkit.org/changeset/50100