On Wed, Aug 18, 2010 at 01:54:43PM +0200, Vitaly S. wrote:
>
> Dear Developers,
>
> First, open.window does not honor browser_default_open_target=OPEN_NEW_BUFFER.
> Second, the interaction in the newly opened window is not conkeror like, no
> bindings not minibuffer.
>
> Here the test code:
>
> function test(I){
> I.window.open("http://www.google.com")
> };
> interactive("test", "blabla", test);
>
> Thanks
> Vitally.
The answer to problem #1 is that browser_default_open_target only affects
window.open calls from content js, not calls from chrome js. Interactive
commands run in chrome js. You can test as follows:
* make a file called a.html with the following contents:
<html>
<span onclick="window.open('http://example.com');">click me</span>
</html>
* run: conkeror -e 'browser_default_open_target=OPEN_NEW_BUFFER'
`pwd`/window-open-bug.html
* click the link
--
John Foerch
_______________________________________________
Conkeror mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/conkeror