Closed
Bug 66055
Opened 24 years ago
Closed 23 years ago
JavaScript doesn't fire when containing intl chars
Categories
(Core :: Internationalization, defect)
Core
Internationalization
Tracking
()
Future
People
(Reporter: bugzilla, Assigned: jst)
References
()
Details
(Keywords: intl)
Attachments
(1 file)
54 bytes,
text/html
|
Details |
If you have the following in mozilla and click "test" nothing happens <a href="javascript:var x='på'; alert(x);">test</A> the console says: Error loading URL javascript:var%20x=%27p%E5%27;%20alert(x);: 805303f5 JavaScript error: line 0: missing variable name Works both in IE and Netscape 4.x This however will work in mozilla: <a href="javascript:var x='paa'; alert(x);">test</A> Build 20010119
Reporter | ||
Comment 1•24 years ago
|
||
Comment 2•24 years ago
|
||
The characters encountered by the browser are handled by the browser embedding of the JS Engine, not the JS engine itself. Reassigning to Internationalization component for further triage - cc'ing jst. Is this a dupe of bug 55468?
Assignee: rogerl → nhotta
Component: Javascript Engine → Internationalization
QA Contact: pschwartau → teruko
Summary: javascript doesnt fire when containing int chars → JavaScript doesn't fire when containing int chars
Assignee | ||
Comment 4•24 years ago
|
||
This bug has been marked "future" because the original netscape engineer workingon this is over-burdened. If you feel this is an error, that you or another known resource will be working on this bug,or if it blocks your work in some way -- please attach your concern to the bug for reconsideration.
Target Milestone: --- → Future
Reporter | ||
Comment 5•24 years ago
|
||
What can I say other than this is gonna break web pages. But as long as I still have Netscape 4.x or IE laying around it's not a mission critical bug. But this will not help me to be 100% Mozilla user...:)
Comment 6•24 years ago
|
||
We probably don't care if this only a issue in alert. But I think the alert here is just use as a simplified test case. The real problem is these JavaScript is inside the HREF. We escape them since other URL need to be escaped but we didn't consider the case for JavaScript. What we should do is find out the code between the layout engine and the javaScript code and unescape it back by using the document charset. I think this bug is in the border line of fixing or not fixing. Let's keep this as future untill we find breakage in the real world case.
Summary: JavaScript doesn't fire when containing int chars → JavaScript doesn't fire when containing intl chars
Reporter | ||
Comment 7•24 years ago
|
||
live URL: http://www.jubii.dk/robert/ try to click on "STEM" just left of "Bænken".
Comment 8•24 years ago
|
||
cc to momoi
Comment 9•23 years ago
|
||
*** This bug has been marked as a duplicate of 51355 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•