Граф коммитов

14616 Коммитов

Автор SHA1 Сообщение Дата
Rik Cabanier 3a85a98855 Bug 827053 - Add support for winding in fill + clip + isPointInPath + tests the feature. r=bas 2013-01-16 21:55:43 -05:00
Bobby Holley 6e038d2b99 Bug 824864 - Fix Ms2ger nits. r=me 2013-01-16 18:50:27 -08:00
Bobby Holley 9fce3b092f Bug 824864 - Pass EvaluateString out-param as a pointer, not a reference. r=bz 2013-01-16 18:50:27 -08:00
Bobby Holley 2659d8fc54 Bug 824864 - Move responsibility for checking for JSVERSION_UNKNOWN to the one caller of EvaluateString that might pass it. r=bz 2013-01-16 18:50:26 -08:00
Bobby Holley a26c078c60 Bug 824864 - Use an nsCxPusher in EvaluateString, and pull the principal off the target object. r=bz
This simplifies a lot of code, and makes the function scope-agnostic.
2013-01-16 18:50:26 -08:00
Bobby Holley 5515799556 Bug 824864 - Rename EvaluateStringWithValue to EvaluateString. r=bz
Now that there's only one of them, we can get rid of the silly suffix. \o/
2013-01-16 18:50:26 -08:00
Bobby Holley 746d5bebee Bug 824864 - Remove unused optional arguments from nsIScriptContext::ExecuteScript. r=bz
This lets us get rid of a bunch of junk.
2013-01-16 18:50:26 -08:00
Bobby Holley d3d15aa3fe Bug 824864 - Remove nsIScriptContext::EvaluateString. r=bz 2013-01-16 18:50:26 -08:00
Bobby Holley 1f2a4747c6 Bug 824864 - Move existing consumers of EvaluateString over to EvaluateStringWithValue. r=bz 2013-01-16 18:50:26 -08:00
Bobby Holley a14609b21a Bug 824864 - Improve the API for EvaluateStringWithValue. r=bz
There are a few changes we make here:
1 - Having callers pass JS::CompileOptions directly.
2 - Removing aUndefined, which makes no sense and is unused by consumers.
3 - Making aScopeObject and aRetValue non-optional, via references.
3 - Adding an argument to optionally coerce the return value to a string.

Coercing jsvals to strings is the reason we currently have two nearly-identical
functions, EvaluateString and EvaluateStringWithValue, since the coercion can
trigger arbitrary script and thus needs to be bracketed by all the junk that
nsJSContext does. However, if callers can be guaranteed that the return value
will be a bonafide string, then they can easily extract the string themselves
if they so desire. This will allow us to combine the two functions.
2013-01-16 18:50:26 -08:00
Bobby Holley 5a19a07bef Bug 824864 - Move consumers of CompileFunction to the nsJSUtils version, and kill the nsJSContext version. r=bz
Note that the three consumers were all XBL, and were all passing aShared = true,
which had the effect of passing null for the target object. So we actually want
to pass JS::NullPtr() (the HandleObject version of nullptr) instead of
aClassObject in order to maintain the old behavior (whatever that is).
2013-01-16 18:50:25 -08:00
Bobby Holley baf74b5ce0 Bug 824864 - Hoist the guts of CompileFunction into nsJSUtils. r=bz 2013-01-16 18:50:25 -08:00
Fabrice Desré d18fc8aa4a Bug 830294 - Can't launch an app after canceling its update r=ferjm 2013-01-16 16:55:50 -08:00
Trevor Saunders 83bcbe0d6b bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8 2013-01-12 07:40:33 -05:00
Josh Matthews 6e702dcb08 Bug 824472 - Traverse containing frames when looking for scrollable content for browser elements. r=schien 2013-01-14 18:03:32 +01:00
Gary Kwong 521929f375 Bug 831472 - Add another null check to nsGlobalWindow::GetInnerScreenRect(). r=smaug 2013-01-16 13:44:26 -08:00
David Zbarsky 57e9b33a4b Bug 830230 - Convert SVGPatternElement to WebIDL r=bz 2013-01-16 15:51:00 -05:00
David Zbarsky 8826c06ce1 Bug 827174 - Remove nsIDOMSVGLocatable and nsIDOMSVGTransformable r=bz 2013-01-16 15:51:00 -05:00
David Zbarsky 8ff56e186f Bug 830181 - Convert SVGSymbolElement to WebIDL r=bz 2013-01-16 15:50:59 -05:00
David Zbarsky e10b65b185 Bug 827172 - Convert SVGPathElement to WebIDL r=bz 2013-01-16 15:50:59 -05:00
David Zbarsky 48f5bae1bb Bug 827182: Convert SVGUseElement to WebIDL 2013-01-16 15:50:59 -05:00
Ed Morley b105c233ba Merge mozilla-central to mozilla-inbound 2013-01-16 20:27:28 +00:00
Ed Morley 84b7b29fbf Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2013-01-16 20:22:54 +00:00
Ehsan Akhgari 6c4c1bdfdf Bug 827158 - Part 3: Move the ValidityState API to Web IDL bindings; r=bzbarsky 2013-01-16 13:01:01 -05:00
Andrea Marchesini c881379fed Bug 830672 - audio-channel-changed is properly when an audio channel is visible, r=mchen 2013-01-16 14:38:51 +01:00
Andrea Marchesini 84609c4505 Bug 829561 - AudioChannelService needs some unit test, r=mchen 2013-01-16 14:34:07 +01:00
Andrea Marchesini 9c07d6fda8 Bug 828200 - Any audio channel should play when visible. r=mchen 2013-01-16 14:29:57 +01:00
Olli Pettay fef0029520 Bug 830858 - Implement a generic way to dispatch events to chrome only, r=jst 2013-01-16 11:27:06 +02:00
Panos Astithas ee55ec9122 Merge m-c to fx-team 2013-01-16 10:13:29 +02:00
Edgar Chen 2015193c5f Bug 831183 - Part 3: Marionette tests for SET_UP_CALL. r=allstars.chh 2013-01-16 11:34:44 +08:00
Edgar Chen e0a8e4c886 Bug 831183 - Part 2: xpcshell tests for SET_UP_CALL. r=allstars.chh 2013-01-16 12:27:38 +08:00
Edgar Chen be1ca1f1fe Bug 831183 - Part 1: Fix callMessage. r=allstars.chh 2013-01-16 11:30:02 +08:00
Eric Chou bf9fbe58e5 Bug 825762 - Replace VFAT reserved character with '_' to avoid file-transferring failure, r=qdot 2013-01-16 18:23:28 +08:00
Gian-Carlo Pascutto 25904c460c Bug 812650 - Enable WebRTC audio recording on Android. r=dmose 2013-01-16 10:14:49 +01:00
Gina Yeh feafac557c Bug 827266 - Patch 1: [Bluetooth][Hfp] Support 'call waiting notification activation', r=echou 2013-01-16 14:17:41 +08:00
Olli Pettay b70de8d5a7 Bug 830948, null check mDocshell before using it, r=bz
--HG--
extra : rebase_source : ea20dabe0ec39b3b98fab07e72b0f1f51f9d32a8
2013-01-16 01:12:14 +02:00
Mihai Sucan 259732578f Bug 787985 - Console API messages are not consistent; r=past 2013-01-15 16:02:25 +02:00
Trevor Saunders 84fd122dde bug 830396 - add back nsIDOMCSSValueList r=bz 2013-01-14 12:29:27 -05:00
Mike Habicher fc22619eca Bug 830116 - remove off-main-thread calls to nsMainThreadPtrHandle::get() in error-handling paths, r=jst 2013-01-15 10:57:22 -05:00
Ed Morley 1e4e9b2f25 Backout 4082c7521142 (bug 819000) for mochitest assertions on a CLOSED TREE 2013-01-15 15:36:43 +00:00
Andrea Marchesini 95d3343452 Bug 830648 - AudioChannelAgent::StartPlaying() should check if already registered to AudioChannelService., r=mchen 2013-01-15 15:31:19 +01:00
Marco Chen 3c2cd9423f Bug 829420 - [Camera] In GonkNativeWindow::dequeueBuffer, -1 will be used as index to access an Arrary. r=kanru 2013-01-11 18:18:35 +08:00
Yoshi Huang 02c06703f4 Bug 828330 - B2G RIL: Expose iccid in nsIRadioInterfaceLayer.idl 2013-01-14 08:43:40 +08:00
Peter Van der Beken 0bf1bbaec2 Fix for bug 827546 (|non editable element|.QueryInterface(Components.interfaces.nsIDOMNSEditableElement) does not throw anymore) - throw on QI failure. r=bz. 2013-01-14 11:29:49 +01:00
Andrea Marchesini 806c76d9f1 Bug 829030 - Accessing the desktop notification API in the browser and approving permission errors out - API does not work, r=sicking 2013-01-14 11:08:55 +01:00
Vicamo Yang 638331fc5e Bug 813596: add marionette test cases, r=hsinyi 2013-01-14 17:05:26 +08:00
Benjamin Chen b99fa2723b Bug 816900 - 1. Use |expandedPermNames[idx]| instead |msg.type + "-" + msg.access|. 2. Add |write, create| permissions in test_sim_contacts.js. r=gwagner 2013-01-09 13:25:34 +08:00
Hsin-Yi Tsai f0c150d58d Bug 828160 - B2G RIL: not send duplicate incoming-call messages in some cases of 'waiting call coming' r=allstars.chh 2013-01-11 10:41:53 +08:00
Phil Ringnalda dfaf3bab2c Back out ecac2ce4eada (bug 828126) for busting b2g's arm 2013-01-13 17:48:33 -08:00
Kartikaya Gupta 3a5e8a2d07 Bug 828126 - Remove ANDROID special-casing now that dependent bugs have been fixed. r=avih 2013-01-13 19:19:03 -05:00
David Zbarsky 5d03b3664d Bug 827724 - Remove nsIDOMSVGAnimatedPoints r=bz 2013-01-12 17:21:53 -05:00
David Zbarsky fd7bd329e5 Bug 827149 - Remove some uses of nsIDOMHTMLBodyElement r=bz 2013-01-12 16:53:01 -05:00
Vincent Chang fdf55580c4 Bug 829529 - [Wifi hotspot] Wifi hotspot settings should be disabled automatically when we turn on wifi. r=mrbkap 2013-01-11 11:49:27 +00:00
Gina Yeh 9739c863d6 Bug 827212 - Patch 2: Support feature 'Enhanced call status indications', r=echou 2013-01-16 14:13:58 +08:00
Gina Yeh 479c035f4b Bug 827212 - Patch 1: Move functions from public to private in BluetoothHfpManager, r=echou 2013-01-16 14:13:41 +08:00
Fabrice Desré 7da5bc9a81 Bug 829679 - Package installation without // on the manifest URL causes webapps.json corruption r=ferjm a=tef+ 2013-01-14 11:41:24 -08:00
Reuben Morais c32d0a6ca9 Bug 793239 - SettingsLock should have a state property to indicate if it is still valid; r=gwagner 2013-01-15 22:32:49 -05:00
Gene Lian 0ccc4c7ca1 Bug 830616 - A follow-up for bug 828395 to fix some buggy logic in handling the targets of system message. r=mrbkap,benjaminchen 2013-01-16 10:19:15 +08:00
Ehsan Akhgari 6002e1ea4a Backed out changeset 89942aa8ae6a (bug 793239) because of mochitest-3 failure 2013-01-15 20:48:34 -05:00
Ryan VanderMeulen d5134b0105 Merge m-c to inbound. 2013-01-15 19:44:40 -05:00
Reuben Morais 1833ad56d2 Bug 793239 - SettingsLock should have a state property to indicate if it is still valid. r=gwagner 2013-01-15 16:32:15 -08:00
David Zbarsky e4f93a1b24 Bug 828815: Restore functionality of | SVGElement[onxxx] = Function | r=bz 2013-01-15 16:03:02 -05:00
Boris Zbarsky 3a50cb6afb Bug 830553. Make the asserts in nsWrapperCache.h fatal. r=mccr8 2013-01-15 14:04:24 -05:00
Boris Zbarsky e1197ccff3 Bug 830614. Wrapping a wrappercached WebIDL object should watch out for reentry via WrapNativeParent. r=peterv 2013-01-15 14:04:24 -05:00
Vincent Chang 2a165ea847 Bug 823400 - Wifi toggle should not write settings db twice. r=mrbkap 2012-12-24 17:23:16 +08:00
Trevor Saunders cd9ce5e64f no bug - mark several classes final to avoid warnings about deleting objects of polymorphic type 2013-01-11 04:43:29 -05:00
Trevor Saunders 138e996dfc no bug - remove a bunch of extra ';'s to make -pedantic happy 2013-01-11 05:14:04 -05:00
Trevor Saunders 0e12472abd bug 828138 - GetCurrentSelection() should return Selection* r=smaug 2012-12-19 17:55:44 -05:00
David Zbarsky dacf5943b0 Bug 828715 - Move DOMSVGMatrix to mozilla::dom::SVGMatrix r=longsonr
--HG--
rename : content/svg/content/src/DOMSVGMatrix.cpp => content/svg/content/src/SVGMatrix.cpp
rename : content/svg/content/src/DOMSVGMatrix.h => content/svg/content/src/SVGMatrix.h
2013-01-11 15:30:21 -05:00
Ian Melven 0949ef2b93 Bug 829699 - Typo in message for both CSP headers (r=smaug) 2013-01-11 12:08:23 -08:00
Justin Lebar af7b107b8b Bug 819000 - Preload some JSMs and XPCOM services into the preallocated process to speed up app startup. r=cjones 2013-01-15 09:17:47 -05:00
Ehsan Akhgari b9c1d100b9 Merge mozilla-central into mozilla-inbound 2013-01-15 09:10:19 -05:00
Olli Pettay 1defaa48e6 Bug 825544: backout Bug 825544, Bug 825544, Bug 765192 and Bug 808035 to bring back the old .location=val behavior, r=bz 2013-01-15 13:46:35 +02:00
Mats Palmgren b7ae90666d Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
David Zbarsky de74b8ded9 Bug 830231 - Remove nsIDOMDOM(Settable)TokenList r=bz 2013-01-15 03:35:59 -05:00
Phil Ringnalda a0c4c89064 Back out acecf63268be (bug 829679) for the same mochitest-chrome orange it had the last time it landed
CLOSED TREE
2013-01-14 20:16:10 -08:00
Ryan VanderMeulen e1e12091ba Backed out changeset cebb008a72f9 (bug 824919) for mochitest b-c orange.
CLOSED TREE
2013-01-14 22:01:12 -05:00
Fabrice Desré 15102081e5 Bug 829679 - Package installation without // on the manifest URL causes webapps.json corruption r=ferjm a=tef+ 2013-01-14 11:41:24 -08:00
Ryan VanderMeulen 54f692f186 Backed out 2 changesets (bug 826605, bug 811469) for xpcshell failures. 2013-01-14 21:25:12 -05:00
Nicholas Nethercote e92eb3e23a Bug 829439 (part 2) - Some memory reporter clean-ups. r=jlebar.
--HG--
extra : rebase_source : 31ef4aaa1dde5299125ed67d297d70ee5fe5c876
2013-01-14 16:28:36 -08:00
Nicholas Nethercote e7d64e972a Bug 829439 (part 1) - Add MemoryReporterBase class that promotes better encapsulation within nsIMemoryReporter sub-classes. r=jlebar.
--HG--
extra : rebase_source : 53a77ea456f2aedafe05954ceece7e64db743e66
2013-01-14 16:26:47 -08:00
David Zbarsky f8b3444df1 Bug 830221 - Remove nsIDOMDOMImplementation r=bz 2013-01-14 21:06:20 -05:00
Philipp von Weitershausen 1ffd79274e Back out bug 813978 on a CLOSED TREE. 2013-01-14 17:38:11 -08:00
Philipp von Weitershausen 3095009a7b Back out bug 813978. a=bustage 2013-01-14 17:37:54 -08:00
Blake Kaplan fa1fb09cd0 Bug 828395 - System messages handler is fired twice if there was already an handler for b.html contained into an iframe a.html and the page navigate to b.html r=fabrice,genelian 2013-01-14 17:24:46 -08:00
Vicamo Yang 4939ea95ac Bug 813978 - Part 5/5: test cases for mixed filter targets. r=philikon a=blocking-basecamp
--HG--
extra : rebase_source : 1cf050beaddff0c3152659604a369564dce272ed
2013-01-14 15:07:51 -08:00
Vicamo Yang b4c8f83cf1 Bug 813978 - Part 4/5: rewrite filtering by multiple phone numbers. r=philikon, ferjm
--HG--
extra : rebase_source : 55a08666454ea2543787ee6b19864e9f713bcdf5
2013-01-14 15:07:51 -08:00
Vicamo Yang 326de43ebd Bug 813978 - Part 3/5: rewrite filtering by mix of any two conditions. r=philikon, ferjm
--HG--
extra : rebase_source : 1cfe205ea57e3fa3f8a6c681be2e1b6381d989c7
2013-01-14 15:07:50 -08:00
Vicamo Yang 8b18d6e53f Bug 813978 - Part 2/5: rewrite filtering by only one condition. r=philikon
--HG--
extra : rebase_source : 65630248284b4e7102d9e0c8d66149ea7a5c58fd
2013-01-14 15:07:50 -08:00
Vicamo Yang 5a310a010f Bug 813978 - Part 1/5: use multi-key indexes. r=sicking, ferjm
--HG--
extra : rebase_source : 140ff249308687afc17fed0e487b9a9337fb3079
2013-01-14 15:07:50 -08:00
Adam Roach [:abr] f6c5f21152 Bug 824919: Weaken key references to PeerConnection and friends,r=jesup,smaug,ekr 2013-01-14 17:00:20 -06:00
Marco Bonardo 8d0c587c0c Backout 66c886b7d927 (bug 827715),2c7287304555 (bug 829679) for bustage 2013-01-14 22:53:34 +01:00
Christian Sonne 233112b43d Bug 826605 - Remove GPSDGeolocationProvider.js r=dougt 2013-01-14 16:51:08 -08:00
Fabrice Desré 8fce849303 Bug 829522 - Check for updates never finds app update notifications until after you restart the phone due to hosted+appcache app check for updates failure r=gwagner 2013-01-14 18:47:55 +01:00
Fabrice Desré b20126c6cd Bug 828944 - downloadavailable flag is removed if you reboot after stopping the download r=ferjm 2013-01-11 07:32:06 -08:00
Alexandre Poirot 2f25d2874e Bug 828280 - (packaged) App won't install without `developer` field in its manifest. r=fabrice
--HG--
extra : rebase_source : f179e027514f6dcf1bfabfbae29bd12d9d78ea0e
2013-01-11 06:47:00 +01:00
Gene Lian dae6bf43dc Bug 820206 - Validate "Webapps:*" message parameters in the parent process (part 3, test cases). r=fabrice, a=blocking-basecamp 2013-01-11 20:50:50 +08:00
Gene Lian 48fcec0055 Bug 820206 - Validate "Webapps:*" message parameters in the parent process (part 1, move .uninstall() from mozIDOMApplication to mozIDOMApplicationMgmt). r=sicking, a=blocking-basecamp 2013-01-11 20:50:46 +08:00
Kyle Huey f096e98fd5 Bug 828992: Deal with blobs properly when creating indexes on existing data. r=bent 2013-01-11 05:32:20 -08:00
Ed Morley 3326161473 Backout d6efd06ceb84 (bug 828992) for assertions on a CLOSED TREE 2013-01-11 14:30:05 +00:00