0eb750ce354b9f9b55e768012a6b809547429046: Bug 781039 - Mouse input support for gonk, r=cjones
Michael Wu <mwu@mozilla.com> - Fri, 24 Aug 2012 14:06:19 -0400 - rev 105359
Push 55 by shu@rfrn.org at Thu, 30 Aug 2012 01:33:09 +0000
Bug 781039 - Mouse input support for gonk, r=cjones
8bd8ec63a020a56aa9d654d99c83bf6b97c5efe1: Bug 783162: Make mapped attributes hold the image alive. r=bz
Kyle Huey <khuey@kylehuey.com> - Fri, 24 Aug 2012 10:50:49 -0700 - rev 105358
Push 55 by shu@rfrn.org at Thu, 30 Aug 2012 01:33:09 +0000
Bug 783162: Make mapped attributes hold the image alive. r=bz The nsCSSValue in nsGenericHTMLElement::MapBackgroundInto is a temporary. This causes a problem after Bug 697230 landed, because the nsCSSValue::Image we put into that value is destroyed once we're done doing style stuff. Previously the nsImageLoader would grab the request off the nsCSSValue::Image and hold it alive. Bug 697230 changed the behavior here; now when the nsCSSValue::Image is destroyed it tells the image loader to drop the request. The result is that all the references to the request are dropped and the frame is never told it has a background. The solution is to keep the nsCSSValue::Image alive longer. This patch adds two new types of nsAttrValue. The first is an nsCSSValue::URL. A ParseBackgroundAttribute method is added on nsGenericHTMLElement that the relevant elements (body/td/th/table/tr/tbody/thead/tfoot) call that parses background into an nsCSSValue::URL. The second is an nsCSSValue::Image. nsGenericHTMLElement::MapBackgroundInto attempts to convert the nsCSSValue::URL into an nsCSSValue::Image by kicking off the image load. The result is that image loads are only started when the element is actually visible. This also mirrors the way background-image works. This also allows us to fix two longstanding bugs in this code. Since MapBackgroundInto doesn't have a pointer to the actual element, it relied on grabbing the principal of the document. Now we can grab the principal of the node in ParseBackgroundAttribute. MapBackgroundInto also has no way to get at the element's base URI (to honor xml:base), which is now possible in ParseBackgroundAttribute. nsCSSValue::[Image|URL] have also been moved to be mozilla::css::[Image|URL]Value. nsAttrValue.h is included in external linkage code, so it can't include nsCSSValue.h to get the declarations of nsCSSValue::[Image|URL], and nested classes can't be forward declared. Moving the classes to a namespace solves the problem. Finally some old inoperative quirks mode code was removed. This code has done nothing since Bug 273078 was landed in 2004.
814de647442cdcc0cfc815fc06335750fe13a61b: Revert bug 776208 for semi-consistent failures:
Benjamin Smedberg <benjamin@smedbergs.us> - Fri, 24 Aug 2012 13:08:15 -0400 - rev 105357
Push 55 by shu@rfrn.org at Thu, 30 Aug 2012 01:33:09 +0000
Revert bug 776208 for semi-consistent failures: TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Test 1a, the overlay about: content is expected TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | an unexpected uncaught JS exception reported through window.onerror - TypeError: Components.classes is undefined at jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml:38 TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | an unexpected uncaught JS exception reported through window.onerror - TypeError: Components.classes is undefined at jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml:38 TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Found an unexpected tab at the end of test run: jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Found an unexpected tab at the end of test run: chrome://mochitests/content/browser/browser/base/content/test/plugin_test.html
8bf32bc47aa24befbf334e90da12719b3823f3f1: Bug 777028 - honor gfx.work-around-driver-bugs for Mesa WebGL workaround - r=jgilbert
Benoit Jacob <bjacob@mozilla.com> - Thu, 23 Aug 2012 14:56:17 -0400 - rev 105356
Push 55 by shu@rfrn.org at Thu, 30 Aug 2012 01:33:09 +0000
Bug 777028 - honor gfx.work-around-driver-bugs for Mesa WebGL workaround - r=jgilbert
5870ef9c6afacc38175f767a0989c301cc8f3445: Bug 785287 - Profiler: Add the document URL in DoReflow. r=roc
Benoit Girard <b56girard@gmail.com> - Thu, 23 Aug 2012 22:07:21 -0400 - rev 105355
Push 55 by shu@rfrn.org at Thu, 30 Aug 2012 01:33:09 +0000
Bug 785287 - Profiler: Add the document URL in DoReflow. r=roc
3c0b16397ce910ca3e04ba058d4621d2609a5b80: Bug 785273 - Prevent circular references to Marionette instances, r=mdas
Jonathan Griffin <jgriffin@mozilla.com> - Thu, 23 Aug 2012 17:31:42 -0700 - rev 105354
Push 55 by shu@rfrn.org at Thu, 30 Aug 2012 01:33:09 +0000
Bug 785273 - Prevent circular references to Marionette instances, r=mdas
e5259919146b1cc402ad9f4b20217d612af91037: Bug 785175: Discard column information if the script is too large instead of aborting. r=jorendorff
Alex Crichton <acrichton@mozilla.com> - Fri, 24 Aug 2012 09:47:42 -0700 - rev 105353
Push 55 by shu@rfrn.org at Thu, 30 Aug 2012 01:33:09 +0000
Bug 785175: Discard column information if the script is too large instead of aborting. r=jorendorff
3f9d182bab1d254ed153205d4acdaf28998d602a: Bug 782735 - turn nsNodeInfoManager into a non-leaking native CC class. r=smaug
Andrew McCreight <amccreight@mozilla.com> - Fri, 24 Aug 2012 09:50:06 -0700 - rev 105352
Push 55 by shu@rfrn.org at Thu, 30 Aug 2012 01:33:09 +0000
Bug 782735 - turn nsNodeInfoManager into a non-leaking native CC class. r=smaug
c144761a799fdac1a08a4b32433f4fa3dd1619d4: Bug 782485 - turn nsXULPrototypeNode into a native CC class. r=smaug
Andrew McCreight <amccreight@mozilla.com> - Fri, 24 Aug 2012 09:50:06 -0700 - rev 105351
Push 55 by shu@rfrn.org at Thu, 30 Aug 2012 01:33:09 +0000
Bug 782485 - turn nsXULPrototypeNode into a native CC class. r=smaug
ecbb10bf79b32677e5a673f5cd7bae33b019759b: Bug 750570, part 4 - Switch most native CC classes to use the purple buffer. r=smaug
Andrew McCreight <amccreight@mozilla.com> - Fri, 24 Aug 2012 09:50:06 -0700 - rev 105350
Push 55 by shu@rfrn.org at Thu, 30 Aug 2012 01:33:09 +0000
Bug 750570, part 4 - Switch most native CC classes to use the purple buffer. r=smaug This patch actually converts over most of the existing native CC classes to use the participant. This is done by converting them to use the newly generalized nsCycleCollectingAutoRefCnt instead of their usual ref count. This is mostly a matter of defining new macros defining AddRef() and Release() for native CC classes with the CC ref count. nsTimeout is left as a legacy native CC class because it is a weird class, but hopefully eventually it too can be converted over. See bug 774874.
24368b894189f68944f2acceded49f6a3f0859a4: Bug 750570, part 3 - Remove unused stabilizeForDeletion argument. r=smaug
Andrew McCreight <amccreight@mozilla.com> - Fri, 24 Aug 2012 09:50:06 -0700 - rev 105349
Push 55 by shu@rfrn.org at Thu, 30 Aug 2012 01:33:09 +0000
Bug 750570, part 3 - Remove unused stabilizeForDeletion argument. r=smaug This argument isn't used, and would have to have its type changed to support native purple buffer participants, so we just remove it.
9077df78db40c7cf71f564831e66673be1e49e05: Bug 750570, part 2 - Add purple buffer support for non-nsISupports classes. r=smaug
Andrew McCreight <amccreight@mozilla.com> - Fri, 24 Aug 2012 09:50:06 -0700 - rev 105348
Push 55 by shu@rfrn.org at Thu, 30 Aug 2012 01:33:09 +0000
Bug 750570, part 2 - Add purple buffer support for non-nsISupports classes. r=smaug We add a new field to purple buffer entries, to store the participant for non-nsISupports classes. For nsISupports, we store NULL instead. The participant has to be passed into Suspect2. In the cycle collector itself, we generalize canonicalization to handle the possibility that we can just grab the participant directly from a field, rather than needing to QI something. Most of the patch is just routing around this extra pointer.
786f414ea72681508af57225d8b2082332cdc758: Bug 750570, part 1 - lift UnmarkIfPurple to the root CC participant. r=glandium,smaug
Andrew McCreight <amccreight@mozilla.com> - Fri, 24 Aug 2012 09:50:06 -0700 - rev 105347
Push 55 by shu@rfrn.org at Thu, 30 Aug 2012 01:33:09 +0000
Bug 750570, part 1 - lift UnmarkIfPurple to the root CC participant. r=glandium,smaug All CC classes are potentially cycle collectable, so we need to implement this function on the participant for all CC classes.
88d90921b34838c4d4e880f80b987ebf819a3c20: Bug 784706 - clear proxiedScopes in DebugScopes::onCompartmentLeaveDebugMode (r=jimb)
Luke Wagner <luke@mozilla.com> - Thu, 23 Aug 2012 10:58:24 -0700 - rev 105346
Push 55 by shu@rfrn.org at Thu, 30 Aug 2012 01:33:09 +0000
Bug 784706 - clear proxiedScopes in DebugScopes::onCompartmentLeaveDebugMode (r=jimb)
8618d9956e869630165c7e2def703010fd3bf1e2: Bug 742612 - address additional style nit from review. r=jorendorff
Dave Herman <dherman@mozilla.com> - Fri, 24 Aug 2012 09:00:50 -0700 - rev 105345
Push 55 by shu@rfrn.org at Thu, 30 Aug 2012 01:33:09 +0000
Bug 742612 - address additional style nit from review. r=jorendorff
8aa9e479b24f2be5f2e507142d84ebfa0533f5af: Bug 785226 - fix -Wenum-compare warning spam in accessible/src/base/RoleAsserts.cpp; r=davidb
Nathan Froyd <froydnj@mozilla.com> - Thu, 23 Aug 2012 17:00:58 -0400 - rev 105344
Push 55 by shu@rfrn.org at Thu, 30 Aug 2012 01:33:09 +0000
Bug 785226 - fix -Wenum-compare warning spam in accessible/src/base/RoleAsserts.cpp; r=davidb
c3cff93ee869647bbfedc3cf33bc3da714b939ac: Bug 742612 - Reflect.parse: separate guarded/unguarded catch clauses. r=jorendorff
Dave Herman <dherman@mozilla.com> - Fri, 24 Aug 2012 08:30:44 -0700 - rev 105343
Push 55 by shu@rfrn.org at Thu, 30 Aug 2012 01:33:09 +0000
Bug 742612 - Reflect.parse: separate guarded/unguarded catch clauses. r=jorendorff
a1756976e61dd0e6800db361b450fc74389dad10: Bug 785333 - Keep track of merged frames with all display items. r=roc
Chris Lord <chrislord.net@gmail.com> - Fri, 24 Aug 2012 16:17:22 +0100 - rev 105342
Push 55 by shu@rfrn.org at Thu, 30 Aug 2012 01:33:09 +0000
Bug 785333 - Keep track of merged frames with all display items. r=roc This changes the display-item storage to store layers against the underlying frame and all merged frames of an item (and similarly, to retrieve them against all frames of an item).
79345542f8535d29891b68397b7e7fc85b465fa4: Bug 785333 - Store container layers against merged frames. r=roc
Chris Lord <chrislord.net@gmail.com> - Fri, 24 Aug 2012 16:17:22 +0100 - rev 105341
Push 55 by shu@rfrn.org at Thu, 30 Aug 2012 01:33:09 +0000
Bug 785333 - Store container layers against merged frames. r=roc As well as storing the container layer against the underlying frame of the container item, store it against its merged frames as well. In addition, check for old container layers against merged frames when building a container layer. This protects against losing the layer when the underlying frame of a container item changes to either a new frame or an existing, merged frame.
7055bd78827448669b53dc0dd1827cf477295cb2: Bug 668469 - Don't ignore focusable elements. r=surkov
Hubert Figuière <hfiguiere@mozilla.com> - Wed, 22 Aug 2012 08:08:43 -0700 - rev 105340
Push 55 by shu@rfrn.org at Thu, 30 Aug 2012 01:33:09 +0000
Bug 668469 - Don't ignore focusable elements. r=surkov
(0) -100000 -30000 -10000 -3000 -1000 -300 -100 -50 -20 +20 +50 +100 +300 +1000 +3000 tip