From: Jacek Caban jacek@codeweavers.com
--- dlls/jscript/jscript.h | 13 ------------- dlls/jscript/jsdisp.idl | 4 ++++ dlls/mshtml/script.c | 5 ----- 3 files changed, 4 insertions(+), 18 deletions(-)
diff --git a/dlls/jscript/jscript.h b/dlls/jscript/jscript.h index 0540bce380d..5e6685547ab 100644 --- a/dlls/jscript/jscript.h +++ b/dlls/jscript/jscript.h @@ -35,19 +35,6 @@ #include "wine/list.h" #include "wine/rbtree.h"
-/* - * This is Wine jscript extension for ES5 compatible mode. Native IE9+ implements - * a separated JavaScript enging in side MSHTML. We implement its features here - * and enable it when HTML flag is specified in SCRIPTPROP_INVOKEVERSIONING property. - */ -#define SCRIPTLANGUAGEVERSION_HTML 0x400 - -/* - * This is Wine jscript extension for ES5 and ES6 compatible mode. Allowed only in HTML mode. - */ -#define SCRIPTLANGUAGEVERSION_ES5 0x102 -#define SCRIPTLANGUAGEVERSION_ES6 0x103 - typedef struct _jsval_t jsval_t; typedef struct _jsstr_t jsstr_t; typedef struct _jsexcept_t jsexcept_t; diff --git a/dlls/jscript/jsdisp.idl b/dlls/jscript/jsdisp.idl index 22349ecb50c..f45640d7ee7 100644 --- a/dlls/jscript/jsdisp.idl +++ b/dlls/jscript/jsdisp.idl @@ -78,6 +78,10 @@ interface IWineJSDispatchHost : IDispatchEx HRESULT ToString(BSTR *str); }
+const unsigned int SCRIPTLANGUAGEVERSION_HTML = 0x400; +const unsigned int SCRIPTLANGUAGEVERSION_ES5 = 0x102; +const unsigned int SCRIPTLANGUAGEVERSION_ES6 = 0x103; + [ object, uuid(d359f2fe-5531-741b-a41a-5cf92edc971d), diff --git a/dlls/mshtml/script.c b/dlls/mshtml/script.c index 487fa148b5c..52ce05c5179 100644 --- a/dlls/mshtml/script.c +++ b/dlls/mshtml/script.c @@ -62,11 +62,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(mshtml);
#endif
-/* See jscript.h in jscript.dll. */ -#define SCRIPTLANGUAGEVERSION_HTML 0x400 -#define SCRIPTLANGUAGEVERSION_ES5 0x102 -#define SCRIPTLANGUAGEVERSION_ES6 0x103 - struct ScriptHost { IActiveScriptSite IActiveScriptSite_iface; IActiveScriptSiteInterruptPoll IActiveScriptSiteInterruptPoll_iface;