[Bug 52727] New: Access to window.external in an embedded browser breaks javascript

WineHQ Bugzilla wine-bugs at winehq.org
Fri Mar 25 12:19:20 CDT 2022


https://bugs.winehq.org/show_bug.cgi?id=52727

            Bug ID: 52727
           Summary: Access to window.external in an embedded browser
                    breaks javascript
           Product: Wine
           Version: 5.0
          Hardware: x86-64
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ieframe
          Assignee: wine-bugs at winehq.org
          Reporter: sergey.bychkow at gmail.com
      Distribution: ---

I'm not sure that this is problem for ieframe, or shdocw, or gecko component,
but when javascript in an embedded browser tries to access custom
window.external object defined with an implementation of
IDocHostUIHandler.GetExternal() then javascript fails to proceed. The call of
GetExternal() function returns successfully.

A javascript code looks like:

{script}
document.write('external: ');
var obj2 = window.external; -- next lines won't execute on Wine, but work on
Wndws
document.write(obj2);
document.write('<br>');
var obj3 = window.external.myProperty;
{/script}

Embedding is done like in the article:
https://delphidabbler.com/articles/article-22

TODO: Make isolated test case if information is not enough.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list