Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 371052 - [ClientScripting] [VerifyEvent] event.text contains wrong value in Google Chrome
Summary: [ClientScripting] [VerifyEvent] event.text contains wrong value in Google Chrome
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: Incubator (show other bugs)
Version: 1.5   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-09 04:59 EST by Tim Buschtoens CLA
Modified: 2012-02-16 11:39 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Buschtoens CLA 2012-02-09 04:59:11 EST
The field text contains not the actually inserted text, but the text BEFORE the carret position before the text was inserted. The reason for this is that, unlike other browser, the webkit engine fires the "input" event for the input element before the carret position has been updated.
Comment 1 Tim Buschtoens CLA 2012-02-16 11:39:17 EST
Fixed by completely rewriting ClientScripting.js#_getDiff.