[
http://jira.openqa.org/browse/SW-1?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zeljko closed SW-1.
-------------------
Resolution: Won't Fix
If this is still a problem, please report it here:
https://github.com/redsquirrel/safariwatir/issues
> set UTF-8 in textfield causes crash
> -----------------------------------
>
> Key: SW-1
> URL: http://jira.openqa.org/browse/SW-1
> Project: SafariWatir
> Issue Type: Bug
> Components: core
> Affects Versions: 1
> Environment: Mac
> Reporter: Zeljko
> Priority: Major
> Fix For: 1
>
>
> - moved from SafariWatir RubyForge tracker
> - original data:
> [#15603] set UTF-8 in textfield causes crash
> Date: 2007-11-13 12:34
> Priority: 3
> Submitted By: Michiel de Mare (mdemare)
> Assigned To: Nobody (None)
> Category: None
> State: Open
> Summary: set UTF-8 in textfield causes crash
> Detailed description
> To reproduce:
> browser.text_field(:name, 'q').set('é')
> Fix:
> class TextField < InputElement
> def set(value)
> value = value.to_s
> @scripter.focus(self)
> @scripter.highlight(self) do
> clear_text_input
> #begin change
> value.split(//u).each do |c|
> append_text_input(c)
> #end change
> end
> end
> @scripter.blur(self)
> end
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.openqa.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Wtr-development mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-development