Bug 11838
| Summary: | Reopening SVG world map makes it blank | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Alexey Proskuryakov <ap> |
| Component: | SVG | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED WONTFIX | ||
| Severity: | Normal | CC: | krit, zimmermann |
| Priority: | P2 | Keywords: | NeedsReduction |
| Version: | 420+ | ||
| Hardware: | Mac | ||
| OS: | OS X 10.4 | ||
| URL: | http://apps.arcwebservices.com/svgviewer/map.html | ||
Alexey Proskuryakov
Steps to reproduce:
1. Open http://apps.arcwebservices.com/svgviewer/map.html
2. After it loads, press Enter in the address bar.
Results: the second time, the map doesn't appear.
JS Console shows an exception (Null value) in this line, which casts a shadow on XMLHttpRequest:
var importedNode = document.importNode(this.xmlRequest.responseXML.documentElement,true);
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
This is not 100% reproducible, but happens fairly often.
Further testing shows that responseXML is null because the response document is invalid, and it's invalid because the request is incorrect.
$ curl -I "http://apps.arcwebservices.com/svgviewer/awslive?ds=ArcWeb:TA.Streets.US&sf=160000000&w=0&h=0&a=0&ocs=0&cmr=-100|10|0|0|160000000|0|9&dc=0|0"
HTTP/1.1 400 Invalid width ("w") parameter value: 0. The value should be a positive integer, not greater than 8192.
This now looks like a duplicate of bug 7722 to me.
Frank Y
100% reproducible on my nightly build.
Emptying the cache allows the page to reload, when pressing enter on the address bar.
After that the bug re-manifests.
Webkit:
Safari 3.0.4 5523.15 (nightly build for 2/28/2008)
OSX 10.5.2
Nikolas Zimmermann
Changed component to SVG, so it shows up in my all-svg-bugs search.
Dirk Schulze
The link is not valid anymore. Is there site to reproduce the problem?
Dirk Schulze
Closing the bug since we don't have a test to reproduce the issue :(