Message1259

Author kalleb
Recipients
Date 2015-04-09.18:42:58
Content
1. Use Xulrunner v34.0.5.
2. Enable duckduckgo page mode in your conkerorrc.js - require("duckduckgo");
3. Do a search on duckduck go with the duckduckgo webjump
4. Press 'j' to navigate down in the search results

Expected
Navigation works

Actual
Nothing happens and the following error is logged:
Error: TypeError: window.nkda is not a function

I have investigate this some more and the problem can be found in the duckduckgo_call_command function.
The buffer.top_frame.wrappedJSObject does not expose the page defined functions on the window object.
This is true both outside and inside the sandbox.
This works fine in version 33.1.1 of the xulrunner package.

Don't know if this is a xulrunner bug or conkeror bug but something changed between the above mentioned
versions.

Note that this is not restricted to duckduckgo.com and it can easily be reproduced by creating your own
test case that tries to access paged defined global functions.
History
Date User Action Args
2015-04-09 18:42:58kallebsetmessageid: <1428604978.33.0.172849453237.issue491@bugs.conkeror.org>
2015-04-09 18:42:58kalleblinkissue491 messages
2015-04-09 18:42:58kallebcreate