Backed out changeset 31268d71c33c (bug 833143) due to bug 837843.
Merge m-c to inbound.
Bug 836124 - Replace GetCurrentFrameIsOpaque() with [noscript] FrameIsOpaque(aWhichFrame). r=joe
Bug 836155 - Replace GetCurrentFrameRect() with FrameRect(aWhichFrame). r=joe