Commit Graph

12904 Commits

Author SHA1 Message Date
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
Yoshi Huang
f1beceb933 Bug 842981 - Part 2: marionette test for Array.isArray. r=gwagner 2013-03-19 10:31:03 +08:00
Phil Ringnalda
7e9529716f Back out 26f0d590a021, d92e88a18263, 5a2d12a34466 (bug 846995) for not building
CLOSED TREE
2013-03-19 20:20:38 -07:00
David Zbarsky
c8cee2f373 Bug 846995 Part 3: Rename DOMSVGAnimatedTransformList and kill nsISupports r=jwatt
--HG--
rename : content/svg/content/src/DOMSVGAnimatedTransformList.cpp => content/svg/content/src/SVGAnimatedTransformList.cpp
rename : content/svg/content/src/DOMSVGAnimatedTransformList.h => content/svg/content/src/SVGAnimatedTransformList.h
2013-03-19 22:31:44 -04:00
David Zbarsky
9419247fbd Bug 846995 Part 1: Fix all the files that reference SVGAnimatedTransformList r=jwatt 2013-03-19 22:31:44 -04:00
Gregory Szorc
94ec89296d Bug 844654 - Part 3: Remove now empty Makefile.in files; rs=khuey
--HG--
extra : rebase_source : 8de9c7f68a953e574dda22f8c14c2b2ca60444f9
2013-03-19 18:49:07 -07:00
Boris Zbarsky
24e528d2f7 Bug 852118. Stop window.name being malloc-happy. r=smaug 2013-03-19 21:47:47 -04:00
Boris Zbarsky
6da96159f0 Bug 851584. Don't generate a Length() on our C++ example class to handle our indexed getter if we already have a 'length' attribute in the WebIDL. r=jst 2013-03-19 21:47:47 -04:00
Matthew Gregan
56f37c387c Bug 852401 - Remove sydneyaudio. r=doublec
--HG--
rename : media/libsydneyaudio/src/gonk/AudioSystem.h => dom/system/gonk/android_audio/AudioSystem.h
rename : media/libsydneyaudio/src/gonk/AudioTrack.h => dom/system/gonk/android_audio/AudioTrack.h
rename : media/libsydneyaudio/src/gonk/EffectApi.h => dom/system/gonk/android_audio/EffectApi.h
rename : media/libsydneyaudio/src/gonk/IAudioFlinger.h => dom/system/gonk/android_audio/IAudioFlinger.h
rename : media/libsydneyaudio/src/gonk/IAudioFlingerClient.h => dom/system/gonk/android_audio/IAudioFlingerClient.h
rename : media/libsydneyaudio/src/gonk/IAudioRecord.h => dom/system/gonk/android_audio/IAudioRecord.h
rename : media/libsydneyaudio/src/gonk/IAudioTrack.h => dom/system/gonk/android_audio/IAudioTrack.h
rename : media/libsydneyaudio/src/gonk/IEffect.h => dom/system/gonk/android_audio/IEffect.h
rename : media/libsydneyaudio/src/gonk/IEffectClient.h => dom/system/gonk/android_audio/IEffectClient.h
2013-03-19 17:12:36 +13:00
Mike Shal
ea1d9b8ba7 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Ryan VanderMeulen
7619f58b11 Merge m-c to inbound. 2013-03-19 18:01:10 -04:00
Phil Ringnalda
8f82505fcd Back out bc8eeacc3c8a (bug 843893) for (at least) desktop bustage in test_power_basics.html 2013-03-19 14:27:55 -07:00
David Clarke
a6752b162a Bug 843893 - Fix alarm and power tests to work with current gaia, r=gene.lian 2013-03-07 12:48:34 -08:00
Peter Van der Beken
5f34e713cd Fix for bug 850847 (Fix dictionary in generated example for workers). r=bz.
--HG--
extra : rebase_source : 75117320f23b5af82eb0ee7648c3e0dd876fe19e
2012-12-17 15:32:10 +01:00
Chris Peterson
9d0c967f1b Bug 847839 - Part 2: Remove obsolete files for Android XUL Fennec. r=mfinkle 2013-03-07 17:55:49 +00:00
Trevor Saunders
324dfcc313 bug 852379 - remove unecessary nsHashtable.h includes r=Ms2ger 2013-03-18 21:18:26 -04:00
David Zbarsky
f74e70b508 Bug 847120: Convert SVGFEGaussianBlurElement to WebIDL r=Ms2ger 2013-03-19 13:43:31 -04:00
Kyle Machulis
33468072db Bug 843868: Change sockaddr* to be a union of all possible sockaddr types; r=tzimmermann
--HG--
extra : rebase_source : 455aeb8c49bec2477a5ffea839a0ac3fe09434f7
2013-03-19 10:23:47 -07:00
Bobby Holley
b9b61977e0 Bug 850247 - Make nsRequestObserverProxy hold onto its context. r=mcmanus
Both the consumers just do this manually. The context here is sometimes an
XPCWrappedJS, so passing it around with nsCOMPtrs off-main-thread can't
happen anymore.

We add assertions in OnStartRequest/OnStopRequest to catch any consumers
that might try to change contexts midstream.
2013-03-19 09:04:57 -07:00
Jon Coppeard
b9652b9f39 Bug 849273 - Investigate splitting the js and JS namespaces r=terrence
--HG--
extra : rebase_source : 2b131d0177f02e5f0e89398545481fcacbfde00f
2013-03-19 10:35:41 +00:00
Aaron Klotz
f9c33b4eee Bug 852164: Adds an addiitonal check to ensure that Plugin Hang UI user response doesn't race past a cancellation. r=bsmedberg
--HG--
extra : rebase_source : c626664d64183a00a9163202eaaa221c4daee260
2013-03-19 16:23:37 +01:00
Andrea Marchesini
df61512cc4 Bug 847370 - HTMLMediaElement - crossOrigin vs crossorigin, r=bz 2013-03-19 16:18:29 +01:00
Kyle Huey
c13157e030 No bug: Hack around our build system woes. r=me CLOSED TREE 2013-03-19 07:25:31 -07:00
Jan-Ivar Bruaroey
ce35ef21e4 Bug 834933 - PeerConnection.js throws Components.Exception so errors are readable. r=jesup 2013-03-14 17:36:50 -04:00
Andrea Marchesini
d623e85566 Bug 841493 - HTMLMediaElement - concrete: False, r=Ms2ger 2013-03-19 13:29:32 +01:00
Andrea Marchesini
16ff5dbc19 Bug 841493 - Convert HTMLVideoElement to WebIDL, r=Ms2ger 2013-03-19 13:28:34 +01:00
Andrea Marchesini
c15b6499e8 Bug 841493 - Rename nsHTMLVideoElement to HTMLVideoElement, r=Ms2ger
--HG--
rename : content/html/content/public/nsHTMLVideoElement.h => content/html/content/public/HTMLVideoElement.h
rename : content/html/content/src/nsHTMLVideoElement.cpp => content/html/content/src/HTMLVideoElement.cpp
2013-03-19 13:27:35 +01:00
Andrea Marchesini
65eec20826 Bug 841493 - HTMLAudioElement to WebIDL, r=Ms2ger 2013-03-19 13:26:39 +01:00
Andrea Marchesini
2cb5f26777 Bug 841493 - Move HTMLMediaElement to WebIDL, r=Ms2ger 2013-03-19 13:25:19 +01:00
Gene Lian
baab71ddc2 Bug 852471 - B2G MMS: provide nsIDOMMobileMessageManager interface (with sendMMS() first) (follow-up fix). r=vicamo a=leo+ 2013-03-19 19:32:32 +08:00
Gene Lian
43b7be4935 Bug 852460 - B2G MMS: provide nsIDOMMobileMessageManager.onreceived event (follow-up fix). r=vicamo,gene.lian 2013-03-19 17:08:29 +08:00
Hsin-Yi Tsai
d13de328bf Bug 844767 - B2G RIL: correct telephony marionette test_outgoing_onstatechange.js. r=allstars.chh 2013-02-25 19:28:07 +08:00
Boris Zbarsky
88b13d1027 Bug 823227 - Tests. r=bholley 2013-03-18 23:06:48 -07:00
Bobby Holley
a854f71bf9 Bug 823227 - Stop pref-controlling the GSP. r=mrbkap 2013-03-18 23:06:47 -07:00
Bobby Holley
0b9238ffdf Bug 823227 - Resolve named frames for non-HTML documents. r=bz 2013-03-18 23:06:47 -07:00
Bobby Holley
33869b92ed Bug 823227 - Have the global scope polluter find the document via the global. r=bz 2013-03-18 23:06:44 -07:00
Peter Van der Beken
c377be724c Bug 812617 - Provide a JSBindingFinalized hook for the native classes using Web IDL bindings to know when their JS wrapper has been finalized; r=bzbarsky
--HG--
extra : rebase_source : bb5059a170f3c2f4aa977190fceea421b41b5e58
2013-03-17 21:47:12 -04:00
David Zbarsky
388196dcf4 Bug 847120: Convert SVGFECompositeElement to WebIDL r=Ms2ger 2013-03-18 19:14:40 -04:00
David Zbarsky
9da42b90e4 Bug 847120: Convert SVGFEColorMatrixElement to WebIDL r=Ms2ger 2013-03-18 19:14:40 -04:00
David Zbarsky
f70b0584dd Bug 850958 - Implement instanceof without relying on nsIDOM interfaces r=bz 2013-03-18 19:14:39 -04:00
Andrew McCreight
46921f5eb1 Bug 827486, part 7 - add basic code gen test. r=bz 2013-03-18 16:08:50 -07:00
Andrew McCreight
5a11e9bf54 Bug 827486, part 6 - generate headers and code for JS implemented WebIDL classes. r=bz 2013-03-18 16:05:51 -07:00
Andrew McCreight
5a2ff82c4a Bug 827486, part 5: add the main JS impl code gen. r=bz 2013-03-18 16:05:38 -07:00
Andrew McCreight
7458bc253c Bug 827486, part 4: copy parts of example generator to JS impl generator. r=bz 2013-03-18 16:05:23 -07:00
Andrew McCreight
669af6a2d4 Bug 827486, part 3 - add dependencies for CGBindingImplClass. r=bz 2013-03-18 16:05:06 -07:00
Andrew McCreight
7b0e04eb50 Bug 827486, part 2 - Refactor example class codegen into common base class. r=bz 2013-03-18 16:04:46 -07:00
Andrew McCreight
d9111375e8 Bug 827486, part 1: add JSImplementation extended attribute. r=bz 2013-03-18 16:04:24 -07:00
Olli Pettay
846f3d3ab6 Bug 782211 - Follow up to fix compilation error with gcc 4.7. r=wchen 2013-03-18 15:32:41 -07:00
Ehsan Akhgari
331ae40b9c Bug 851073 - Move MouseEvent to Web IDL; r=smaug
--HG--
extra : rebase_source : 2b9f8e4f83a980838599bc4c0b6722651891c413
2013-03-14 11:30:47 -04:00
Kyle Huey
fef0d98cb5 Merge backout on a CLOSED TREE. 2013-03-18 13:00:28 -07:00
Kyle Huey
95b9d46c8a Back out Bug 827486 for PGO bustage. CLOSED TREE 2013-03-18 13:00:00 -07:00
David Zbarsky
df05c347a8 [Bug 851972] Remove XPIDL for ComponentTransferFunctionElement r=Ms2ger 2013-03-18 13:54:04 -04:00
Andrew McCreight
764f49155d Bug 827486, part 7 - add basic code gen test. r=bz 2013-03-18 10:19:42 -07:00
Andrew McCreight
4a3492b8f0 Bug 827486, part 6 - generate headers and code for JS implemented WebIDL classes. r=bz 2013-03-18 10:19:42 -07:00
Andrew McCreight
5dfcba5fc4 Bug 827486, part 5: add the main JS impl code gen. r=bz 2013-03-18 10:19:42 -07:00
Andrew McCreight
3285db03d1 Bug 827486, part 4: copy parts of example generator to JS impl generator. r=bz 2013-03-18 10:19:41 -07:00
Andrew McCreight
e410a1fca1 Bug 827486, part 3 - add dependencies for CGBindingImplClass. r=bz 2013-03-18 10:19:41 -07:00
Andrew McCreight
e62a4382fb Bug 827486, part 2 - Refactor example class codegen into common base class. r=bz 2013-03-18 10:19:41 -07:00
Andrew McCreight
52a6ccfe75 Bug 827486, part 1: add JSImplementation extended attribute. r=bz 2013-03-18 10:19:41 -07:00
Benjamin Smedberg
405b910a7b Bug 831768 - Delay async painting calls so that they never nest within RPC calls. The Adobe Flash implementation doesn't expect this reentry and sometimes deadlocks. The Apple Java stub doesn't expect this reentry and corrupts NPRuntime objects. r=gfritzsche
--HG--
extra : rebase_source : 4cf6c2cd28fbfdf259c3ed2250135810fb2511a7
2013-03-18 16:00:21 +01:00
Ed Morley
4a0f5f39ca Backed out changeset c75481a07302 (bug 851611) 2013-03-18 14:10:35 +00:00
Ed Morley
47bc17c5f5 Backed out changeset d195190adc48 (bug 851611)
--HG--
rename : tools/profiler/GeckoProfiler.h => tools/profiler/sampler.h
rename : tools/profiler/GeckoProfilerImpl.h => tools/profiler/sps_sampler.h
2013-03-18 14:10:30 +00:00
Benoit Girard
90f13c7e56 Bug 851611 - Part 3: Rename headers. r=jrmuizel
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 552fe1d3ff61d15b264aaf86f7c8cb4f4eff69d1
2013-03-18 14:41:02 +01:00
Benoit Girard
95a5b4c35f Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : 3032aaf7e50cdf9c350da688ec34e50a695fc7ca
2013-03-16 00:47:02 -04:00
William Chen
3e0b281bfd Bug 782211 - Part 10: Update webapp browser permission test to clean up alerts. r=fabrice 2013-03-18 06:24:55 -07:00
William Chen
711699dbfc Bug 782211 - Part 7: Added permission prompt for desktop notifications on desktop platforms. r=MattN 2012-07-12 11:45:38 -04:00
William Chen
ee6c15fa75 Bug 782211 - Part 5: Implement Notification API. r=smaug
--HG--
rename : docshell/test/test_bug344861.html => docshell/test/navigation/test_bug344861.html
2013-03-18 06:24:54 -07:00
William Chen
e19d879ce7 Bug 782211 - Part 4: Add function to remote test for permission in nsIPermissionManager. r=cjones 2013-03-18 06:24:53 -07:00
William Chen
f95116c1f5 Bug 782211 - Part 3: Make nsDesktopNotification generate unique name and cookies to prevent collision in the IPC observer and coalescing in the alerts service. r=dougt 2013-03-18 06:24:53 -07:00
William Chen
bcf0fa1e8e Bug 782211 - Part 2: Updated the nsIAlertsService API and its implementation to include support for bidi overrides and a method to close notifications. r=dougt 2013-03-18 06:24:53 -07:00
Ryan VanderMeulen
3137f33bc3 Merge m-c to inbound. 2013-03-18 09:06:50 -04:00
Chia-hung Tai
368bdb8869 Bug 849741 - B2G MMS: provide nsIDOMMobileMessageManager.onreceived event. r=vyang 2013-03-18 18:47:41 +08:00
Bobby Holley
00b5ef0049 Bug 851851 - Null check win. r=me 2013-03-17 22:42:42 -07:00
Ms2ger
aed8044ac2 Merge m-c to m-i. 2013-03-17 13:22:37 +01:00
Ms2ger
2279ffa44e Bug 824986 - Followup: fix botched merge. 2013-03-17 11:20:39 +01:00
Ms2ger
d8a7fada3c Backout bug 658909 for Marionette bustage. 2013-03-17 10:44:33 +01:00
Ms2ger
947d25f1a8 Bug 824986 - Move DOMRequest and subclasses to Paris bindings; r=khuey 2013-03-17 09:51:36 +01:00
Ms2ger
c8f13d74ad Bug 844134 - Move the 'attributes' property from Node to Element; r=sicking 2013-03-17 09:51:34 +01:00
Ms2ger
02145ed6a8 Bug 846860 - Give HTMLOptionsCollection its own header and put it in the dom namespace; r=khuey
--HG--
rename : content/html/content/src/nsHTMLSelectElement.cpp => content/html/content/src/HTMLOptionsCollection.cpp
rename : content/html/content/src/nsHTMLSelectElement.h => content/html/content/src/HTMLOptionsCollection.h
2013-03-17 08:55:17 +01:00
Ms2ger
865e2310fc Bug 851134 - Part b: Implement the EventTarget getters in the WebIDL API for Event directly instead of calling the XPIDL implementations; r=smaug 2013-03-17 08:55:17 +01:00
Ms2ger
5dd8d9d4d2 Bug 850817 - Move ClientRect to Paris bindings; r=bz
--HG--
rename : dom/interfaces/base/nsIDOMClientRect.idl => dom/webidl/ClientRect.webidl
2013-03-17 08:55:17 +01:00
Ms2ger
8a852eb95d Bug 851025 - Remove nsLayoutUtils::RectListBuilder::mRv; r=bz 2013-03-17 08:55:16 +01:00
Ms2ger
69401c3aeb Bug 845374 - Part s: Stop including nsTArray.h in nsContentUtils.h; r=khuey 2013-03-17 08:55:16 +01:00
Ms2ger
ecaff4e0d2 Bug 845374 - Part r: Stop including nsTArray.h in nsReadableUtils.h; r=khuey 2013-03-17 08:55:16 +01:00
Ms2ger
cf9a7a5ddd Bug 845374 - Part n: Stop including nsINode.h and nsIDOMNode.h in nsContentUtils.h; r=khuey 2013-03-17 08:55:15 +01:00
Ms2ger
24bcddcf77 Bug 845374 - Part l: Stop including nsIDocument.h in nsContentUtils.h and fix two nits; r=khuey 2013-03-17 08:55:15 +01:00
Ms2ger
9193bb4302 Bug 845374 - Part j: Stop including nsIXPCScriptable.h in nsContentUtils.h; r=khuey 2013-03-17 08:55:15 +01:00
Bobby Holley
0c3ff053c2 Bug 658909 - Remove GWNOJO from nsDOMClassInfo. r=mrbkap 2013-03-16 22:58:16 -07:00
Bobby Holley
35d97256a4 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-16 22:58:14 -07:00
Bill McCloskey
bfa3037d1f Bug 759585 - Zones (r=jonco,bhackett,njn,dvander,luke,bz,mccr8,bholley) 2013-03-16 20:36:37 -07:00
Gene Lian
51915dc1d0 Bug 847756 - B2G MMS: provide nsIDOMMobileMessageManager.markMessageRead(). r=vicamo sr=sicking a=leo+ 2013-03-11 12:14:15 +08:00
Phil Ringnalda
3774920f8e Back out 85f522534c5a (bug 829456) for apparently causing frequent failures in test_bug607464.html
CLOSED TREE
2013-03-16 18:28:48 -07:00
Phil Ringnalda
802b512b12 Back out f408dd29944c:db5c280d1907 (bug 827486) for probably having needed a clobber
CLOSED TREE
2013-03-16 18:16:37 -07:00
Gene Lian
110f31bc94 Bug 847736 - B2G MMS: provide nsIDOMMobileMessageManager.delete(). r=vicamo sr=sicking a=leo+ 2013-03-08 12:06:06 +08:00
Gene Lian
dcf1f7e4a0 Bug 847738 - B2G MMS: provide nsIDOMMobileMessageManager.getMessage(). r=vicamo sr=sicking a=leo+ 2013-03-08 11:46:16 +08:00
Andrew McCreight
24600b1f22 Bug 827486, part 7 - add basic code gen test. r=bz 2013-03-16 16:22:23 -07:00
Andrew McCreight
4e041452ff Bug 827486, part 6 - generate headers and code for JS implemented WebIDL classes. r=bz 2013-03-16 16:22:23 -07:00
Andrew McCreight
0167b065ab Bug 827486, part 5: add the main JS impl code gen. r=bz 2013-03-16 16:22:22 -07:00
Andrew McCreight
94d24f2371 Bug 827486, part 4: copy parts of example generator to JS impl generator. r=bz 2013-03-16 16:22:22 -07:00
Andrew McCreight
0ea8eb9b20 Bug 827486, part 3 - add dependencies for CGBindingImplClass. r=bz 2013-03-16 16:22:22 -07:00
Andrew McCreight
7fa5dc2a56 Bug 827486, part 2 - Refactor example class codegen into common base class. r=bz 2013-03-16 16:22:22 -07:00
Andrew McCreight
5170ac7f5b Bug 827486, part 1: add JSImplementation extended attribute. r=bz 2013-03-16 16:22:22 -07:00
Reuben Morais
09eff5e75e Bug 837865 - Use DOMCursor instead of DeviceStorageCursor. r=bent
--HG--
extra : rebase_source : 14c858702b537946495c3a31d62b5e90fa49f777
2013-03-01 16:21:01 -08:00
Phil Ringnalda
eabae506e4 Back out b21345c5027c (bug 843868) for build bustage
CLOSED TREE
2013-03-15 21:35:25 -07:00
Kyle Machulis
b0d7eb4341 Bug 843868 - Change sockaddr* to be a union of all possible sockaddr types; r=tzimmermann
--HG--
extra : rebase_source : 9b980684b37e2e3345414af494ddb22e6c710e52
2013-03-15 21:10:40 -07:00
David Zbarsky
d2b0193f21 Bug 849710 - Convert SVGFEComponentTransferElement to WebIDL r=Ms2ger 2013-03-16 00:13:31 -04:00
Gregor Wagner
0634814d5c Bug 851741 - Contacts API: make continue async. r=bent 2013-03-15 20:40:03 -07:00