[Bug 17543] Halo 2 for Windows Vista installer shows empty html user interface (jscript parser fails to recognize 'objectid::eventname' style function declarations)
wine-bugs at winehq.org
wine-bugs at winehq.org
Sat Mar 15 15:27:59 CDT 2014
https://bugs.winehq.org/show_bug.cgi?id=17543
Anastasius Focht <focht at gmx.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P2
Status|UNCONFIRMED |NEW
CC| |focht at gmx.net
Component|-unknown |jscript
Summary|Halo 2 Vista: Installer |Halo 2 for Windows Vista
|will not launch |installer shows empty html
| |user interface (jscript
| |parser fails to recognize
| |'objectid::eventname' style
| |function declarations)
Ever confirmed|0 |1
--- Comment #27 from Anastasius Focht <focht at gmx.net> ---
Hello folks,
confirming - there are multiple issues here.
The most obvious one is a jscript parser failure:
--- snip ---
$ WINEDEBUG=+tid,+seh,+relay,+mshtml,+ieframe,+jscript wine ./Startup.exe
>>log.txt 2>&1
...
0023:trace:mshtml:parse_text L"\n\nvar animationInterval = 50; // interval for
animating track movement\nvar initialChangeBackgroundInterval = 5000; // time
before first background fade transition\nvar changeBackgroundInterval = 10000;
// time between subsequent background fade transitions\nvar fadeInterval =
1000; // fade in/out "...
0023:Call oleaut32.VariantInit(00339af0) ret=7d11736d
0023:Ret oleaut32.VariantInit() retval=00339af0 ret=7d11736d
0023:trace:mshtml:parse_text >>>
0023:trace:jscript:JScriptParse_ParseScriptText (0x246f178)->(L"\n\nvar
animationInterval = 50; // interval for animating track movement\nvar
initialChangeBackgroundInterval = 5000; // time before first background fade
transition\nvar changeBackgroundInterval = 10000; // time between subsequent
background fade transitions\nvar fadeInterval = 1000; // fade in/out "...
L"window" (nil) L"</SCRIPT>" 0 0 82 0x339af0 0x339b04)
...
0023:warn:jscript:script_parse parser failed around L"0;\n\nfunction
window::onload()\n{\n SetText(EulaNote);\n SetText(EulaLink);\n
SetText(Note1);\n SetText(Note2);\n SetText(Copyright);\n\n
SetButton(PlayButton);\n SetButton(AdvancedButton);\n
SetButton(InstallDedicatedServerButton);\n
SetButton(InstallMapEditorButton);\n\n"...
--- snip ---
Wine's jscript parser doesn't recognize 'objectid::eventname' style function
declarations.
That's Microsoft IE specific ECMAScript 'extension' which allows to wire up
event callbacks for ActiveX objects.
--- snip ---
function window::onload()
{
SetText(EulaNote);
SetText(EulaLink);
SetText(Note1);
SetText(Note2);
SetText(Copyright);
SetButton(PlayButton);
SetButton(AdvancedButton);
SetButton(InstallDedicatedServerButton);
SetButton(InstallMapEditorButton);
//PlayButton.src = PlayButton.hover;
SetTabStop(PlayButton, 1, OnPlay);
SetTabStop(AdvancedButton, 2, OnAdvanced);
SetTabStop(InstallDedicatedServerButton, 3, OnInstallDedicatedServer);
SetTabStop(InstallMapEditorButton, 4, OnInstallMapEditor);
SetTabStop(EulaLink, 5);
animationTimerId = window.setInterval("OnAnimateTracks();",
animationInterval);
//window.setTimeout("OnChangeBackground()",
initialChangeBackgroundInterval);
main.filters[0].Apply();
content.style.visibility = "visible";
HelpBox.style.visibility = "visible";
HelpText.innerText = GetString("DefaultHelp");
main.filters[0].Play();
}
--- snip ---
$ wine --version
wine-1.7.14-126-g2bb1059
Regards
--
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