Closed
Bug 675896
Opened 13 years ago
Closed 13 years ago
Inputking.com stops loading
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
VERIFIED
FIXED
mozilla8
People
(Reporter: kmcreg, Assigned: evilpie)
References
Details
(Keywords: regression, Whiteboard: [inbound])
Attachments
(2 files, 1 obsolete file)
2.93 MB,
patch
|
Waldo
:
review+
|
Details | Diff | Splinter Review |
1.29 MB,
patch
|
Waldo
:
review+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (X11; Linux i686; rv:8.0a1) Gecko/20110727 Firefox/8.0a1 Build ID: 20110727114959 Steps to reproduce: I used inputking.com to type Chinese on Linux computer (where I do not have admin rights to install input methods). The PC runs Ubuntu 10.04 LTS. I'm testing the nightly builds. Actual results: On a recent update of 8.0a1, I found inputking.com fails to load. STR: 1. Open http://inputking.com/ 2. Check "Chinese (中文)" on the top and click the yellow button "Start Inputking" at the bottom. 3. A new window or tab should open. Problem: this window (or tab) displays Please wait... forever. Expected results: This window (or tab) should finish loading and display an input field to type text. works in http://ftp.mozilla.org/pub/mozilla.org/firefox/tinderbox-builds/mozilla-central-linux/1311743874/ breaks in http://ftp.mozilla.org/pub/mozilla.org/firefox/tinderbox-builds/mozilla-central-linux/1311792599/
Comment 1•13 years ago
|
||
Confirmed on http://hg.mozilla.org/mozilla-central/rev/f92e021f1f44 Mozilla/5.0 (Windows NT 5.1; rv:8.0a1) Gecko/20110801 Firefox/8.0a1 ID:20110801030916 Pushlog in m-i http://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=0d37af9e506f&tochange=a774533fbbf1 In local build( from m-i repro.) build from a774533fbbf1 : displays Please wait... forever build from 54b8ca3b0c7a : displays Please wait... forever build from 0d37af9e506f : display an input field to type text triggered by: 54b8ca3b0c7a Tom Schuster — Bug 652771 - Update Unicode character support for space categorization, also somewhat for uppercase and lowercase (although these will only be fully fixed in followup bugs). r=jwalden. Further (lumped together to address interdependencies): Bug 672760 - Don't pass the EOF non-character to any of the Unicode character-categorization functions. r=jwalden
Assignee: nobody → general
Blocks: 652771
Status: UNCONFIRMED → NEW
Component: General → JavaScript Engine
Ever confirmed: true
Keywords: regression
OS: Linux → All
Product: Firefox → Core
QA Contact: general → general
Comment 2•13 years ago
|
||
An Error shown in Error Console as follows Error: missing ( before formal parameters Source File: http://inputking.com/ime/ime_new.php Line: 4, Column: 2256 Source Code: code_holder='';cancel_key_event=false;$('#edit_area').ke............
Assignee | ||
Comment 3•13 years ago
|
||
Reduced testcase: function key_down_英() { } The problem is that make_unicode does not parse "CJK Ideograph" eg. 4E00;<CJK Ideograph, First>;Lo;0;L;;;;;N;;;;; 9FCB;<CJK Ideograph, Last>;Lo;0;L;;;;;N;;;;; Which U+82F1 (英) is part of, and these are apparently even valid identifiers, because they have the class (Lo).
Assignee | ||
Comment 5•13 years ago
|
||
So after tracking this down, the fix is really easy, we just need to use the right flags for all characters in this code range. I built with this and it fixed this bug and bug 675400. I really need to abstract make_unicode.py a lot better, i am going to to this bug 672042 otherwise the code will get even more hostile.
Attachment #550090 -
Flags: review?(jeff.walden)
Updated•13 years ago
|
Assignee | ||
Comment 6•13 years ago
|
||
Assignee | ||
Comment 7•13 years ago
|
||
Attachment #550153 -
Flags: review?(jwalden+bmo)
Assignee | ||
Updated•13 years ago
|
Attachment #550152 -
Flags: review?(jwalden+bmo)
Assignee | ||
Updated•13 years ago
|
Attachment #550090 -
Attachment is obsolete: true
Attachment #550090 -
Flags: review?(jeff.walden)
Assignee | ||
Updated•13 years ago
|
Assignee: general → evilpies
Comment 8•13 years ago
|
||
Comment on attachment 550152 [details] [diff] [review] v1 - the fix Review of attachment 550152 [details] [diff] [review]: ----------------------------------------------------------------- ::: js/src/tests/ecma_5/misc/unicode-identifier-1d17.js @@ +15,5 @@ > > var o = {} > try { > eval('o.\\u1D17 = 42'); > + eval('o.\\u82F1 = "hello world"'); Pedantically, these changes probably want to be in a new test file, but I don't think it really matters that much.
Attachment #550152 -
Flags: review?(jwalden+bmo) → review+
Updated•13 years ago
|
Attachment #550153 -
Flags: review?(jwalden+bmo) → review+
Assignee | ||
Comment 9•13 years ago
|
||
http://hg.mozilla.org/integration/mozilla-inbound/rev/9ef8e264cd41
Whiteboard: [inbound]
Comment 10•13 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/9ef8e264cd41
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla8
status-firefox8:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•