Commit Graph

12810 Commits

Author SHA1 Message Date
Tom Schuster
ccde5567f1 Bug 828462 - Root Proxy/Wrapper getOwnPropertyNames and keys. r=terrence 2013-03-21 23:23:47 +01:00
Tom Schuster
30b86c5cc0 Bug 828462 - Root Proxy/Wrapper defineProperty. r=terrence 2013-03-21 23:23:47 +01:00
Tom Schuster
fcf6a93bf4 Bug 828462 - Root Proxy/Wrapper get(Own)PropertyDescriptor. r=terrence 2013-03-21 23:23:47 +01:00
Reuben Morais
3b89fcfd52 Bug 821630 - Fix retrieving blobs with get() in Settings API. r=gwagner 2013-03-11 22:31:15 -07:00
Ehsan Akhgari
8f5f7451ec Bug 844169 - Part 4: Move HTMLIFrameElement to Web IDL bindings; r=ms2ger 2013-02-27 10:38:32 -05:00
Steven Michaud
6f326250c4 Bug 833936 - Mochitest that queries NPNVcontentsScaleFactor. r=bsmedberg 2013-03-21 15:23:46 -05:00
Ehsan Akhgari
2c2760c8c7 Bug 853556 - Make nsRootedJSValueArray::SetCapacity return void; r=bzbarsky
--HG--
extra : rebase_source : 04a3f25da7a0f1f1bd773b79c3d620dc8392646f
2013-03-21 14:39:17 -04:00
Bobby Holley
d2b5bb6b3b Bug 658909 - Remove GWNOJO from nsDOMClassInfo. r=mrbkap 2013-03-21 08:20:45 -07:00
Bobby Holley
48fec961ea Bug 658909 - Use JS_{,Strict}PropertyOp instead of null when defining value props in nsDOMClassInfo. r=mrbkap
Using JSPropertyOp means a null shape getter, whereas null means that the shape
uses the class getter. This means that stuff like window.top, which is defined
as a non-configurable |own| property in nsDOMClassInfo, was getting set up with
XPC_WN_Helper_GetProperty as its get operation. But this confused
SandboxProxyHandler, which explicitly avoids rebinding class getters/setters,
which in turn meant that our sandboxPrototype feature was relying on the crazy
prototype-climbing behavior of GetWrappedNativeOfJSObject to make stuff like
|this.top| work. We're removing this behavior, so we need to fix nsDOMClassInfo
here.

Here are some DefineProperty cases that I left with null getters/setters:
* nsDOMClassInfo::ResolveConstructor
* The child window stuff at the bottom of nsWindowSH::NewResolve
* Named item resolution in nsNamedArraySH::NewResolve
* document.all stuff (scary!)
* nsHTMLDocumentSH::NewResolve
* nsHTMLFormElementSH::NewResolve
* nsStorage2SH::NewResolve
2013-03-21 08:20:42 -07:00
Bobby Holley
d095bf8d04 Bug 853283 - Grab the window directly from the navigator in nsNavigatorSH::NewResolve. r=mrbkap 2013-03-21 08:20:41 -07:00
Ryan VanderMeulen
5a1f305fec Backed out changeset 55d19e574b86 (bug 853283) for Windows debug bustage on a CLOSED TREE. 2013-03-21 15:25:14 -04:00
Ryan VanderMeulen
0d64a1ef2b Backed out 22 changesets (bug 658909) for Windows debug bustage. 2013-03-21 15:24:54 -04:00
Mike Shal
f290401a73 Bug 852534 - Remove GRE_MODULE from Makefile.in; r=gps 2013-03-21 08:41:00 -07:00
David Zbarsky
3388894ed3 Bug 847120: Convert SVGFEOffsetElement to WebIDL r=Ms2ger 2013-03-21 13:38:28 -04:00
Bobby Holley
b88af0ec37 Bug 658909 - Remove GWNOJO from nsDOMClassInfo. r=mrbkap 2013-03-21 08:20:45 -07:00
Bobby Holley
725ea26262 Bug 658909 - Use JS_{,Strict}PropertyOp instead of null when defining value props in nsDOMClassInfo. r=mrbkap
Using JSPropertyOp means a null shape getter, whereas null means that the shape
uses the class getter. This means that stuff like window.top, which is defined
as a non-configurable |own| property in nsDOMClassInfo, was getting set up with
XPC_WN_Helper_GetProperty as its get operation. But this confused
SandboxProxyHandler, which explicitly avoids rebinding class getters/setters,
which in turn meant that our sandboxPrototype feature was relying on the crazy
prototype-climbing behavior of GetWrappedNativeOfJSObject to make stuff like
|this.top| work. We're removing this behavior, so we need to fix nsDOMClassInfo
here.

Here are some DefineProperty cases that I left with null getters/setters:
* nsDOMClassInfo::ResolveConstructor
* The child window stuff at the bottom of nsWindowSH::NewResolve
* Named item resolution in nsNamedArraySH::NewResolve
* document.all stuff (scary!)
* nsHTMLDocumentSH::NewResolve
* nsHTMLFormElementSH::NewResolve
* nsStorage2SH::NewResolve
2013-03-21 08:20:42 -07:00
Bobby Holley
b4904b5e9c Bug 853283 - Grab the window directly from the navigator in nsNavigatorSH::NewResolve. r=mrbkap 2013-03-21 08:20:41 -07:00
Aryeh Gregor
973691f4a3 Bug 849661 - Remove support for Node.hasAttributes(); r=bz 2013-03-21 14:48:32 +02:00
Chris Lord
ba90002039 Bug 852565 - Don't expand the viewport for small pages. r=kats
Only expand the CSS viewport when a page reaches the screen size. If it's
smaller than the screen size, lock the dynamic toolbar and keep the same,
smaller CSS viewport. This 'fixes' sites that try to size themselves to the
size of the screen and get it wrong.
2013-03-21 11:23:49 +00:00
Georg Fritzsche
a0ccabf591 Bug 830267 - Persist plugin preferences outside of pluginreg.dat. r=bsmedberg 2013-02-15 22:00:25 +01:00
Gene Lian
f0195440ce Bug 853329 - B2G MMS: other Android phones cannot read attachments sent from FFOS. r=vicamo 2013-03-21 16:19:20 +08:00
David Zbarsky
58c48a85b7 [Bug 852843] SVGZoomAndPan interface object not being instantiated r=bz 2013-03-21 01:33:56 -04:00
Johnny Stenback
0b39e48388 Fixing bug 781310. Change nsPluginHost::GetInst() to return already_AddRefed<nsPluginHost> to make it harder to write leaky code. r=jschoenick@mozilla.com 2013-03-20 11:29:00 -07:00
Anthony Jones
fe7ee40bd2 Bug 833795 - Use screen relative co-ordinates for gestures; r=drs 2013-03-21 15:08:15 +13:00
Luqman Aden
47bb2f0472 Bug 848617 - New mochitests for Alarm API. r=gene 2013-03-18 15:47:30 -07:00
John Schoenick
7a35f9184d Bug 784131 - Test. r=josh 2013-03-20 14:29:23 -07:00
John Schoenick
4eff04a3ce Bug 851378 - Avoid bogus assertion when trying to spawn disabled plugin. r=bsmedberg 2013-03-20 14:29:22 -07:00
John Schoenick
713c1f2686 Bug 851378 - Notify owning content when we destroy plugins from under it. r=bsmedberg 2013-03-20 14:29:22 -07:00
John Schoenick
60adc6a628 Bug 851378 - Move removing the plugin prototype from objects to content. r=bsmedberg 2013-03-20 14:29:21 -07:00
Terrence Cole
46f8e831e6 Bug 850293 - Remove nsScriptObjectHolder; r=mccr8,bholly sr=smaug
nsScriptObjectHolder is not needed with either conservative or exact rooting.
2013-03-20 13:09:09 -07:00
Ralph Giles
ec20c1088c Bug 852350 - Support [Pref] decorator on interfaces. r=bz
Generate a check calling Preferences::GetBool() directly
from the binding's PrefEnabled so the wrapped class doesn't
need to implement it.

This allows defining the preference directly in webidl.

Assumes only one preference value is set. Also removes pointless
override methods which just call the superclass.
---
 dom/bindings/Codegen.py | 37 +++++++++++++++++++++++++------------
 1 file changed, 25 insertions(+), 12 deletions(-)

Generate a check calling Preferences::GetBool() directly
from the binding's PrefEnabled so the wrapped class doesn't
need to implement it.

This allows defining the preference directly in webidl.

Assumes only one preference value is set. Also removes pointless
override methods which just call the superclass.
---
 dom/bindings/Codegen.py | 37 +++++++++++++++++++++++++------------
 1 file changed, 25 insertions(+), 12 deletions(-)
2013-03-20 11:18:00 -07:00
Ted Mielczarek
704e2319bc bug 604039 - Add DOM Gamepad APIs. r=smaug
--HG--
extra : rebase_source : ffffdc4549da1b25ea263b623c05ae1afb3d46a0
2011-08-03 14:12:08 -04:00
Ryan VanderMeulen
f78b48529c Backed out changeset 42d5d3080bc4 (bug 847656) for mochitest crashes on a CLOSED TREE. 2013-03-20 14:17:22 -04:00
Bobby Holley
43be48ff7e Bug 851887 - Null-check XPConnect() in nsWindowSH::GlobalScopePolluterNewResolve. r=bz 2013-03-20 11:08:30 -07:00
Jim Blandy
f7b8e25b98 Bug 847656: Change ContentParent::GetNewOrUsed to return an already_AddRefed value. r=khuey 2013-03-20 10:30:09 -07:00
Boris Zbarsky
c29c55e65d Bug 848386 part 5. Convert SVGDocument to WebIDL. r=peterv 2013-03-20 12:22:26 -04:00
Boris Zbarsky
7c99990a9e Bug 848386 part 1. Don't preserve our wrapper until we have one so unforgeable property setup won't try to preserve it. r=peterv 2013-03-20 12:22:26 -04:00
Boris Zbarsky
f145e4afa3 Bug 852846. Make .style [PutForwards=cssText]. r=ms2ger 2013-03-20 12:22:25 -04:00
Aryeh Gregor
4fecb0f012 Bug 852115 - initEvent should unset defaultPrevented; r=smaug 2013-03-20 16:15:58 +02:00
Sotaro Ikeda
aa37821bb8 Bug 844248 - Add a custom media stream for camera preview. r=roc 2013-03-20 10:07:46 -04:00
Gene Lian
631a537cea Bug 850530 - B2G MMS: Use the same attribute name for delivery (s/state/delivery) like SMS. r=mounir sr=sicking 2013-03-20 18:24:48 +08:00
Edmund Wong
e34cf2985d Merge backout, a=bustage fix in a CLOSED TREE 2013-03-20 16:40:05 +08:00
Edmund Wong
67d9542e03 Back out 44b99b1c798c and e34554f9ec37 for marionette oranges. r=backout in a CLOSED TREE 2013-03-20 16:39:10 +08:00
Hsin-Yi Tsai
98779ed9bd Bug 849185 - marionette test (part2). r=allstars.chh 2013-03-19 11:34:49 +08:00
Yoshi Huang
75a32ccb43 Bug 842981 - Part 2: marionette test for Array.isArray. r=gwagner 2013-03-19 10:31:03 +08:00
Hsin-Yi Tsai
6f33acf5ee Bug 849185 - Disable the airplane mode when an emergency number is dialed (part1). r=allstars.chh 2013-03-18 17:03:49 +08:00
Yoshi Huang
b2dfc1cf42 Bug 842981 - Part 1: Add ObjectWrapper to wrap array object. r=gwagner 2013-03-18 15:06:36 +08:00
Yoshi Huang
d6c2c3c61e Backout changeset dbb1f97672f0 for wrong order 2013-03-20 14:42:35 +08:00
Yoshi Huang
227827a6b3 Backed out changeset d10ac6c5b14f for wrong order. 2013-03-20 14:40:23 +08:00
Yoshi Huang
c146241a8a Bug 842981 - Part 1: Add ObjectWrapper to wrap array object. r=gwagner 2013-03-18 15:06:36 +08:00