Bug 891967 - Show caret in braille when editing. r=eeejay r=kats
Bug 838146 part 1.  Implement WebIDL API on Navigator for the parts that are specified or are in nsIDOMNavigator.  r=smaug, sr=sicking
Bug 838146 part 2.  Implement WebIDL API on Navigator for all our nonstandard extensions that are not behind build-time flags.  r=smaug, sr=peterv
Bug 838146 part 3.  Set up preprocessing of Navigator.webidl, since we want to make some stuff on Navigator build-time-conditional.  r=khuey
Bug 838146 part 4.  Implement WebIDL API on Navigator for WebTelephony.  r=bent, sr=sicking
Bug 838146 part 5.  Implement remaining MOZ_B2G_RIL-conditional WebIDL APIs on Navigator.  r=smaug, sr=sicking
Bug 838146 part 6.  Implement gamepad, bluetooth, time, audiochannel WebIDL APIs on Navigator.  r=smaug, sr=sicking
Bug 838146 part 7.  Implement the MOZ_MEDIA_NAVIGATOR WebIDL APIs on Navigator.  r=smaug, sr=sicking
Bug 838146 part 8.  Switch the Navigator resolve hook over to a more WebIDL-like API.  r=smaug
Bug 838146 part 9.  Turn on WebIDL bindings for Navigator.  r=smaug
Bug 892559.  Don't use #pragma once in example codegen.  r=smaug
Bug 859585 - Fix telephony intermittent failures; r=jgriffin
Bug 892964. Rewrite DrawTargetCG::MaskSurface to avoid using FillRect(). r=mattwoodrow

With FillRect we were setting the transform twice.

The patch looks really bad because I needed to move the implementation of
MaskSurface so that it was below the helper methods.

The actual change is:

-  FillRect(Rect(aOffset.x, aOffset.y, size.width, size.height), aSource, aDrawOptions);
-
+  if (isGradient(aSource)) {
+    // we shouldn't need to clip to an additional rectangle
+    // as the cliping to the mask should be sufficient.
+    DrawGradient(cg, aSource);
+  } else {
+    SetFillFromPattern(cg, mColorSpace, aSource);
+    CGContextFillRect(cg, CGRectMake(aOffset.x, aOffset.y, size.width, size.height));
+  }

This also avoids setting up other state like alpha and the unboundness fixer twice.

--HG--
extra : rebase_source : 762f2d94ddaff129d584aab1e1f429ddfea99277