diff --git a/scripting/javascript/bindings/XMLHTTPRequest.cpp b/scripting/javascript/bindings/XMLHTTPRequest.cpp index b67a8268b3..db7195e6cf 100644 --- a/scripting/javascript/bindings/XMLHTTPRequest.cpp +++ b/scripting/javascript/bindings/XMLHTTPRequest.cpp @@ -4,7 +4,7 @@ // // Created by Zynga 2013 // -// Heaviliy based on: https://github.com/funkaster/FakeWebGL/blob/master/FakeWebGL/WebGL/XMLHTTPRequest.cpp +// Heavy based on: https://github.com/funkaster/FakeWebGL/blob/master/FakeWebGL/WebGL/XMLHTTPRequest.cpp // Copyright (c) 2012 Rolando Abarca. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy @@ -794,6 +794,7 @@ void MinXmlHttpRequest::_js_register(JSContext *cx, JSObject *global) { JS_BINDED_PROP_DEF_GETTER(MinXmlHttpRequest, status), JS_BINDED_PROP_DEF_GETTER(MinXmlHttpRequest, statusText), JS_BINDED_PROP_DEF_GETTER(MinXmlHttpRequest, responseText), + JS_BINDED_PROP_DEF_GETTER(MinXmlHttpRequest, responseXML), JS_BINDED_PROP_DEF_GETTER(MinXmlHttpRequest, response), {0, 0, 0, 0, 0} }; diff --git a/scripting/javascript/bindings/XMLHTTPRequest.h b/scripting/javascript/bindings/XMLHTTPRequest.h index d1213ba581..0623ccc349 100644 --- a/scripting/javascript/bindings/XMLHTTPRequest.h +++ b/scripting/javascript/bindings/XMLHTTPRequest.h @@ -4,7 +4,7 @@ // // Created by Zynga 2013 // -// Heaviliy based on: https://github.com/funkaster/FakeWebGL/blob/master/FakeWebGL/WebGL/XMLHTTPRequest.h +// Heavy based on: https://github.com/funkaster/FakeWebGL/blob/master/FakeWebGL/WebGL/XMLHTTPRequest.h // Copyright (c) 2012 Rolando Abarca. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy