Menu

#1545 jQuery 1.x >= 1.8.0 does not load in CHROME mode

2.12
closed
None
1
2013-09-26
2013-09-26
No

jQuery 1.x does not load properly in CHROME mode starting at version 1.8.0:

org.openqa.selenium.WebDriverException: com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find function attachEvent in object [object HTMLDocument]. (http://code.jquery.com/jquery-1.8.0.js#864)

The last working version appears to be 1.7.2.

Unit test is attached (based off test from #1493, thanks to Barry Pitman)

1 Attachments

Discussion

  • Ahmed Ashour

    Ahmed Ashour - 2013-09-26
    • assigned_to: Ahmed Ashour
     
  • Ahmed Ashour

    Ahmed Ashour - 2013-09-26
    • status: open --> closed
     
  • Ahmed Ashour

    Ahmed Ashour - 2013-09-26

    Fixed in SVN, thanks for the test.

    Actually the reason was node/window.addEventListener() and removeEventListener() :)

     

Log in to post a comment.