Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapter not updating variables #19

Closed
lpfister1 opened this issue Apr 26, 2013 · 1 comment
Closed

Adapter not updating variables #19

lpfister1 opened this issue Apr 26, 2013 · 1 comment

Comments

@lpfister1
Copy link

Ubuntu 12.04 LTS / Firefox 19.0.2
"debugger" break-point in fuzzer.rb prior to fuzzer logic.
attr_accessor :cursor_pos in selenium_adapter.rb

To reproduce:

  1. Run: ruby fuzzer.rb firefox file://"your fuzzer.html path here"
  2. Click the editor in the firefox window, and then click back into your terminal.
  3. In rdb: set autoeval
  4. In rdb: adapter.type_text "abcdef"
  5. In rdb: adapter.doc_length
  6. In rdb: adapter.cursor_pos
  7. In rdb: adapter.move_cursor 0
  8. In rdb: adapter.type_text "ZZZ"

Expected behavior at step x:
5. doc_length should be 6
6. cursor_pos should be 6
8. "ZZZabcdef"

Actual behavior at step x:
5. doc_length is 0
6. cursor_pos is 0
7. "aZZZbcdef"

byronm added a commit that referenced this issue May 1, 2013
Was not updating cursor_pos and doc_length in the firefox append case.
@lpfister1
Copy link
Author

Fix confirmed

jhchen added a commit that referenced this issue Sep 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant