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

WineHQ Bugzilla wine-bugs at winehq.org
Mon Mar 28 12:43:53 CDT 2022


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

--- Comment #1 from Sergey Bychkow <sergey.bychkow at gmail.com> ---
Really the problem is with pure browser, even without embedding:

$ wine iexplore.exe file://Z:/Users/..../test1.html

This shows different result on Wine and Windows.

File test1.html is:

<html>
<body>
<script>
  document.write('window.Precious: ');
  var obj1 = window.Precious;
  document.write(obj1);
  document.write('<br>');

  document.write('window.external: ');
  var obj2 = window.external;
  document.write(obj2);
  document.write('<br>');

  document.write('window.external.MyPrecious: ');
  var obj3 = window.external.MyPrecious;
  document.write(obj3);
  document.write('<br>');

  document.write('End of script');
</script>
</body>
</html>

-- 
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