Closed
Bug 349066
Opened 19 years ago
Closed 19 years ago
Venkman's Open Windows view misconstructs base URL for urls like http://foo.com/#bar
Categories
(Other Applications Graveyard :: Venkman JS Debugger, defect)
Other Applications Graveyard
Venkman JS Debugger
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: Gijs, Assigned: Gijs)
References
()
Details
Attachments
(1 file)
|
825 bytes,
patch
|
bugzilla-mozilla-20000923
:
review+
|
Details | Diff | Splinter Review |
Steps to reproduce:
1. Open http://archer.homeunix.org/temp/#foobar
2. Open the files list for the tab with this url.
Actual Result:
It shows http://archer.homeunix.org/temp/#foobartest.js
Expected Result:
It should show http://archer.homeunix.org/temp/test.js (or perhaps just test.js)
I'll try to get this in for my SoC thing, I'll have time to hack on it by Sunday.
| Assignee | ||
Comment 1•19 years ago
|
||
Requiring at least one non-questionmark non-hash non-slash character after the last slash found just screws the regexp up on urls without such a thing.
Without it, it still won't match anything but the last slash because of the third part of the regular expression, which requires the end of the url, or a hash or a questionmark, which will never appear before the last slash. Or such was my idea, anyway.
Attachment #234648 -
Flags: review?(silver)
| Assignee | ||
Comment 2•19 years ago
|
||
Oh, and obviously I tested this myself just as well, and the patch does indeed fix this issue afaict.
Status: NEW → ASSIGNED
Updated•19 years ago
|
Attachment #234648 -
Flags: review?(silver) → review+
| Assignee | ||
Comment 3•19 years ago
|
||
Checked in -> FIXED
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Summary: Venkman tries to use /#fooscript.js instead of /script.js for scripts loaded from URLs of the form bar/#foo when loading from the open windows view → Venkman's Open Windows view misconstructs base URL for urls like http://foo.com/#bar
Updated•7 years ago
|
Product: Other Applications → Other Applications Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•