author Masayuki Nakano <>
Wed, 28 Jan 2015 15:27:32 +0900
changeset 253333 72718ad7b573dbb66267aca63c151f5b36de3120
parent 163380 f8787963a4389c4795a2ba0561c6e5cfcc272b07
permissions -rw-r--r--
Bug 917322 part.14 Remove sendCompositionEvent() and createCompositionStringSynthesizer() of nsIDOMWindowUtils and nsICompositionStringSynthesizer r=smaug, sr=smaug

<title>Bug 449653 - drawWindow on canvas fails on load, draws white instead of specified region</title>
html, body {
margin: 0px;
padding: 0px;
<div style="width: 100px; height: 100px; background-color: lime;"></div>
<canvas id="canvas" width="100" height="100" style="background-color: red;"></canvas>
   var canvas = document.getElementById("canvas");
   var ctx = canvas.getContext("2d");
   SpecialPowers.wrap(ctx).drawWindow(window, 0, 0, 100, 100, "white");