When using Javascript against Qt 4.x Function.prototype.apply does not work correctly with array-like arguments (tested with Qt: 4.8.7 / WebKit: 534.34 / QtWebKit: 2.2.4)
This can result in seeing the JS error message:
"TypeError: '[object Object]' is not a valid argument for 'Function.prototype.apply'"
This is fixed in Qt 5.x.
While this is not a capybara-webkit bug, I wanted to document the issue here in case other people see the same issue against Qt 4.x since 4.x is currently still the default Qt installation on Mac homebrew.
When using Javascript against Qt 4.x Function.prototype.apply does not work correctly with array-like arguments (tested with Qt: 4.8.7 / WebKit: 534.34 / QtWebKit: 2.2.4)
This can result in seeing the JS error message: "TypeError: '[object Object]' is not a valid argument for 'Function.prototype.apply'"
This is fixed in Qt 5.x.
While this is not a capybara-webkit bug, I wanted to document the issue here in case other people see the same issue against Qt 4.x since 4.x is currently still the default Qt installation on Mac homebrew.
This is the same issue described in https://bugs.webkit.org/show_bug.cgi?id=109307