diff options
author | Beat Gaetzi <beat@FreeBSD.org> | 2010-02-07 21:48:44 +0000 |
---|---|---|
committer | Beat Gaetzi <beat@FreeBSD.org> | 2010-02-07 21:48:44 +0000 |
commit | b98f720761890ab6554e9e4831c8d591228c405c (patch) | |
tree | 959de279a57dd27404d5c4c8f81a6ad51a2c15e0 /www/firefox-esr/files/patch-ff-479560 | |
parent | Add an RC script for saned, and borrow machinery for creating (diff) |
- Update to 3.6
What's new in Firefox 3.6:
* Support for the HTML5 File API
* A change to how third-party software integrates with Firefox to
increase stability.
* The ability to run scripts asynchronously to speed up page load times.
* A mechanism to prevent incompatible software from crashing Firefox.
* Users can now change their browser's appearance with a single click,
with built in support for Personas.
* Firefox 3.6 will alert users about out of date plugins to keep them
safe.
* Open, native video can now be displayed full screen, and supports
poster frames.
* Support for the WOFF font format.
* Improved JavaScript performance, overall browser responsiveness and
startup time.
* Support for new CSS, DOM and HTML5 web technologies.
Thanks to: Andreas Tobler, Florian Smeets, nox@, miwi@ and all testers
Diffstat (limited to 'www/firefox-esr/files/patch-ff-479560')
-rw-r--r-- | www/firefox-esr/files/patch-ff-479560 | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/www/firefox-esr/files/patch-ff-479560 b/www/firefox-esr/files/patch-ff-479560 deleted file mode 100644 index 2609935bbdc9..000000000000 --- a/www/firefox-esr/files/patch-ff-479560 +++ /dev/null @@ -1,69 +0,0 @@ -diff -up mozilla/js/src/xpconnect/src/xpcprivate.h.479560 mozilla/js/src/xpconnect/src/xpcprivate.h ---- js/src/xpconnect/src/xpcprivate.h.479560 2008-03-22 09:04:17.000000000 +0100 -+++ js/src/xpconnect/src/xpcprivate.h 2009-05-13 14:56:10.000000000 +0200 -@@ -2167,7 +2167,7 @@ private: - nsXPCWrappedJSClass(XPCCallContext& ccx, REFNSIID aIID, - nsIInterfaceInfo* aInfo); - -- JSObject* NewOutObject(JSContext* cx); -+ JSObject* NewOutObject(JSContext* cx, JSObject* scope); - - JSBool IsReflectable(uint16 i) const - {return (JSBool)(mDescriptors[i/32] & (1 << (i%32)));} -diff -up mozilla/js/src/xpconnect/src/xpcwrappedjsclass.cpp.479560 mozilla/js/src/xpconnect/src/xpcwrappedjsclass.cpp ---- js/src/xpconnect/src/xpcwrappedjsclass.cpp.479560 2007-06-30 01:21:28.000000000 +0200 -+++ js/src/xpconnect/src/xpcwrappedjsclass.cpp 2009-05-13 14:51:35.000000000 +0200 -@@ -1338,7 +1338,7 @@ nsXPCWrappedJSClass::CallMethod(nsXPCWra - if(param.IsOut()) - { - // create an 'out' object -- JSObject* out_obj = NewOutObject(cx); -+ JSObject* out_obj = NewOutObject(cx, obj); - if(!out_obj) - { - retval = NS_ERROR_OUT_OF_MEMORY; -@@ -1706,9 +1706,9 @@ nsXPCWrappedJSClass::GetInterfaceName() - } - - JSObject* --nsXPCWrappedJSClass::NewOutObject(JSContext* cx) -+nsXPCWrappedJSClass::NewOutObject(JSContext* cx, JSObject* scope) - { -- return JS_NewObject(cx, nsnull, nsnull, nsnull); -+ return JS_NewObject(cx, nsnull, nsnull, JS_GetGlobalForObject(cx, scope)); - } - - -diff -up mozilla/js/src/jsapi.c.old mozilla/js/src/jsapi.c ---- js/src/jsapi.c.old 2009-05-13 15:13:20.000000000 +0200 -+++ js/src/jsapi.c 2009-05-13 15:13:32.000000000 +0200 -@@ -122,6 +122,16 @@ JS_GetPositiveInfinityValue(JSContext *c - return DOUBLE_TO_JSVAL(cx->runtime->jsPositiveInfinity); - } - -+JS_PUBLIC_API(JSObject *) -+JS_GetGlobalForObject(JSContext *cx, JSObject *obj) -+{ -+ JSObject *parent; -+ -+ while ((parent = OBJ_GET_PARENT(cx, obj)) != NULL) -+ obj = parent; -+ return obj; -+} -+ - JS_PUBLIC_API(jsval) - JS_GetEmptyStringValue(JSContext *cx) - { -diff -up mozilla/js/src/jsapi.h.old mozilla/js/src/jsapi.h ---- js/src/jsapi.h.old 2009-05-13 15:13:20.000000000 +0200 -+++ js/src/jsapi.h 2009-05-13 15:13:32.000000000 +0200 -@@ -668,6 +668,9 @@ JS_DumpNamedRoots(JSRuntime *rt, - void *data); - #endif - -+extern JS_PUBLIC_API(JSObject *) -+JS_GetGlobalForObject(JSContext *cx, JSObject *obj); -+ - /* - * Call JS_MapGCRoots to map the GC's roots table using map(rp, name, data). - * The root is pointed at by rp; if the root is unnamed, name is null; data is |