Commit Graph

1537 Commits

Author SHA1 Message Date
Ed Morley
2b1775b4e9 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
664cf994b4 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
c4c6a0ddf5 Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : 3032aaf7e50cdf9c350da688ec34e50a695fc7ca
2013-03-16 00:47:02 -04:00
William Chen
18996f8701 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
6e9706f49f 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
2f3483cb2d 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
bde7265a6d 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
Gregory Szorc
2288b28e43 Bug 844635 - Part 3: Remove empty Makefile.in files; r=glandium 2013-03-17 18:01:25 -07:00
Gregory Szorc
ed102f4876 Merge mozilla-central into build-system 2013-03-13 08:20:09 -07:00
Olli Pettay
e5921ddec1 Bug 822399 - Make Event to use Paris bindings, r=peterv 2013-03-09 13:34:29 +02:00
Jon Coppeard
8d5fd16382 Bug 848395 - GC: Move Rooted to JS namespace - rename js::Rooted to JS::Rooted outside SpiderMonkey r=terrence
--HG--
extra : rebase_source : 35cbf3cc4da4598c2e9e6975028ef397718849db
2013-03-06 16:41:43 +00:00
Ed Morley
fe417ad697 Backed out changeset 28ef4bdff455 (bug 848395) 2013-03-07 13:03:35 +00:00
Jon Coppeard
fa71007e65 Bug 848395 - GC: Move Rooted to JS namespace - rename js::Rooted to JS::Rooted outside SpiderMonkey r=terrence
--HG--
extra : rebase_source : 866879df05e3ec3f8e93570eb3f6b71103636b41
2013-03-06 16:41:43 +00:00
Vladan Djeric
5be57034d5 Bug 842852 - LocalStorage performance improvements. r=mak 2013-03-12 13:13:33 -04:00
Gregory Szorc
f0b7e3972c Merge mozilla-central into build-system
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Gregory Szorc
e2966f651c Bug 784841 - Part 18k: Convert /dom; f=Ms2ger rs=khuey 2013-02-25 12:47:20 -08:00
Bobby Holley
d1a3436036 Bug 834732 - Audit callers of GetNativeContext and use AutoPushJSContext where appropriate. r=mrbkap 2013-02-26 11:04:13 -08:00
Josh Matthews
61e76802ae Bug 832411 - Track geolocation requests' use of high accuracy and ensure the providers are update when necessary. r=dougt 2013-02-26 12:27:31 -05:00
Josh Matthews
7d5bb99dd4 Bug 838541 - Only dispatch storage events to windows of the same privacy status. r=mayhemer 2013-02-12 14:24:23 -05:00
Olli Pettay
29c93f77f6 Bug 839528 - Change the namespace of xpidl dictionary helpers, r=khuey 2013-02-11 21:37:50 +02:00
Glenna Buford
586fe9d7fe Bug 836994: Check the right array when using using WatchPosition. r=jdm 2013-02-03 13:39:00 +00:00
Nicholas Nethercote
524f6ea9b5 Bug 788293 - Remove e4x support. r=jorendorff,terrence,evilpie.
Ding dong!  The witch is dead!
2013-01-24 21:24:57 -08:00
Phil Ringnalda
b4eec14ca3 Back out 66882ea6f8c7 (bug 788293) and 32f09cb3c7b6 (bug 834090) for bustage
CLOSED TREE
2013-01-31 22:29:30 -08:00
Nicholas Nethercote
ae7837bdef Bug 788293 - Remove e4x support. r=jorendorff,terrence,evilpie.
Ding dong!  The witch is dead!

--HG--
extra : rebase_source : 7574f5620e303c25120fcfc8ceb2099ad75c8f1b
2013-01-24 21:24:57 -08:00
Bobby Holley
800db35b78 Bug 833856 - Handle errors better in EvaluateString. r=bz
This bug happens when we take the !useSandbox path. Basically, when the code
throws, we can end up with garbage in *aRetValue while still returning true
from EvaluateString. It looks like the convention is for these kind of eval
functions to return success even for invalid code, so lets just make sure we
check things a bit better.

This crashtest is kind of half-baked in the sense that it doesn't actually
crash without the rest of the patch. But the testcase here involves a lot of
undefined behavior (what ends up getting left in *aRetValue) during a call
to window.open (which spins the event loop, etc). I already sunk about half
an hour into trying to make it crash, so I'm just going to go with this for
now.
2013-01-25 11:17:40 +01:00
Bobby Holley
464998681a Bug 832435 - Fix compartment handling for EvaluteString and javascript: uris. r=bz 2013-01-21 12:56:28 +01:00
Phil Ringnalda
67c7e25d7b Back out 7dbbb6e3d240 (bug 832435) for assertion failures 2013-01-18 21:29:05 -08:00
Bobby Holley
cf97537345 Bug 832435 - Fix compartment handling for EvaluteString and javascript: uris. r=bzbarsky 2013-01-18 23:33:26 -05:00
Bobby Holley
7a0d54fa07 Bug 824864 - Fix Ms2ger nits. r=me 2013-01-16 18:50:27 -08:00
Bobby Holley
fe9b482b3b Bug 824864 - Pass EvaluateString out-param as a pointer, not a reference. r=bz 2013-01-16 18:50:27 -08:00
Bobby Holley
89a6e0fc9e 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
ef4055939e Bug 824864 - Move existing consumers of EvaluateString over to EvaluateStringWithValue. r=bz 2013-01-16 18:50:26 -08:00
Trevor Saunders
9f0ad48b28 bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8 2013-01-12 07:40:33 -05:00
Mats Palmgren
6c53161814 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
Trevor Saunders
942f22b38c no bug - remove a bunch of extra ';'s to make -pedantic happy 2013-01-11 05:14:04 -05:00
Josh Matthews
bd3fd31dd1 Bug 826102 - Make IPC geolocation listener never use cached values and never skip a value. r=dougt 2013-01-07 06:57:00 +01:00
Doug Turner
326fdafeb1 Bug 813758 - Need additional security checks for the geolocation permission. r=sicking,jdm a=blocking-basecamp 2013-01-02 13:21:37 -08:00
Doug Turner
5d5553b293 Backing out 8c3bd23a1567 due to X orange. r=me a=me 2013-01-02 15:36:26 -08:00
Doug Turner
4c7a4d7e41 Bug 813758 - Need additional security checks for the geolocation permission. r=sicking a=blocking-basecamp 2013-01-02 13:21:37 -08:00
Josh Matthews
07604d3adf Bug 823789 - Pass enableHighAccuracy geolocation changes to the chrome process. r=dougt 2012-12-31 11:36:46 -05:00
Josh Matthews
73fccc90cb Backed out changeset 3114517c141a (bug 823789) 2012-12-28 02:21:41 -05:00
Kan-Ru Chen (陳侃如)
1c9bec0e39 Bug 824432 - Don't cancel request if it's a watch request. r=jdm 2012-12-28 14:46:57 +08:00
Josh Matthews
2f408047ad Bug 823789 - Pass enableHighAccuracy geolocation changes to the chrome process. r=dougt 2012-12-24 15:14:34 -05:00
Kan-Ru Chen (陳侃如)
47f983bc0f Bug 820683 - Restart the timeout timer if position is not better. r=dougt 2012-12-24 11:05:37 +08:00
Vladan Djeric
4d332f6420 Bug 807021: Removed TODOs from prevous commit 2012-12-23 16:06:14 -05:00
Vladan Djeric
7d9eee1768 Bug 807021: Move LocalStorage writess off the main thread. r=smaug,mayhemer 2012-12-23 16:01:01 -05:00
Jeff Walden
7146c23e80 Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger 2012-12-14 18:58:45 -05:00
Benjamin Peterson
204319cb96 Bug 818559 - Don't ask to unload if we know we're going to download. r=smaug 2012-12-07 20:35:17 -05:00
Ehsan Akhgari
0d299a8bd4 Bug 769285 - Use separate access tokens for private and public geolocation requests. r=dougt 2012-12-06 21:13:15 -05:00
Kan-Ru Chen (陳侃如)
581f62bdc5 Bug 816850 - Don't call nsGeolocation::Shutdown() when disabled via settings. r=dougt 2012-12-05 17:20:59 +08:00
Vivien Nicolas
f7ee3900b3 Bug 814074 - Send a system message to the application when the application is not running anymore but waits for a notification. r=fabrice. a=blocking-basecamp. 2012-12-03 15:42:36 +01:00
Ed Morley
3d267d271c Backout b3b4311176fa (bug 816850) for test_mozsettingsWatch.html failures 2012-12-03 10:25:55 +00:00
Kan-Ru Chen (陳侃如)
e1a2dba0db Bug 816850 - Don't call nsGeolocation::Shutdown() when disabled via settings. r=dougt 2012-12-03 17:13:48 +08:00
Ms2ger
caa2811c9c Bug 814898 - Part d: Cleanup CC goop in some more parts of dom/; r=mccr8 2012-12-02 09:54:51 +01:00
Fabrice Desré
0bcc3b3058 Bug 778668 - Bubble the application name/origin/manifest in the desktop-notification mozChromeEvent [r=wchen] 2012-11-28 22:36:15 -08:00
Josh Matthews
0541a0bcc3 Backed out changeset 7c45205a61a0 (bug 769285) 2012-11-28 11:51:42 -05:00
Josh Matthews
5b91db75ab Bug 769285 - Use separate access tokens for private and public geolocation requests. r=dougt 2012-11-28 11:20:20 -05:00
Olli Pettay
1e72329799 Bug 811206, Fix JSHolder drop handling, part 3 (fixes), r=mccr8,khuey
--HG--
extra : rebase_source : 7b2726d2aa7f5764a3c4cb750e5a735728069687
2012-11-28 03:37:57 +02:00
Blake Kaplan
1b03097533 Bug 812717 - Use the correct nsISupports pointer. r=dougt
--HG--
extra : transplant_source : %1F%98%01c%CF%08%1F%AC%DA%DDr%07%1DM9%9E%FD%AD%14%18
2012-11-19 15:35:54 -08:00
Thinker K.F. Li
8187d3979f Bug 812848 - fix typo of code of geolocation. r=dougt 2012-11-20 17:26:28 -08:00
Blake Kaplan
812663be6a Bug 813357 - Actually hand off our copy of the notification request to IPDL. r=gwagner 2012-11-19 16:43:21 -08:00
Blake Kaplan
19c55cee14 Bug 812716 - Desktop Notifications: Race in nsDOMDesktopNotification constructor. r=dougt 2012-11-19 10:27:54 -08:00
Benoit Jacob
a1d7e0f511 Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8 2012-11-15 02:32:40 -05:00
Gregor Wagner
1e767c97ea Bug 811414 - nsISettingsServiceCallback shouldn't use [implicit_jscontext]. r=bholley 2012-11-14 13:46:38 -08:00
Gregor Wagner
d1ebf22b39 Backout Bug 811414 for breaking B2G 2012-11-14 13:09:21 -08:00
Gregor Wagner
ec389cf5db Bug 811414 - nsISettingsServiceCallback shouldn't use [implicit_jscontext]. r=bholley 2012-11-14 13:00:51 -08:00
Gregor Wagner
916e78d58f Bug 810427 - Device storage - Add access fields to permission checks. r=dougt 2012-11-13 16:06:42 -08:00
Doug Turner
cb467c31d7 Bug 809758 - Ensure sGeoInitPending is set to false prior to notifying ServiceReady. r=gwagner. a=blocking-basecamp 2012-11-13 15:03:06 -08:00
Boris Zbarsky
6bb2c5dffa Bug 807226 part 5. Allow event handlers to have a null scope object if they don't have to compile from a string. r=smaug 2012-11-09 08:00:25 -08:00
Boris Zbarsky
2daa94afcd Bug 807226 part 4. Allow event handlers to have a null nsIScriptContext if they won't have to compile from a string. r=smaug 2012-11-09 08:00:25 -08:00
Boris Zbarsky
d15bb45f3e Bug 807226 part 3. Change event handlers to call their WebIDL callbacks directly. r=smaug 2012-11-09 08:00:25 -08:00
Boris Zbarsky
bf51164dc8 Bug 807226 part 2. Change event handlers to store WebIDL callback functions. r=smaug 2012-11-09 08:00:25 -08:00
Doug Turner
b5ecdd6933 Bug 809288 - nsGeolocationService GetInstance / GetGeolocationService inconsistencies. r=mrbkap a=blocking-basecamp 2012-11-08 15:36:50 -08:00
Doug Turner
d9fabab20c Bug 805965 - Geolocation fix jerks around. r=jdm/bz. a=blocking-basecamp 2012-11-06 12:34:03 -08:00
Doug Turner
f697ed8276 Backed out changeset 30b340a71112. r=me 2012-11-06 14:31:04 -08:00
Doug Turner
40c06ebd3f Bug 805965 - Geolocation fix jerks around. r=jdm/bz. a=blocking-basecamp 2012-11-06 12:34:03 -08:00
Doug Turner
1ebe44d099 Backed out changeset 9035907b68ec 2012-11-06 12:45:25 -08:00
Doug Turner
4141c57f56 Bug 805965 - Geolocation fix jerks around. r=jdm/bz. a=blocking-basecamp 2012-11-06 12:34:03 -08:00
Doug Turner
91d22f1a0b Bug 808866 - do not create location providers in child process. r=jdm/amarchesini a=blocking-basecamp 2012-11-06 10:42:27 -08:00
Vladan Djeric
f3f30fb87c Bug 808268 - Report % of dirty keys in a scope during a flush. r=taras 2012-11-05 15:49:38 -05:00
Andrea Marchesini
577ba2edac Bug 803451 - GPS code prompts even when GPS is disabled. r=dougt 2012-10-31 20:19:34 -04:00
Doug Turner
4ee2adc832 Bug 806472 - NS_CONTENT_PERMISSION_PROMPT_CONTRACTID is used both as a service and an instance. r=bent 2012-10-31 10:06:42 -07:00
Jacek Szpot
0b35b0e3d8 Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan 2012-10-26 15:32:10 +02:00
Vladan Djeric
2b6792d402 Bug 802920: Gather additional Telemetry on performance of LocalStorage operations. r=taras 2012-10-23 15:37:13 -04:00
Ben Turner
1493ea2ca6 Bug 786295 - 'Delete IndexedDB related to an app when uninstalled'. r=bz+khuey+sicking. 2012-10-23 09:31:19 -07:00
Nick Hurley
a115c7b5bc Bug 536324 part 2 - Change implementers of nsIChannel. r=sworkman 2012-10-22 10:51:07 -07:00
Isaac Aggrey
cbb17fe7b2 Bug 794510: Part 2: Use more stdint types instead of protypes.h types; r=ehsan 2012-10-11 18:38:04 -05:00
Kan-Ru Chen (陳侃如)
df71a77f5d Bug 797681 - Register GonkGPSGeoLocationProvider as a XPCOM service. r=dougt 2012-10-15 14:40:51 +08:00
Bobby Holley
055fcd4448 Bug 789224 - Remove chrome check in xpc_EvalInSandbox. r=mrbkap
This function is also called to evaluate javascript:// URIs, at which point the chrome caller assumption isn't actually valid. Let's just do the modern thing here, and fix up the caller that breaks.
2012-10-10 11:01:26 +02:00
Terrence Cole
e7ed15573e Bug 798624 - Specialize low-level character access to JSStableString; r=luke, rs=Waldo
Implements JSStableString::chars() and pushes StableCharPtr into the interface
at several key choke-points. This will solidly enforce the requirement that we
have uninlined jschar*s in places that we may GC with a jschar* on the stack.

--HG--
extra : rebase_source : 122785b474af371ed22d43a6bfcb600c05440405
2012-10-08 15:04:36 -07:00
Abhishek Potnis
6f931b9ad7 Bug 795504: Remove usages of PR_STATIC_CALLBACK from the tree; r=ehsan 2012-10-08 21:45:12 +05:30
Tom Schuster
68bf2735b6 Bug 795442 - Allow nsIChannel.contentDispositionFilename to be writable. r=jduell, sr=biesi 2012-10-02 09:43:00 -07:00
Mounir Lamouri
ca05059818 Bug 795134 - Remove localStorage when clear private data API is used. r=bent
--HG--
rename : dom/tests/mochitest/localstorage/test_app_uninstall.html => dom/tests/mochitest/localstorage/test_clear_browser_data.html
2012-09-29 18:31:33 +01:00
Isaac Aggrey
997db4d142 Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Mounir Lamouri
2377599fda Bug 786301 - 2/3 - Remove localStorage data from an app when uninstalled. r=jlebar 2012-09-27 16:28:44 +01:00
Mounir Lamouri
a16d36a524 Bug 786301 - 1/3 - Add RemoveAllForApp on nsDOMStorageDBWrapper and nsDOMStoragePersistentDB. r=honza 2012-09-27 16:28:01 +01:00
Terrence Cole
68f1a7379e Bug 791322 - Move Rooted to js:: namespace; r=billm
These should not be part of the public API.

--HG--
extra : rebase_source : 00a69ee54f06e3f557cd9ec2f3b059df10aa32df
2012-09-24 18:08:22 -07:00
Jan Varga
e1cb2544b5 Bug 773373 part 4: Add appId and isInBrowserElement to key generation. r=sicking 2012-09-25 16:06:28 -07:00
Jan Varga
7c22a9a928 Bug 773373 part 3: Reject principals that doesn't have URIs. r=sicking 2012-09-25 16:06:28 -07:00
Jonas Sicking
ca6c2026ec Bug 773373 part 2: Use principals instead of URIs when calculating scopes. r=honzab 2012-09-25 16:06:27 -07:00