Commit Graph

12894 Commits

Author SHA1 Message Date
Peter Van der Beken
3f294586fd Fix for bug 848088 (IonMonkey: property get IC for DOM list proxies fails to detect expando). r=jandem.
--HG--
extra : rebase_source : b06c714726c76e927fbc65d09ffecc09461c4e95
2013-03-06 22:45:59 +01:00
Vendelin Ruzicka
dd09877f5e Bug 854190 - Remove duplicate JS code in test_create_objectStore.html and import existing JS file. r=janv 2013-03-25 11:12:14 +01:00
David Zbarsky
c8b7bf5925 Bug 847120: Convert SVGFEConvolveMatrixElement to WebIDL r=Ms2ger 2013-03-25 02:26:06 -04:00
David Zbarsky
a7074f9c0a Bug 847120: Convert SVGFEDisplacementMapElement to WebIDL r=Ms2ger 2013-03-25 02:26:06 -04:00
David Zbarsky
1a1574f9ce Bug 847120: Convert SVGFEDiffuseLightingElement to WebIDL r=Ms2ger 2013-03-25 02:26:05 -04:00
David Zbarsky
f37a8ed52c Bug 847120: Convert SVGFESpecularLightingElement to WebIDL r=Ms2ger 2013-03-25 02:26:05 -04:00
David Zbarsky
e8e35c9939 Bug 853692: Convert SVGFESpotLightElement to WebIDL r=Ms2ger 2013-03-25 02:26:04 -04:00
Vincent Chang
074e001515 Bug 845211 - [Wi-Fi] "undefined" sometimes showed to Wi-Fi MAC address value of Settings. r=mrbkap 2013-03-16 00:58:41 +08:00
Jonathan Watt
8b2683e59e Bug 854133 - Stop the page from scrolling when the user tries to drag an <input type=range>'s thumb in the B2G browser app. r=smaug 2013-03-24 21:21:17 +00:00
Phil Ringnalda
836b7d28c0 Back out 939f0488b0f7:46e4373d6d95 (bug 847120) and 13443c4586a4:e7f48e9b8bd7 (bug 853692) on suspicion of causing bug 854225 Linux32 PGO build failures
CLOSED TREE
2013-03-24 15:17:18 -07:00
Bobby Holley
79bc02dabd Bug 853571 - Do special detection for sandboxPrototype to make sure the source gets set up right in postMessage. r=bz 2013-03-24 09:27:10 -07:00
Bobby Holley
8943712333 Bug 853571 - Add some belt-and-suspenders checks for sketchy scripted caller detection. r=bz 2013-03-24 09:27:09 -07:00
Olli Pettay
b83c5a57ac Bug 737100 - Extend Pointer Lock (Mouse Lock) for non-fullscreen elements, p=smaug,dolske, r=cpearce,dolske,smaug 2013-03-24 12:32:44 +02:00
Benjamin Peterson
e96eef845c Backout Bug 854117 because philor said so 2013-03-23 16:38:41 -05:00
David Zbarsky
c6e530d4b4 Bug 847120: Convert SVGFETurbulenceElement to WebIDL r=Ms2ger 2013-03-23 17:00:36 -04:00
David Zbarsky
728c613c68 Bug 847120: Convert SVGFEMorphologyElement to WebIDL r=Ms2ger 2013-03-23 17:00:36 -04:00
David Zbarsky
9b4e201807 Bug 847120: Convert SVGFEConvolveMatrixElement to WebIDL r=Ms2ger 2013-03-23 17:00:36 -04:00
David Zbarsky
800b24fe5b Bug 847120: Convert SVGFEDisplacementMapElement to WebIDL r=Ms2ger 2013-03-23 17:00:35 -04:00
David Zbarsky
5c0945edc2 Bug 847120: Convert SVGFEDiffuseLightingElement to WebIDL r=Ms2ger 2013-03-23 17:00:35 -04:00
David Zbarsky
f7262b7a39 Bug 847120: Convert SVGFESpecularLightingElement to WebIDL r=Ms2ger 2013-03-23 17:00:34 -04:00
David Zbarsky
486149b15b Bug 853692: Convert SVGFESpotLightElement to WebIDL r=Ms2ger 2013-03-23 17:00:34 -04:00
Mounir Lamouri
bbdf3b4f20 Bug 854117 - Re-enable test_resize_move_windows.html and test_resize_move_windows.xul on Linux. rs=Ms2ger 2013-03-23 18:02:21 +00:00
Boris Zbarsky
76556c799b Bug 832899 followup to add a test. 2013-03-22 23:47:58 -04:00
Terrence Cole
dac56af76e Bug 851568 - Remove HoldScriptObject and DropScriptObject; r=smaug
--HG--
extra : rebase_source : d5bb9bff3dcdb8ceaf8ecb3ea60c96f75e0bc82a
2013-03-19 10:20:22 -07:00
Terrence Cole
20501c8c5a Bug 841059 - Do not use the ArenaHeader for getAllocKind on JSObject; r=billm 2013-02-14 14:51:07 -08:00
Ehsan Akhgari
a2906ca105 Bug 815492 - Pause Web Audio playback when entering the bfcache, and resume it when coming out of the bfcache; r=bzbarsky 2013-03-21 22:59:33 -04:00
Gene Lian
bba20c695d Bug 850680 - B2G MMS: broadcast "sms-received" and "sms-sent" system messages (part 2, broadcast system messages). r=vicamo 2013-03-22 20:16:43 +08:00
Gene Lian
0cb190b727 Bug 850680 - B2G MMS: broadcast "sms-received" and "sms-sent" system messages (part 1, code clean-up). r=vicamo 2013-03-22 19:29:25 +08:00
Gene Lian
d1354a38e0 Bug 853725 - B2G MMS: fail to read nsIDOMMozMmsMessage.receivers for a received MMS (a follow-up of bug 849741). r=vicamo, a=leo+ 2013-03-22 12:29:57 +08:00
Daniel Holbert
3c8435b037 Bug 853607: Replace spammy NS_ENSURE_TRUE with explicit null-check-and-return, in nsJSUtils::GetStaticScriptGlobal(). r=bz 2013-03-21 18:50:44 -07:00
David Zbarsky
5cc0fcdcdf Bug 847007: Remove nsIContent includes r=Ms2ger 2013-03-21 20:05:20 -04:00
Ehsan Akhgari
1ce7621697 Bug 853562 - Fix nsTArray::SetCapacity callers in IndexedDB to not look at the return value; r=bent 2013-03-21 14:46:21 -04:00
Tom Schuster
045cb0fba7 Bug 828462 - Root Proxy/Wrapper in the browser. r=terrence,bz 2013-03-21 23:23:48 +01:00
Tom Schuster
b8e3b65fa7 Bug 828462 - Root Proxy/Wrapper delete. r=terrence 2013-03-21 23:23:48 +01:00
Tom Schuster
097f3a1110 Bug 828462 - Root Proxy/Wrapper getOwnPropertyNames and keys. r=terrence 2013-03-21 23:23:47 +01:00
Tom Schuster
5a05e27565 Bug 828462 - Root Proxy/Wrapper defineProperty. r=terrence 2013-03-21 23:23:47 +01:00
Tom Schuster
b67362a266 Bug 828462 - Root Proxy/Wrapper get(Own)PropertyDescriptor. r=terrence 2013-03-21 23:23:47 +01:00
Reuben Morais
18889085bd Bug 821630 - Fix retrieving blobs with get() in Settings API. r=gwagner 2013-03-11 22:31:15 -07:00
Ehsan Akhgari
f4ce853a1c Bug 844169 - Part 4: Move HTMLIFrameElement to Web IDL bindings; r=ms2ger 2013-02-27 10:38:32 -05:00
Steven Michaud
a4f790c9c8 Bug 833936 - Mochitest that queries NPNVcontentsScaleFactor. r=bsmedberg 2013-03-21 15:23:46 -05:00
Ehsan Akhgari
e087548e06 Bug 853556 - Make nsRootedJSValueArray::SetCapacity return void; r=bzbarsky
--HG--
extra : rebase_source : 04a3f25da7a0f1f1bd773b79c3d620dc8392646f
2013-03-21 14:39:17 -04:00
Bobby Holley
b60b7648e9 Bug 658909 - Remove GWNOJO from nsDOMClassInfo. r=mrbkap 2013-03-21 08:20:45 -07:00
Bobby Holley
59c99b16cc 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
3cebc24c68 Bug 853283 - Grab the window directly from the navigator in nsNavigatorSH::NewResolve. r=mrbkap 2013-03-21 08:20:41 -07:00
Ryan VanderMeulen
59aa9e54e3 Backed out changeset 55d19e574b86 (bug 853283) for Windows debug bustage on a CLOSED TREE. 2013-03-21 15:25:14 -04:00
Ryan VanderMeulen
75a33a8191 Backed out 22 changesets (bug 658909) for Windows debug bustage. 2013-03-21 15:24:54 -04:00
Mike Shal
c2a9341a2e Bug 852534 - Remove GRE_MODULE from Makefile.in; r=gps 2013-03-21 08:41:00 -07:00
David Zbarsky
d0a0745332 Bug 847120: Convert SVGFEOffsetElement to WebIDL r=Ms2ger 2013-03-21 13:38:28 -04:00
Bobby Holley
b396544c53 Bug 658909 - Remove GWNOJO from nsDOMClassInfo. r=mrbkap 2013-03-21 08:20:45 -07:00
Bobby Holley
c34eb7f9f1 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
b3f7f775a5 Bug 853283 - Grab the window directly from the navigator in nsNavigatorSH::NewResolve. r=mrbkap 2013-03-21 08:20:41 -07:00
Aryeh Gregor
b5a262279a Bug 849661 - Remove support for Node.hasAttributes(); r=bz 2013-03-21 14:48:32 +02:00
Chris Lord
3291c9031e 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
50953c28dc Bug 830267 - Persist plugin preferences outside of pluginreg.dat. r=bsmedberg 2013-02-15 22:00:25 +01:00
Gene Lian
bef21a7253 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
dddd48eaf4 [Bug 852843] SVGZoomAndPan interface object not being instantiated r=bz 2013-03-21 01:33:56 -04:00
Johnny Stenback
f735d2b3ee 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
06cdc516c8 Bug 833795 - Use screen relative co-ordinates for gestures; r=drs 2013-03-21 15:08:15 +13:00
Luqman Aden
17bdda31f5 Bug 848617 - New mochitests for Alarm API. r=gene 2013-03-18 15:47:30 -07:00
John Schoenick
345d5c137f Bug 784131 - Test. r=josh 2013-03-20 14:29:23 -07:00
John Schoenick
1c38d16428 Bug 851378 - Avoid bogus assertion when trying to spawn disabled plugin. r=bsmedberg 2013-03-20 14:29:22 -07:00
John Schoenick
aa811f364c Bug 851378 - Notify owning content when we destroy plugins from under it. r=bsmedberg 2013-03-20 14:29:22 -07:00
John Schoenick
9035b2d85a Bug 851378 - Move removing the plugin prototype from objects to content. r=bsmedberg 2013-03-20 14:29:21 -07:00
Terrence Cole
5f4e4d162b 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
53a5230fc8 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
bc92001c0b bug 604039 - Add DOM Gamepad APIs. r=smaug
--HG--
extra : rebase_source : ffffdc4549da1b25ea263b623c05ae1afb3d46a0
2011-08-03 14:12:08 -04:00
Ryan VanderMeulen
e835dab2ea Backed out changeset 42d5d3080bc4 (bug 847656) for mochitest crashes on a CLOSED TREE. 2013-03-20 14:17:22 -04:00
Bobby Holley
86195a8c22 Bug 851887 - Null-check XPConnect() in nsWindowSH::GlobalScopePolluterNewResolve. r=bz 2013-03-20 11:08:30 -07:00
Jim Blandy
614dfd0dfd Bug 847656: Change ContentParent::GetNewOrUsed to return an already_AddRefed value. r=khuey 2013-03-20 10:30:09 -07:00
Boris Zbarsky
a318c3829f Bug 848386 part 5. Convert SVGDocument to WebIDL. r=peterv 2013-03-20 12:22:26 -04:00
Boris Zbarsky
e03d4dbee4 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
e7da54689a Bug 852846. Make .style [PutForwards=cssText]. r=ms2ger 2013-03-20 12:22:25 -04:00
Aryeh Gregor
a2d0d2fa32 Bug 852115 - initEvent should unset defaultPrevented; r=smaug 2013-03-20 16:15:58 +02:00
Sotaro Ikeda
ebcd1fab7b Bug 844248 - Add a custom media stream for camera preview. r=roc 2013-03-20 10:07:46 -04:00
Gene Lian
ec4f977a5c 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
57defae40e Merge backout, a=bustage fix in a CLOSED TREE 2013-03-20 16:40:05 +08:00
Edmund Wong
a7b8fc176d 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
ddd4a56d80 Bug 849185 - marionette test (part2). r=allstars.chh 2013-03-19 11:34:49 +08:00
Yoshi Huang
f99df94ad2 Bug 842981 - Part 2: marionette test for Array.isArray. r=gwagner 2013-03-19 10:31:03 +08:00
Hsin-Yi Tsai
b8adae23bb 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
af7e9492af Bug 842981 - Part 1: Add ObjectWrapper to wrap array object. r=gwagner 2013-03-18 15:06:36 +08:00
Yoshi Huang
88cd11da6c Backout changeset dbb1f97672f0 for wrong order 2013-03-20 14:42:35 +08:00
Yoshi Huang
5490684a84 Backed out changeset d10ac6c5b14f for wrong order. 2013-03-20 14:40:23 +08:00
Yoshi Huang
6b90695868 Bug 842981 - Part 1: Add ObjectWrapper to wrap array object. r=gwagner 2013-03-18 15:06:36 +08:00
Yoshi Huang
d0d15fd0ba Bug 842981 - Part 2: marionette test for Array.isArray. r=gwagner 2013-03-19 10:31:03 +08:00
Phil Ringnalda
5cb9ec3f11 Back out 26f0d590a021, d92e88a18263, 5a2d12a34466 (bug 846995) for not building
CLOSED TREE
2013-03-19 20:20:38 -07:00
David Zbarsky
d46f71c5a4 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
cc52e10127 Bug 846995 Part 1: Fix all the files that reference SVGAnimatedTransformList r=jwatt 2013-03-19 22:31:44 -04:00
Gregory Szorc
09e7b06723 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
f5d074fcf0 Bug 852118. Stop window.name being malloc-happy. r=smaug 2013-03-19 21:47:47 -04:00
Boris Zbarsky
a296f060db 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
c7c49a4e9a 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
9680b82df6 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Ryan VanderMeulen
186e10f5d2 Merge m-c to inbound. 2013-03-19 18:01:10 -04:00
Phil Ringnalda
416fb60f0c 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
32f459b65b 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
4ce9ea964b 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
e52b304c31 Bug 847839 - Part 2: Remove obsolete files for Android XUL Fennec. r=mfinkle 2013-03-07 17:55:49 +00:00
Trevor Saunders
8b11739fc1 bug 852379 - remove unecessary nsHashtable.h includes r=Ms2ger 2013-03-18 21:18:26 -04:00
David Zbarsky
a63c50b8f7 Bug 847120: Convert SVGFEGaussianBlurElement to WebIDL r=Ms2ger 2013-03-19 13:43:31 -04:00