Commit Graph

2423 Commits

Author SHA1 Message Date
Ryan VanderMeulen
63d7f5526a Merge m-c to inbound 2012-05-08 21:14:42 -04:00
Gregory Szorc
e9891e32e5 Merge services-central into mozilla-central 2012-05-08 09:52:27 -07:00
Justin Lebar
1d759e0b15 Bug 749018 - Followup: Disable debug dump() calls. r=me 2012-05-08 16:17:10 -07:00
Richard Newman
c77aeb8752 Merge m-c to s-c. 2012-05-06 18:58:00 -07:00
Ryan VanderMeulen
40cfe78d6d Merge m-c to m-i 2012-05-05 11:50:54 -04:00
Olli Pettay
0067bf7bb3 Backout Bug 716014, a=bustage 2012-05-05 18:20:09 +03:00
L. David Baron
efa60346db Reflow for screen size change when font.size.inflation.minTwips is set. (Bug 747231, patch 4) r=roc
--HG--
extra : transplant_source : %B2c%F2%B9%E0%1DL%DD%AF%A2%842R%F3%BB%60R%1B%9EI
2012-05-05 15:28:06 +02:00
L. David Baron
97846bd76e Remove duplicate null check of presShell. (Bug 747231, patch 1) r=roc
--HG--
extra : transplant_source : %05I%BFz%3C%95%CB%19%BCV%08Lx%F5G%88%9B%02S9
2012-05-05 15:25:26 +02:00
Olli Pettay
9d18ecc72d Bug 716014, use compartment gc more often, r=billm
--HG--
extra : rebase_source : cf20b7aca16349e4007da24cfb5b19ab7a16cad8
2012-05-05 11:55:30 +03:00
Ms2ger
e1eb3aea1b Bug 732708 - Part f: Remove nsStorageSH; r=mayhemer 2012-05-05 11:00:05 +02:00
Ms2ger
ffc7d3c0c4 Bug 732708 - Part d: Remove StorageEventObsolete, NS_NewDOMStorage; r=mayhemer 2012-05-05 11:00:05 +02:00
Ms2ger
0718b5e89f Bug 677194 - Add test; r=jst 2012-05-05 11:00:05 +02:00
Ms2ger
3b04c7d79e Bug 741245 - Remove nsresult return value from nsXPConnect::GetSafeJSContext(); r=bholley 2012-05-05 11:00:05 +02:00
Ms2ger
ba6a163e0e Bug 745211 - Remove SetScriptContext from nsIScriptGlobalObject; r=mrbkap 2012-05-05 11:00:04 +02:00
Richard Newman
09079ed922 Merge m-c to s-c. 2012-05-04 14:25:04 -07:00
Gregory Szorc
4cc790e537 Merge m-c to s-c 2012-05-03 14:33:48 -07:00
Ali Juma
d068bda688 Bug 748048 - Part 1: Remove SetInvalidationDimensions and GetInvalidationDimensions. r=roc 2012-05-03 12:33:51 -04:00
Olli Pettay
16f7a14985 Bug 751561 - Call forgetSkippable at least twice before CC, r=mccr8
--HG--
extra : rebase_source : 7434eb9be0bbdfd7fe44e1aeced9698d6c0627e1
2012-05-03 19:17:01 +03:00
Matt Brubeck
996c153f96 Bug 750051 - Disable window.find in Fennec because it breaks and/or crashes [r=jst] 2012-05-03 09:15:38 -07:00
Josh Aas
a91941c89a Bug 748343: Remove support for "java" and "packages" objects from the DOM. r=jst sr=smaug a=ehsan CLOSED TREE 2012-05-01 16:47:35 -04:00
Timothy Nikkel
674735aa60 Bug 749816. When setting the display port for an element We only need to discard layer contents when we are hiding a document with a widget. r=roc 2012-05-01 01:43:59 -05:00
aceman
047587d603 Bug 750501 - Fix build failure in nsDOMClassInfo.cpp due to missing nsIDOMMediaStream.h when MOZ_MEDIA is disabled. r=bz 2012-04-30 22:45:02 -04:00
Gregory Szorc
bd7786fdde Merge m-c into s-c 2012-04-30 19:02:39 -07:00
Richard Newman
c12a156ffa Merge m-c to s-c. 2012-04-29 23:41:26 -07:00
Anant Narayanan
a78f5f47a4 Bug 745069 - Add methods to DOMApplicationRegistry for AitC support; r=fabrice 2012-04-28 00:10:08 -07:00
Phil Ringnalda
1f0b033b16 Merge m-c to m-i 2012-04-26 21:40:59 -07:00
Kyle Huey
7f0a8a30db Bug 695480: Remove support for chrome code leaking DOM objects. r=jst,billm,bholley 2012-04-25 21:03:53 -07:00
Bobby Holley
f5f5820087 Bug 640904 - Check for null window globals within PreCreate hooks and assert IsClosedOrClosing(). r=peterv,smaug 2012-04-27 10:38:14 +02:00
Gijs Kruitbosch
ae54e2bc78 Bug 539095 - Expose high-res timers to web content (performance.now()). r=bz, sr=smaug
--HG--
extra : transplant_source : o%9F%061%D4%B5%7D%5C%FB%95%5D%16%27%DEKU%EC%21%3AR
2012-04-27 09:22:06 +02:00
Masatoshi Kimura
0452126e19 Bug 744910 - Remove FileException from workers. r=bent 2012-04-24 19:50:00 -04:00
Matt Brubeck
d5da39b00f Back out bug 730208 and bug 747543 because of xpcshell test failures 2012-04-24 20:47:16 -07:00
Matt Brubeck
2993d5d45a Back out a0bc511b1d75 (bug 744910) and c85d6a254baa (bug 673752) on suspicion of causing Win debug "make check" hangs 2012-04-24 20:47:13 -07:00
Luke Wagner
d266538fea Bug 747617 - fix document.all and swap JSClass::{construct,hasInstance} so this doesn't happen again (r=bz)
--HG--
extra : rebase_source : 036acbd046ff8b42f81e63933901b6aaaa595a76
2012-05-07 12:44:08 -07:00
Chris Jones
90472db691 Bug 745145, part 1: Generalize ScreenOrientation into ScreenConfiguration, and add screen rect and color+pixel depth to it. r=mounir 2012-05-08 14:36:07 -07:00
Jon Buckley
abfe75ece8 Bug 728017 - Implement WEBGL_compressed_texture_s3tc - r=bjacob 2012-05-08 13:29:31 -04:00
Ed Morley
5885a6edd0 Backout ba7cf6fd10ae (bug 728017) for failing to compile 2012-05-08 18:50:45 +01:00
Jon Buckley
3954a6b841 Bug 728017 - Implement WEBGL_compressed_texture_s3tc - r=bjacob 2012-05-08 13:29:31 -04:00
Vivien Nicolas
2e6dff64aa Bug 752389 - Launching any application attaches a /undefined to the end of the URL. r=fabrice 2012-05-08 19:20:06 +02:00
Justin Lebar
30ce54f7ce Bug 749018 - Make OOP <iframe mozbrowser> pass current browser frame tests. r=smaug,cjones
--HG--
extra : rebase_source : f15018bf2c9427a0d6e8d44da348d8d7d1693219
2012-05-08 09:20:35 -07:00
Masayuki Nakano
bf490789ea Bug 630811 part.3 Improve nsDOMWindowUtils::send*Event() for new modifiers r=smaug 2012-04-25 12:00:02 +09:00
Ehsan Akhgari
a992263c77 Merge mozilla-central into mozilla-inbound 2012-04-24 21:29:44 -04:00
Patrick Wong
30fd6e9e6a Bug 745659 - Removed the nsPrintfCString constructor which takes a length and all corresponding instances that call that particular constructor. This is accomplished by removing the length component from the instantiation. r=jlebar 2012-04-24 14:43:00 -04:00
Ehsan Akhgari
dadbef66ac Merge mozilla-central into birch 2012-04-24 10:49:42 -04:00
Bobby Holley
14988b5704 Bug 743615 - Handle ImageData in the main thread runtime callbacks. r=bent 2012-04-24 12:58:07 +02:00
Ehsan Akhgari
b6247f2495 Merge from mozilla-central 2012-04-23 19:24:10 -04:00
Ehsan Akhgari
624b7c422e Merge from mozilla-central 2012-04-23 18:17:44 -04:00
Joe Drew
59b12ae642 Backout 492d12fa8b65 (bug 732016) for regressions. a=regression
--HG--
extra : rebase_source : cda0401baa2c3e5f6192f76c1cd25eca8187a9a0
2012-04-23 11:13:33 -07:00
Mounir Lamouri
327273dcb8 Bug 747442 - Unlock orientation only if the received mozfullscreenchange is for fullscreen being disabled. r=smaug a=mfinkle 2012-04-23 10:30:58 +02:00
Ehsan Akhgari
06098487ea Merge mozilla-central into birch 2012-04-22 16:10:35 -04:00
Rafael Ávila de Espíndola
9f86199900 Bug 743680 - nsGlobalWindow.h uses GetWrapper, include nsWrapperCacheInlines.h. r=dbolter.
--HG--
extra : rebase_source : 9e0b59c3b4929b7c48767be1732269133cb4e18f
2012-04-20 16:43:48 -04:00
Doug Turner
68e34b4226 Bug 738465 - implement device light sensor. r=smaug 2012-05-02 09:43:45 -07:00
Doug Turner
63408865d2 Bug 738131 - implement device proximity. r=smaug
* * *
Bug 738131 - implement device proximity. gonk implementation. r=mwu
2012-05-02 09:43:45 -07:00
Timothy Nikkel
be2da87d6f Bug 732016 Allow override of the scroll port size used for clamping scroll positions. r=roc 2012-04-19 20:54:54 -05:00
Nathan Froyd
cbe7708512 Bug 751314 - fix -Wsign-compare warnings in nsGlobalWindow.cpp; r=khuey 2012-05-02 15:38:17 -04:00
L. David Baron
ea48810f79 Try to fix topcrash bug 752428 by null-checking the result of nsIPresShell::FrameManager(), which isn't supposed to need it. r=roc
--HG--
extra : transplant_source : %DF%9D%B8%F3%06%C5%85%00%245%FFK%AC%3F%3B%0C%90%3D%EF%A0
2012-05-07 17:02:01 +02:00
Robert O'Callahan
d59506a4a4 Bug 664918. Part 4: Create nsDOMMediaStream, a DOM object wrapping an underlying MediaStream. r=smaug,jesup 2012-04-30 15:11:34 +12:00
Ed Morley
79899a6f75 Backout 9b0fcaacb788 & bf3fef257e68 (bug 752226) for mochitest-other orange 2012-05-11 18:25:52 +01:00
Tom Schuster
1941fb1bb4 Bug 752226 - Remove any use of JSVAL_IS_OBJECT. r=luke,Ms2ger
--HG--
extra : rebase_source : edf2077f8b8bad1970eab6ebe9996e761d4e596c
2012-05-11 17:46:26 +02:00
Nathan Froyd
169d406424 Bug 754241 - add window-objects-layout-pres-contexts to about:memory; r=njn 2012-05-11 09:23:07 -04:00
Gregor Wagner
3acc91ede6 Bug 746933 - Create a JS helper module for common IndexedDB functionality. r=fabrice 2012-04-26 15:10:04 -07:00
Ms2ger
b1ee890571 Backout cc0e289b9f34 (bug 640904) for Windows M1 crashes. 2012-04-26 18:22:08 +02:00
Bobby Holley
5bbb2ebb19 Bug 640904 - Check for null window globals within PreCreate hooks and assert IsClosedOrClosing(). r=peterv 2012-04-26 14:16:10 +02:00
Brian R. Bondy
88826442da Bug 749527 - Remove text formats in clipboard when copying an image. r=ehsan. 2012-04-30 13:08:16 -04:00
Steve Fink
2c59d5586c Bug 730208 - UnmarkGray fixups for globals and contexts. r=billm
A common source of potential black -> gray edges is JSAPI calls made on objects with gray globals or contexts holding gray globals. (The call could potentially update a black object with a pointer to that global.) This patch mostly traps places where contexts are used, and unmarks their globals. It also includes some more global unmarking.

--HG--
extra : rebase_source : 835c1d6b4a7f7a11571412075ae8847475079edd
2012-03-14 09:32:58 -07:00
Steve Fink
86b2714480 Bug 730208 - UnmarkGray various JS objects to prevent them from being used to create black -> gray edges. r=smaug
--HG--
extra : rebase_source : ba0e5a7c3f9f5f4c76eaa3c8e20d406b9691be9b
2012-03-20 21:29:47 -07:00
Eric Chou
fdedf2d2b0 Backout 4a9ebf972d27 (Bug 730990) because it was checked-in without superreview 2012-05-04 07:53:51 +08:00
Andrew McCreight
3ac11cfc5b Bug 744103, part 2 - Change NoteScriptChild to NoteJSChild. r=smaug 2012-05-03 12:28:10 -07:00
Ed Morley
8266a4291c Merge mozilla-central to mozilla-inbound 2012-05-03 20:13:41 +01:00
Masayuki Nakano
e7f63293af Bug 166240 part.8 Add tests for KeyboardEvent.location (synthesized events) r=smaug, sr=jst 2012-05-03 17:35:02 +09:00
Philipp von Weitershausen
6c6bc0f177 Bug 729173 - Part 3: Hook up MobileConnection to the Navigator object 2012-04-19 18:33:25 -03:00
Philipp von Weitershausen
7560ad0bad Bug 729173 - Part 2: MobileConnection boilerplate. r=mounir 2012-04-19 18:33:25 -03:00
Myk Melez
0e8cb8852d bug 725408 - implement WebappRT launcher/shell; r=bsmedberg 2012-04-17 07:11:53 -07:00
David Anderson
f84d3b7b8d Remove more uses of JS_FrameIterator (bug 744617, r=mrbkap). 2012-04-16 12:30:04 -07:00
David Anderson
9e6c5a8a5f Remove simple JS_FrameIterator use from content, DOM, and caps (bug 744617, r=mrbkap).
--HG--
extra : rebase_source : 003a5285b549845d47c9298606d737620db5bb3d
2012-04-16 12:30:00 -07:00
Kartikaya Gupta
0cc27e70b7 Bug 744699 - Call setDisplayPort on the correct presShell. r=roc 2012-04-16 09:48:04 -04:00
Mounir Lamouri
e980c7d0bd Bug 745495 - Fix crash when using screen object from removed iframe. r=smaug 2012-04-16 11:33:35 +02:00
Ms2ger
03682a37f1 Bug 732708 - Part c: Remove dom-storage-changed observer topic; r=honzab 2012-04-14 15:06:32 +02:00
Ms2ger
a37d5dbaac Bug 741347 - Remove nsIXPConnect::DefineDOMQuickStubs, call DOM_DefineQuickStubs directly instead; r=bholley 2012-04-14 15:05:17 +02:00
Ms2ger
17ded04bad Bug 742837 - Remove dead code and cleanup around nsDOMScriptObjectFactory; r=bz 2012-04-14 15:03:16 +02:00
Ms2ger
49aa5650bf Bug 744347 - Remove last traces of EventException; r=smaug 2012-04-14 14:57:07 +02:00
Ms2ger
8299fe6b09 Backing out bf0a78471e5e:dc7022e2d807 for inexplicable windows crashes. 2012-04-14 17:52:34 +02:00
Ms2ger
05d5270d53 Bug 743573 - Fix a number of build warnings in dom/; r=volkmar 2012-04-14 15:09:47 +02:00
Ms2ger
9989b037f1 Bug 732708 - Part c: Remove dom-storage-changed observer topic; r=honzab 2012-04-14 15:06:32 +02:00
Ms2ger
ead7156eeb Bug 741347 - Remove nsIXPConnect::DefineDOMQuickStubs, call DOM_DefineQuickStubs directly instead; r=bholley 2012-04-14 15:05:17 +02:00
Ms2ger
f88fab52fb Bug 741245 - Remove nsresult return value from nsXPConnect::GetSafeJSContext(); r=bholley 2012-04-14 15:05:01 +02:00
Ms2ger
3cce5883de Bug 742837 - Remove dead code and cleanup around nsDOMScriptObjectFactory; r=bz 2012-04-14 15:03:16 +02:00
Ms2ger
6d3b20451d Bug 744347 - Remove last traces of EventException; r=smaug 2012-04-14 14:57:07 +02:00
Marco Bonardo
1962679385 Merge central and inbound 2012-04-14 13:56:15 +02:00
Olli Pettay
646212a8d4 Bug 743416, crash with showModalDialog, r=jst 2012-04-14 11:03:28 +03:00
Matt Brubeck
7330ce5b0e Bug 735237 - Disable window.showModalDialog in Fennec [r=jst] 2012-04-12 21:55:25 -07:00
Bobby Holley
ac0a01ac3b Bug 744034 - Link the script context to the outer window earlier to ensure that we always have TI for content. r=mrbkap 2012-04-12 11:21:12 -07:00
Masatoshi Kimura
aeaab5cc06 Bug 743574 - Deprecate DOMException.code. r=sicking 2012-04-11 17:55:23 -04:00
Masatoshi Kimura
aeb3f9e55a Bug 743049 - Part 2: Use the new API from NS_ScriptErrorReporter to get an error type name. r=jst 2012-04-11 17:55:22 -04:00
Masatoshi Kimura
23049011a9 Bug 730161 - Replace IDBDatabaseException and FileException with DOMException. r=sicking 2012-04-11 17:55:21 -04:00
Masatoshi Kimura
481f410ee0 Bug 730161 - Implement IDBRequest.error. r=sicking 2012-04-11 17:55:21 -04:00
Philipp von Weitershausen
03872d74e8 Bug 734018 - Don't patch DOMRequestService into Services.jsm. r=gavin,fabrice 2012-04-11 13:55:54 +08:00
Mounir Lamouri
f1e6ed88e8 Bug 743217 - Do not allow iframes to lock the screen if a parent window's element is fullscreened. r=smaug
--HG--
extra : rebase_source : f3384491fbfc1a756917516ad15f5d93d05f624b
2012-04-10 15:38:59 +02:00
Olli Pettay
b7882b811f Bug 743199 - Unmark Document's and Window's ELM, r=mccr8 2012-04-07 10:12:03 +03:00
Bill McCloskey
3ace6566fe Bug 742570 - Remove the compartment option for gczeal (r=igor) 2012-04-03 11:41:56 -07:00
Bill McCloskey
c8af5eba7e Bug 739810 - Make cycle collector traverse nsGlobalWindow::mLocalStorage (r=smaug)
--HG--
extra : rebase_source : 7da46b5d1e5871dbd59078aa93f0f1d8da75799e
2012-04-05 15:38:01 -07:00
Gabor Krizsanits
c306ffc838 Bug 733035 - postMessage support for sandboxes. r=khuey 2012-04-05 18:33:20 -04:00
Brad Lassey
e3451864f9 backout b51259905d85 because it needs sr 2012-04-05 02:02:52 -04:00
Brad Lassey
8fb60abdbf bug 738528 - still photo support for getUserMedia r=dougt 2012-04-04 23:32:38 -04:00
Justin Lebar
f2560a00d6 Bug 742448 - Don't return xray-waived objects in BrowserElementAPI, and don't use the parent window's content-overridable top property for implementing window.top. r=bholley
--HG--
extra : rebase_source : 0c81c1f605aaf73f01b47077be11345ee64955e1
2012-04-04 20:32:39 -04:00
Nathan Froyd
69d33a0304 Bug 732708 - remove nsIDOMStorageList; r=honzab 2012-03-28 12:33:41 -04:00
Marco Bonardo
63e298422a Merge central to inbound 2012-04-04 13:39:52 +02:00
Marco Bonardo
5eb9c1dad8 Merge last green PGO from inbound to central 2012-04-04 13:36:36 +02:00
Olli Pettay
19b67623db Bug 742183 - Handle MicroTasks correctly with showModalDialog, r=sicking 2012-04-04 09:23:45 +03:00
Marco Bonardo
1ababdd3b2 Merge central and inbound 2012-04-03 14:36:57 +02:00
Ms2ger
a0062c6cca Bug 532062 - localStorage/sessionStorage should return undefined (not null) for undefined keys through property access; r=mayhemer 2012-04-03 09:25:39 +02:00
Justin Lebar
ef80ce85f4 Bug 737857 - Report number of ghost windows in telemetry. r=njn
--HG--
extra : rebase_source : 0139099de839f77405ec1e606fc0540fc892cbd5
2012-04-02 22:28:13 -04:00
Justin Lebar
c7747cbafe Bug 738624 - Add ghost windows to about:compartments. r=njn
--HG--
extra : rebase_source : c16cdfc4c06b363f54f1d0f37bb006cf977b079a
2012-04-02 22:28:05 -04:00
Justin Lebar
91e6fee1e8 Bug 738011 - Separate "detached" from "ghost" windows in about:memory. r=njn,mccr8
--HG--
extra : rebase_source : 02d563277907231953728a0a99847c466665dbb0
2012-04-02 22:28:04 -04:00
Matt Brubeck
6b29960c06 Back out bug 738011, bug 738624, and bug 737857 because of WinXP debug reftest log errors
--HG--
extra : rebase_source : 965c755f6416e2ca102b38633fe7a2c7267e956e
2012-04-02 12:44:31 -07:00
Masayuki Nakano
b2f0fc7b65 Bug 668157 part.2 mozilla/dom should use mozilla::Preferences r=jst 2012-04-04 13:09:20 +09:00
Ryan VanderMeulen
e30ff35d31 Backout 17deb5f61b4d (bug 150073) due to build bustage. a=shouldausedtryfirst 2012-04-03 20:22:42 -04:00
Matt Brubeck
ee9f4c7f0f Merge mozilla-central to mozilla-inbound 2012-04-02 11:03:29 -07:00
Matt Brubeck
82e8c9aa19 Merge last green changeset from inbound to mozilla-central 2012-04-02 10:41:37 -07:00
Kyle Huey
03a553e469 Bug 722428: Fix leaks in mochitest by reworking SpecialPowers and nsDOMWindowUtils. r=mounir,ctalbert 2012-04-01 19:23:51 -07:00
Tim Taubert
895f7fcd35 merge m-c to fx-team 2012-04-01 18:52:12 +02:00
Ed Morley
7b8f9d67b3 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-03-31 22:41:59 +01:00
Olli Pettay
aef37dab12 Bug 641821, MutationObserver, r=sicking
--HG--
extra : rebase_source : a680c883b22976edf38eea23fb516215e081084f
2012-03-31 09:30:13 -07:00
Johnny Stenback
c1b3d96e01 Removing windows newlines. no bug and DONTBUILD 2012-03-30 22:34:16 -07:00
Ed Morley
2aa4048571 Merge mozilla-central to mozilla-inbound 2012-03-31 15:28:55 +01:00
Peter Van der Beken
c2e642fbcc Fix for bug 740069 (Generate JS bindings in C++ with a python script for DOM objects on the main thread and in workers. Infrastructure and new bindings for XMLHttpRequest). Patch by bent/bz/bholley/jst/khuey/peterv, r=bent/bz/bholley/jlebar/khuey/peterv/sicking/smaug.
--HG--
rename : js/xpconnect/tests/mochitest/test_bug462428.html => dom/bindings/test/test_lookupGetter.html
2012-03-30 21:42:20 -07:00
Mounir Lamouri
47abadb9c1 Bug 740707 - Fix crash in mozilla::dom::Navigator::GetMozBattery. r=jlebar 2012-03-30 18:58:12 -07:00
Tim Taubert
726363a9bd Bug 727446 - Let the window owning a storage dispatch an event when the storage changes; r=smaug 2012-03-30 19:31:16 +02:00
Marco Bonardo
31496b4a78 Merge central to inbound 2012-03-30 12:27:55 +02:00
Ms2ger
09fa74771d Bug 738761 - Remove nsIScriptTimeoutHandler::GetScriptVersion and pass JSVersion to nsIScriptContext::EvaluateString; r=jst 2012-03-29 23:09:13 +02:00
Mounir Lamouri
aaec9372e9 Bug 740188 - Screen Orientation API locking (3/3): revert orientation when fullscreen is left. r=smaug 2012-03-29 09:31:11 -07:00
Mounir Lamouri
6fa22503da Bug 740188 - Screen Orientation API locking (2/3): security model. r=smaug 2012-03-29 09:31:29 -07:00
Mounir Lamouri
e07e2adfa7 Bug 740188 - Screen Orientation API locking (1/3): DOM/HAL boilerplate. r=smaug sr=sicking 2012-03-29 12:43:16 -07:00
Terrence Cole
f39a8777a1 Bug 738868 - Switch JSObject2JSObjectMap to new HashTable; r=mrbkap 2012-03-27 09:55:55 -07:00
Peter Van der Beken
f4bf642150 Bug 740526. Change LookupName to return the nsGlobalNameStruct as a return value, not an out param. r=bzbarsky 2012-03-29 11:43:13 -07:00
Doug Turner
d3be2a0385 Bug 740268 - DisableDeviceSensor doomedElement isn't being set correctly. r=mwu 2012-03-28 23:54:53 -07:00
Mark Capella
3519b46a3e Bug 738380 - Remove nsINode::{GetScriptTypeID, SetScriptTypeID}, nsIScriptContext::GetScriptTypeID, nsIScriptRuntime::GetScriptTypeID; r=jst 2012-04-01 14:47:48 +02:00
Justin Lebar
8dd521e600 Bug 736688 - Part 6: Add BrowserElementAPI.js, implementing loadstart, loadend, locationchange, and the window.{top,parent,frameElement} override for <iframe mozbrowser>. r=smaug
--HG--
extra : rebase_source : 7ed3e56bbf06d97a9b0127eecf87128c5389a1b1
2012-03-28 11:36:50 -07:00
Justin Lebar
6e2bfcabd9 Bug 736688 - Part 5: Remove window.{top,parent,frameElement} mozbrowser changes in nsGlobalWindow (undoes changes from bug 725796). r=smaug
--HG--
extra : rebase_source : fdeccb7e995229cdbc6ebd945109fe8441f9f525
2012-03-28 11:36:49 -07:00
Ed Morley
252f20d16b Merge mozilla-central to mozilla-inbound 2012-03-28 17:37:32 +01:00
Kyle Huey
99b4e0a5ab Merge the last good pgo-green cset on mozilla-inbound to mozilla-central. 2012-03-28 07:40:52 -07:00
Neil Rashbrook
ca82fa5a7c Bug 737022 Re-enable debug chrome strict warnings r=jst 2012-03-28 12:09:33 +01:00
Eric Chou
cc9697f125 Bug 731361 - Change bluetooth firmware loading to use a DOMRequest based API. r=bent 2012-03-27 19:17:35 -04:00
Jared Wein
ac11ea4de6 Bug 730318 - Implement a way for chrome js to enumerate the plugin objects on a page for activation. r=khuey 2012-03-28 08:53:56 -07:00
Jared Wein
a80b6db592 Backed out changeset 8e42ba558f07 (bug 730318) CLOSED TREE 2012-03-27 15:23:53 -07:00
Gregor Wagner
ec5cd78551 Bug 678695 - Settings API. r=sicking, fabrice, smaug 2012-03-26 14:49:38 -07:00
Igor Bukanov
83623b313c Bug 737365 - stop using the cx during finalization, part 1.
This part changes the signatures for various finalization API to take
not JSContext* but rather either JSFreeOp structure or its
library-private counterpart FreeOp. These structures wrap parameters
that are passed to the finalizers removing most of explicit dependencies
on JSContext in the finalization code.
2012-03-19 15:34:55 +01:00
Veeraya Pupatwibul
1bdf9d9923 Bug 741333 - Remove PRBool/PR_TRUE/PR_FALSE that crept in r=Ms2ger 2012-04-04 11:15:10 +02:00
Benoit Jacob
b50b67bbf5 Bug 728029 - Preserve added JS properties on the JS object returned by webgl.getExtension - r=peterv
This patch adds the diff between the previous iteration of the patch (which I accidentally committed in previous cset) and the one that peterv actually r+'d.
2012-03-26 15:02:43 -04:00
Benoit Jacob
e8dddcde54 Bug 728029 - Preserve added JS properties on the JS object returned by webgl.getExtension - r=peterv 2012-03-26 14:59:04 -04:00
Justin Lebar
26f2157d3f Bug 737857 - Report number of ghost windows in telemetry. r=njn 2012-04-02 10:37:04 -04:00
Justin Lebar
155a287d43 Bug 738624 - Add ghost windows to about:compartments. r=njn
--HG--
extra : rebase_source : a486e644351af72a4276f26de2e4588ee851426f
2012-04-02 10:37:04 -04:00
Justin Lebar
751c5efd5d Bug 738011 - Separate "detached" from "ghost" windows in about:memory. r=njn,mccr8
--HG--
extra : rebase_source : 5194c9062cdfcd215ce5d708b1b472cf5ba7f480
2012-04-02 10:37:04 -04:00
Doug Turner
a670db21f7 Bug 734855 - Rename DeviceMotion to DeviceSensors. Review comments address r=mwu 2012-03-24 17:30:03 -07:00
Doug Turner
f209a96f5b Bug 734855 - Rename DeviceMotion to DeviceSensors. r=mwu
--HG--
rename : dom/system/nsDeviceMotion.cpp => dom/system/nsDeviceSensors.cpp
rename : dom/system/nsDeviceMotion.h => dom/system/nsDeviceSensors.h
rename : xpcom/system/nsIDeviceMotion.idl => xpcom/system/nsIDeviceSensors.idl
2012-03-24 17:29:57 -07:00
Doug Turner
9b325a2539 Bug 734855 - Device Orientation - Make EnableDeviceMotion finer grain. r=mwu 2012-03-24 17:29:49 -07:00
Matt Brubeck
f83a9ab93e Merge mozilla-central and mozilla-inbound 2012-03-24 09:05:27 -07:00
Peter Van der Beken
6fd0c1b877 Bug 738593 - Rename IsProxy to IsDOMBinding; r=mrbkap 2012-03-16 16:44:09 +01:00
Ms2ger
57ac657dfb Bug 734724 - Inline nsIScriptContext::ConnectToInner into its only caller; r=jst 2012-03-24 09:18:22 +01:00
Ms2ger
aafc6a951d Bug 734029 - Move nsJSContext::{Set,Create}OuterObject to nsGlobalWindow; r=bholley 2012-03-24 09:18:21 +01:00
Vivien Nicolas
946e2bcc4e Bug 736193 - Use the offline cache to load applications [r=fabrice] DONTBUILD because NPOTB 2012-03-23 16:39:15 -07:00
Jared Wein
3f49c23fdd Backed out changeset 5f79a3dd45ff (bug 730318) r=bustage 2012-03-23 11:46:12 -07:00
Marco Bonardo
1ffefb8021 Merge central to inbound 2012-03-23 02:02:03 +01:00
Marco Bonardo
36b3350337 Merge last green PGO from inbound to central 2012-03-23 01:59:29 +01:00
David Flanagan
4fdd1e074b Bug 738439 - typo in Webapps.jsm [r=fabrice] 2012-03-22 14:26:36 -07:00
Marco Bonardo
ffb17ea4b7 Merge last green PGO from inbound to central 2012-03-22 13:04:29 +01:00
Neil Rashbrook
6a492894d7 Bug 737022 Re-enable strict warnings when parsing XUL r=jst 2012-03-22 08:36:36 +00:00
Jared Wein
61ab14237c Bug 730318 - Implement a way for chrome js to enumerate the plugin objects on a page for activation. r=khuey 2012-03-22 13:53:59 -07:00
Masayuki Nakano
cd68fdc428 Bug 672175 part.15 Add new API nsIDOMWindowUtils.sendNativeMouseScrollEvent() r=roc, sr=smaug 2012-03-22 09:59:12 +09:00
Henri Sivonen
f2d3f89eb7 Bug 737417 part 1 - Split charset source constants out of nsIParser.h. r=smaug. 2012-03-22 16:42:42 +02:00
Marco Bonardo
49bd1f22b0 Merge central to inbound 2012-03-22 13:09:22 +01:00
Boris Zbarsky
4d4ac90393 Bug 622491. Make the global scope polluter work in standards mode too. r=jst 2012-03-22 00:10:50 -04:00
Blake Kaplan
81959516d4 Bug 737029 - Use DOMRequestHelper.jsm in DOMWifiManager.js. r=fabrice DONTBUILD 2012-03-20 16:59:38 +01:00
Mounir Lamouri
7061af5d83 Bug 720795 - Screen Orientation API reading and event implementation in Android. r=dougt 2012-03-20 14:09:45 +01:00
Adam Dane [:hobophobe]
f6bfd29afb Bug 720126 - Update scroll API to use ScrollAxis parameters (where and when). r=roc 2012-03-19 21:09:50 -05:00
Hessam Salehi
25b8143afe Bug 474505 - Replace uses of nsVoidPtrHashkey with nsPtrHashKey<T>; r=bsmedberg 2012-03-21 14:07:31 -04:00
Eric Chou
85cd3d3dea Bug 730990 - Device object boilerplate for DOM Bluetooth - r=qDot 2012-03-23 14:58:12 -07:00
Kyle Machulis
233b8a5ed9 Backing out a44ac6895a2f 2012-03-23 14:50:47 -07:00
Eric Chou
5fc8781e5d Bug 730990 - Device object boilerplate for DOM Bluetooth - r=qDot 2012-03-23 14:18:03 -07:00
Jared Wein
3c05f07191 Backed out changeset 5f79a3dd45ff (bug 730318) r=bustage 2012-03-23 11:11:31 -07:00
Mark Capella
1e7fdd17b2 Bug 734023 - Remove language arguments from nsIScriptGlobalObject methods, r=jst, f=ms2ger 2012-03-23 18:13:29 +01:00
Shriram Kunchanapalli
05c95fc3b7 Bug 150073 - Remove nsCRT:: in nsCRT::strlen. f=sgautherie, r=dougt 2012-02-18 19:17:01 +05:30
Kan-Ru Chen
99047503ac Bug 710135 - Move screen.enabled/brightness to mozPower. r=jlebar,mounir sr=cjones,sicking 2012-04-03 01:51:00 -04:00
Igor Bukanov
fbeb82e29f bug 730221 - delegating serialization of script principals to the embedding. r=:luke,:bz
Currently to serialize principals stored in JSScript we have a rather complex
schema. First there is the transcode callback that the embedding must provide
to transcode principals using XDR API. Second we use rather complex glue code
to implement that callback in terms of writing/reading nsIObjectOutputStream/
nsIObjectInputStream. This glue code is duplicated in 3 places. All this can
be avoided if we simply delegate transcoding of principals to the caller. In
addition, at least in the case of the cached startup scripts we do not even
need to transcode the principals as the the cached scripts always have the
system principal so we can skip all the transcode complexity there.

The patch implemnts this idea. In particular, the code in JS engine
responsible for transcoding of principals is replaced by the single API
function JS_XDRSetPrincipals that the embedding can use to set principals for
decoded scripts and functions. Then the startup cache uses this to set the
principals for the decoded script to the system principals. The other two
places in nsJSContext::Serialize and  XBL_SerializeFunction that need to
serialize principals together with a function or script now uses common
utilities in nsXPConnect so the serialization complexity resides in the single
 place.
2012-02-13 14:10:04 +01:00
Oleg Romashin
49e2ef33de Bug 681192. Part 5: Make various DOM scroll APIs --- scrollTop, scrollLeft, window.scrollTo, scrollBox.scrollTo, scrollBox.scrollToLine, scrollBox.scrollBy --- use an appropriate allowed scroll destination range. r=roc,r=matspal
--HG--
extra : rebase_source : 83ee44530c67229686ec0dce3628da83e0e93438
2012-02-07 12:24:15 -08:00
Steve Fink
c7e97d8358 Bug 730208 - UnmarkGray fixups for globals and contexts. r=billm
A common source of potential black -> gray edges is JSAPI calls made on objects with gray globals or contexts holding gray globals. (The call could potentially update a black object with a pointer to that global.) This patch mostly traps places where contexts are used, and unmarks their globals. It also includes some more global unmarking.

--HG--
extra : rebase_source : 1286bdbc4c337956242c292e0fa385629ee8850b
2012-03-14 09:32:58 -07:00
Steve Fink
0f3ecde4b7 Bug 730208 - UnmarkGray various JS objects to prevent them from being used to create black -> gray edges. r=smaug
--HG--
extra : rebase_source : 00bd6f20a900e97173fafa9f5512e2ebbd3a0cac
2012-03-20 21:29:47 -07:00
Masatoshi Kimura
7a010701c4 Bug 744910 - Remove FileException from workers. r=bent 2012-04-24 19:50:00 -04:00
Mark Capella
329ec5f3aa Bug 744332 - Remove nsXULPrototypeScript::ScriptObjectHolder::mLangID. r=jst, f=Ms2ger 2012-04-24 18:31:28 -04:00
Timothy Nikkel
5fce132cd1 Bug 732016 Allow override of the scroll port size used for clamping scroll positions. r=roc 2012-04-24 13:52:35 -05:00
Matt Brubeck
a82726585c Bug 739038 - Disable window.print on Fennec [r=jst] 2012-04-13 12:45:06 -07:00
Boris Zbarsky
32c7f6e634 Bug 742217. Reduce the use of nested namespaces in our binding code. r=peterv,bent
In the new setup, all per-interface DOM binding files are exported into
mozilla/dom.  General files not specific to an interface are also exported into
mozilla/dom.

In terms of namespaces, most things now live in mozilla::dom.  Each interface
Foo that has generated code has a mozilla::dom::FooBinding namespace for said
generated code (and possibly a mozilla::bindings::FooBinding_workers if there's
separate codegen for workers).

IDL enums are a bit weird: since the name of the enum and the names of its
entries all end up in the same namespace, we still generate a C++ namespace
with the name of the IDL enum type with "Values" appended to it, with a
::valuelist inside for the actual C++ enum.  We then typedef
EnumFooValues::valuelist to EnumFoo.  That makes it a bit more difficult to
refer to the values, but means that values from different enums don't collide
with each other.

The enums with the proto and constructor IDs in them now live under the
mozilla::dom::prototypes and mozilla::dom::constructors namespaces respectively.
Again, this lets us deal sanely with the whole "enum value names are flattened
into the namespace the enum is in" deal.

The main benefit of this setup (and the reason "Binding" got appended to the
per-interface namespaces) is that this way "using mozilla::dom" should Just
Work for consumers and still allow C++ code to sanely use the IDL interface
names for concrete classes, which is fairly desirable.

--HG--
rename : dom/bindings/Utils.cpp => dom/bindings/BindingUtils.cpp
rename : dom/bindings/Utils.h => dom/bindings/BindingUtils.h
2012-05-03 00:35:38 -04:00
Myk Melez
f1228220a9 bug 746645 - Adding the white-list for myapps (or stage-myapps) has no effect with a clean FF profile; r=fabrice, a=mfinkle 2012-04-21 14:15:06 -07:00
Josh Matthews
c119292173 Bug 677194 - Change assertion to an early-return bailout. r=jst, a=akeybl 2012-02-29 12:11:03 -05:00
Boris Zbarsky
516d09b4a2 Bug 740811. Make SVGElement.prototype be Element.prototype again. r=peterv, a=akeybl 2012-04-20 21:44:35 -04:00
Mounir Lamouri
220849f37b Bug 735781 - Make sure nsScreen don't call RemoveObserver twice in a row. r=jlebar 2012-03-15 10:58:56 +01:00
Mounir Lamouri
753a764c6f Bug 735261 - navigator.mozConnection should be an instance of EventTarget. r=smaug 2012-03-14 19:50:11 +01:00
Mounir Lamouri
573bc8fb91 Bug 720799 - Don't use mDocShell in nsScreen. r=jst,jlebar 2012-03-14 19:14:53 +01:00
Mounir Lamouri
fe9374bc32 Bug 720794 - Part 2 (DOM) - Implement reading and event parts of Screen Orientation API. r=jst sr=sicking 2012-03-14 11:10:48 +01:00
Mounir Lamouri
9dc7a97d56 Bug 720794 - Part 1 (HAL) - Implement reading and event parts of Screen Orientation API. r=cjones 2012-03-13 17:42:46 +01:00
Dão Gottwald
098b79e99e Backed out changeset 2cd01fd07ce8 2012-03-19 12:54:32 +01:00
Adam Dane [:hobophobe]
395f2b3456 Bug 720126 - Update scroll API to use ScrollAxis parameters (where and when). r=roc 2012-03-18 14:42:25 -05:00
Mark Finkle
c5c1e891ea Backout 7e28d1a2c648, 330b210f503d, 2421d39e0ab3, aa978ffa44bc, 38a71ae7e06d, b94319584a7a, 7e8278f5e814, 0b4e3c7608ab, 329c07609ca8, 0d61a0d8dba4, Due to Ts regression on Android 2012-03-17 21:51:39 -04:00
Mounir Lamouri
81b3fa1bc1 Bug 735781 - Make sure nsScreen don't call RemoveObserver twice in a row. r=jlebar 2012-03-15 10:58:56 +01:00
Mounir Lamouri
d0998ff48f Bug 735261 - navigator.mozConnection should be an instance of EventTarget. r=smaug 2012-03-14 19:50:11 +01:00
Mounir Lamouri
52ab7f4c5b Bug 720799 - Don't use mDocShell in nsScreen. r=jst,jlebar 2012-03-14 19:14:53 +01:00
Mounir Lamouri
3be7d6c979 Bug 720795 - Screen Orientation API reading and event implementation in Android. r=dougt 2012-03-16 19:43:10 +01:00
Mounir Lamouri
390107621f Bug 720794 - Part 2 (DOM) - Implement reading and event parts of Screen Orientation API. r=jst sr=sicking 2012-03-14 11:10:48 +01:00
Mounir Lamouri
d69485a4f2 Bug 720794 - Part 1 (HAL) - Implement reading and event parts of Screen Orientation API. r=cjones 2012-03-13 17:42:46 +01:00
Bill McCloskey
2898570725 Bug 736643 - Add timestamp support to GC/CC JSON output (r=terrence) 2012-03-16 16:36:26 -07:00
Vivien Nicolas
8141656ea6 Bug 748889 - Silent a warning about an undefined @mozilla.org/privatebrowsing. r=enndeakin 2012-05-04 20:05:40 +02:00
Vivien Nicolas
56f54c51bd Bug 751144 - warning: ok is undefined in dom/base/WebApps.js. r=fabrice 2012-05-04 20:02:05 +02:00
Vivien Nicolas
c607e9fdc6 Bug 748858 - Use the startPoint argument of mozIDOMApplication.launch. r=fabrice 2012-05-04 20:02:05 +02:00
Boris Zbarsky
6cb0048f56 Bug 747825. Make the WebGLContext a wrapper cache. r=peterv 2012-05-04 12:36:40 -04:00
Jared Wein
883053cd10 Bug 730318 - Implement a way for chrome js to enumerate the plugin objects on a page for activation. r=khuey 2012-03-27 13:50:50 -07:00
Bobby Holley
ff990375c6 Bug 738956 - Wrap values in nsStructuredCloneContainer::InitFromVariant before passing them to JS_WriteStructuredClone. r=khuey 2012-03-27 11:43:11 -07:00
Bobby Holley
92d741e6a0 Bug 734910 - Enter the compartment of the new global before calling FinishInitForNewWrappedGlobal. r=mrbkap 2012-03-16 12:47:20 -07:00
Peter Van der Beken
526e189372 Fix for bug 736229 (Stop storing expando objects in the wrapper cache, store the proxy instead). r=jst. 2012-03-14 15:22:10 +01:00
Ms2ger
b114a45e19 Bug 550309 - Part d: Try unwrapping to nsIDOMImageData in GetImageData(); r=bz 2012-03-16 10:44:39 +01:00
Ms2ger
364d2a12d3 Bug 550309 - Part c: Implement ImageData; r=bz 2012-03-16 10:44:08 +01:00
Ed Morley
efdc9a5382 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-03-15 12:42:01 +00:00
Bill McCloskey
bfb7513cfa Bug 735916 - Fix javascript.options.mem.log (r=terrence) 2012-03-14 16:50:35 -07:00
Blake Kaplan
867e18420d Bug 732982 - Expose a wifi API to the DOM. The API is very much a work in progress and will change soon. r=cjones/fabrice/vigntetun DONTBUILD
--HG--
extra : rebase_source : c44979e32dfffc46502f21c59c691a13e0319cad
2012-03-14 21:39:15 +01:00
Kartikaya Gupta
314843ddd5 Bug 725095 - Merge off-main-thread compositor from Maple. IGNORE BAD COMMIT MESSAGES 2012-03-14 11:18:15 -04:00
Benoit Girard
188ca471f6 Merge mc->Maple 2012-03-13 11:05:28 -04:00
Marco Bonardo
3e58667468 Merge last green PGO from inbound to central 2012-03-13 11:17:21 +01:00
Masatoshi Kimura
e441461b51 Bug 721569 - Implement Blob constructor. r=sicking 2012-03-12 21:44:56 -07:00
Jonas Sicking
39ecbe97e4 Bug 735094: Implement new string values (rather than numeric constants) for IndexedDB. r=bent 2012-03-12 21:44:45 -07:00
Olli Pettay
85ef818664 Bug 734057 - Make nsDOMEventTargetHelper to not have strong pointer to window, part2, r=jst 2012-03-13 02:56:20 +02:00
Olli Pettay
339e88ba7e Bug 734057 - Make nsDOMEventTargetHelper to not have strong pointer to window, r=jst,bent 2012-03-13 02:56:07 +02:00
Ali Juma
cc0282e9e5 Bug 732091 - Part 2: Add {set,get}IsFirstPaint to nsIDOMWindowUtils and nsIPresShell. r=ehsan 2012-03-12 11:50:11 -04:00
Ms2ger
f86aa6d879 Bug 734481 - Make nsIJSArgArray inherit from nsIArray; r=jst 2012-03-11 09:53:05 +01:00
Ms2ger
51265ab0b6 Bug 734473 - Remove nsIScriptContext::FinalizeContext; r=jst 2012-03-11 09:51:22 +01:00
Ms2ger
584d05b577 Bug 734472 - Pass JSObject to nsIScriptContext::SetProperty; r=jst 2012-03-11 09:50:22 +01:00
Ms2ger
7aad511ab7 Bug 734468 - Make SetTerminationFunction return void; r=jst 2012-03-11 09:49:15 +01:00
Ms2ger
6dbbe95646 Bug 732769 - Remove FileError; r=sicking 2012-03-11 09:47:38 +01:00
Igor Bukanov
30d3de8268 bug 728250 - remove JSPrincipals::codebase. r=:luke,:bz
In just 2 cases where JSPrincipals::codebase is used it can be reconstructed from the values stored in the associated nsJSPrincipal. In addition the patch makes nsJSprincipals to inherit both from nsIPrincipal and JSPrincipals allowing to use static_cast to convert between nsIPrincipal and JSPrincipals pointers and to drop many cases of manual JSPrincipal reference counting.
2012-03-09 10:48:50 +01:00
Kan-Ru Chen
0463d2d1c5 Bug 697132 - Use nsCOMPtr constructor. r=Ms2ger 2012-03-14 18:00:29 -04:00
Nicholas Nethercote
55f276020a Bug 732843 - Handle Callback() failures in memory multi-reporters. r=jlebar.
--HG--
extra : rebase_source : 54af85a1ef839922d5443cdc36f601611258944a
2012-03-04 15:26:30 -08:00
Fabrice Desré
5b3cde6f1c Bug 697006 - Add desktop support for the Open Web Apps API - Part 1 : enable mozApps on desktop [r=gavin] 2012-03-12 17:33:10 -07:00
Fabrice Desré
733a03739b Bug 735109 - unregister message listeners on shutdown in Webapps.jsm [r=felipe] 2012-03-12 17:33:10 -07:00
Bill McCloskey
d7a654d0c5 Bug 735014 - Wait longer for PAGE_HIDE GCs (r=smaug) 2012-03-12 16:25:03 -07:00
Justin Lebar
0dbaf73150 Bug 729940 - Part 2: Stop using crappy hash functions in Gecko. r=bz
--HG--
extra : rebase_source : 6fa267a89878cc1a766d8618569debcea9b12e48
2012-03-12 18:53:18 -04:00
David Anderson
67bb3e5986 Remove JS_GetScriptedCaller (bug 732652, r=luke,mrbkap,bholley,smaug,bent). 2012-03-06 15:33:12 -08:00
Ehsan Akhgari
50c889808a Merge mozilla-central into mozilla-inbound 2012-03-14 13:40:34 -04:00
Blake Kaplan
7a4eeff601 Bug 727884 - Make nsWrapperCache::WrapObject take a JSObject scope instead of XPCWrappedNativeScope. r=peterv 2012-03-14 16:25:40 +01:00
Johnny Stenback
7baa140a51 backout Bug 679971 - remove Navigator.taintEnabled() 2012-01-05 18:24:10 +02:00
Nicholas Nethercote
4ecf193683 Bug 713799 - Rearrange the "window-objects" sub-tree in about:memory to make per-tab memory usage more obvious. r=jst.
--HG--
extra : rebase_source : f4e9407ad9a5c20ae8523d2ec087b4ee99c43877
2012-03-12 23:00:18 -07:00
Doug Turner
e323518614 Bug 733652 - Remove geolocation address handling (v2). Little adoption, costly implementation r=jdm 2012-03-08 22:16:25 -08:00
Ed Morley
12222d2d31 Backout 8b74d5ae78c3 & c619bbb2951f (bug 734391), 772c994fa869 (bug 734324), fd23ff0f9dd1 (bug 734325), d1e037a9390e (bug 733653), 3a7bf79b5b2d (bug 733650) & 9d9392fce538 (bug 733652) for OS X M1 & M3 orange 2012-03-13 22:29:29 +00:00
Terrence Cole
620f254a87 Bug 531396 - Expose detailed GC timing information API; r=smaug,billm
Extensions such as MemChaser would really like an easier to parse and more
complete record of GC events than what can be gleaned from the message console.
This patch adds GC and CC observer messages formatted as JSON containing
detailed statistics.
2012-03-05 15:33:24 -08:00
Doug Turner
d89616f66d Bug 733652 - Remove geolocation address handling (v2). Little adoption, costly implementation r=jdm 2012-03-08 22:16:25 -08:00
Peter Van der Beken
c3b954ffff Add new DOM binding for SVG list classes. r=jst.
--HG--
extra : rebase_source : ce84f9457d7b9a14a0a65db5c643938d0e0e05bc
2011-08-22 11:14:13 +02:00
Peter Van der Beken
96b0afb0da Fix for bug 734508 (Add new DOM binding for SVG list classes). r=jst.
--HG--
extra : rebase_source : c32d2fd124093ae437f000655bba7f3a5f17d99d
2011-08-22 11:14:13 +02:00
Peter Van der Beken
7d36526803 Backout 790be8926d50 to fix commit message
--HG--
extra : rebase_source : 930b7802b35784ef5d70ed359d5d9932013ad62d
2012-03-12 21:13:23 +01:00
Jacob Holzinger
acfe99c129 Bug 696242 - Convert NS_RegisterStaticAtoms and nsCSSScanner::ReportUnexpectedParams to take an array-reference rather than a pointer and length, making it impossible to pass a pointer/length that are inconsistent. r=jwalden
--HG--
extra : rebase_source : 882b5b4d500b1fa242c0a3cfa3084e4171cbaa9d
2012-03-08 18:22:57 -08:00
Matt Brubeck
465b97cf40 Merge mozilla-central to mozilla-inbound 2012-03-08 16:27:40 -08:00
Olli Pettay
4d4b25de9e Bug 730891, event ctor for StorageEvent, r=sicking,kyle 2012-03-08 23:27:05 +02:00
Rob Campbell
b13d39e0b9 merge fx-team to m-c 2012-03-08 10:30:11 -04:00
Bill McCloskey
1a94b8704e Bug 730853 - Make sure we occasionally CC with lots of incremental GCs (r=smaug,mccr8) 2012-03-08 15:37:13 -08:00
Gregor Wagner
342cbbae2a Bug 733599 - mozContacts should use DOMRequestIpcHelper. r=fabrice 2012-03-07 13:45:24 -08:00
Kan-Ru Chen
255811e424 Bug 697132 - Implement wakelock interfaces. r=jlebar 2012-03-07 12:03:25 +01:00
Bobby Holley
e6b5d5e506 Bug 733606 - Only call FinishInitForWrappedGlobal when we just created a global. r=mrbkap
Without this patch, we call the above when restoring things out of the bfcache, which is bad. It must be called exactly once.
2012-03-08 09:33:30 -08:00
Daniel Holbert
3f2d277287 Bug 732877: Remove no-longer-used variable 'oldPrincipal' from nsGlobalWindow.cpp. r=jst 2012-03-08 13:06:38 +01:00
Fabrice Desré
1cb9507de7 Bug 720415 - update navigator.mozApps m-c implementation - DOM + repo [r=gwagner] 2012-03-06 11:50:58 -08:00
Tim Taubert
71e4bec105 Bug 731726 - Moving the parentNode of a focused DOM node does not remove the node's focus ring; r=Enn 2012-03-05 20:59:50 +01:00
Justin Lebar
d77dae5390 Bug 725796 - Make window.{top,parent,frameElement} respect <iframe mozbrowser>. r=bz 2012-03-04 11:02:00 -05:00
Aryeh Gregor
dbb888ac63 Bug 711047 Part 2 - Remove RangeException in favor of DOMException. r=sicking 2012-03-01 13:35:48 -05:00
Bobby Holley
87d7f5f353 Bug 720580 - Do the last bit of wrapped global initialization once the dust has settled. r=mrbkap 2012-03-05 15:22:45 -08:00
Bobby Holley
ccb745bc93 Bug 720580 - Stop passing aExtraPtr to InitClassesWithNewWrapedGlobal. r=mrbkap
We only ever pass null here anyway, and this whole infrastructure is going away real soon now.
2012-03-05 15:22:44 -08:00
Bobby Holley
2cb54e998b Bug 720580 - Remove unnecessary aIID parameter from nsIXPConnect::InitClassesWithNewWrappedGlobal. r=mrbkap 2012-03-05 15:22:44 -08:00
Bobby Holley
f43e9eb936 Bug 720580 - Introduce a flag for global natives and assert that we have it. r=mrbkap 2012-03-05 15:22:44 -08:00
Andrew McCreight
7c84ed2c56 Bug 728460, part 2: remove childless nodes in slice before CC. r=smaug 2012-03-05 13:48:33 -08:00
Ed Morley
d27ab2302c Backout afeafc02c1de, dfae37833c9b & f9f51c726fa7 (bug 729940 parts 1-3) for talos regressions 2012-03-05 15:22:28 +00:00
Eric Chou
8f17971cf6 Bug 729991: fix followup problems of bug 713116, r=ben 2012-03-04 19:54:01 -08:00
Justin Lebar
e1a9198917 Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz 2012-03-04 15:58:06 -05:00
Justin Lebar
8f94cc1764 Back out bug 729940 (a108aee:d75775d) due to 32-bit red. 2012-03-04 14:20:34 -05:00
Justin Lebar
169d0f30f5 Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz 2012-03-04 13:49:42 -05:00
Matheus Kerschbaum
89b7db65ac Bug 687579 part 1: Remove globalStorage implementation. r=jst
Bug 687579 part 1: Remove globalStorage implementation. r=jst
2011-10-09 22:14:00 -04:00
David Mandelin
8984e21021 Bug 732306: Remove typedef jsint, r=luke
--HG--
extra : rebase_source : 4d15a8514dbd698c114fa688461e533afab68ffa
2012-03-01 18:54:01 -08:00
Peter Van der Beken
52dc54f3e9 Fix for bug 732175 (Generate DOM list bindings that aren't controlled by the dom.new_bindings pref and remove old bindings for NodeList/HTMLCollection/HTMLOptionsCollection). r=jst.
--HG--
extra : rebase_source : 2eeeec059fe3467769ebcc5af01c8d472c2afbb6
2012-02-27 18:02:47 +01:00
Nicholas Nethercote
9d7b189319 Bug 730181 (part 2) - Rename nsDOMMemoryReporter. r=khuey.
--HG--
rename : dom/base/nsDOMMemoryReporter.cpp => dom/base/nsWindowMemoryReporter.cpp
rename : dom/base/nsDOMMemoryReporter.h => dom/base/nsWindowMemoryReporter.h
extra : rebase_source : f3aca3b1829e03e6f8a5a0607eb437322eb62f7d
2012-02-23 18:43:33 -08:00
Nicholas Nethercote
52e0347a64 Bug 730181 (part 1) - Merge the "dom+style" and "layout" memory reporter trees. r=khuey.
--HG--
extra : rebase_source : dabcf525d823639c5ff465c7a21de8ae533e82ff
2012-02-21 07:10:11 -08:00
Nicholas Nethercote
726ecd352b Bug 723799 - Use mallocSizeOf in the DOM memory reporters. r=mounir.
--HG--
extra : rebase_source : 2eb96d2f901bbe4cc1ff6dbccdec4dc4099b08fc
2012-02-01 13:58:01 -08:00
Bas Schouten
4a81f55553 Bug 651192 - Part 6: Implement the AsyncBitmapSurface drawing model support. r=roc 2012-02-16 04:30:22 +01:00
Bas Schouten
a001434e6c Bug 651192 - Part 2: Update interface and stub implementors which don't have support. r=roc 2012-02-16 04:08:41 +01:00
Bobby Holley
664a6c0d5e Bug 691178 - Refuse to wrap windows that are on the way out. r=jst 2012-02-29 18:09:16 -08:00
Igor Bukanov
3732e3e290 bug 730281 - remove cx argument from GC and compartment related functions. r=:billm 2012-02-29 13:18:16 +01:00
David Mandelin
0be0db4666 Bug 730511: remove obsolete typedefs intN, uintN, r=luke 2012-02-28 15:11:11 -08:00
Ryan VanderMeulen
127daf870d Merge m-c to inbound. 2012-05-09 18:42:00 -04:00
Brian Hackett
bf76d70428 Don't throw away JIT code for compartments in web pages displaying animations, bug 750834. r=billm 2012-05-09 14:14:10 -07:00
Ed Morley
1367c1684d Merge mozilla-central to mozilla-inbound 2012-05-09 18:09:29 +01:00
Dale Harvey
013a7434e0 Bug 719461: Added iconchange event to mozbrowser contained frames. r=jlebar 2012-05-09 09:34:16 -07:00
Peter Van der Beken
b3213dcf89 Fix for bug 637099 (Remove JS_ClearScope calls on windows). r=mrbkap.
--HG--
extra : rebase_source : 8bdadc72a0b28c78e21758fab8f1035ee1dd9f3d
2011-03-15 12:06:39 +01:00
Peter Van der Beken
28f90dc67b Fix for bug 731227 (Fix script object ownership in IDBWrapperCache/IDBCursor). r=bent.
--HG--
extra : rebase_source : 86074980306682ebe1c4df8e09c4c2f3c51c4bf2
2012-02-27 17:52:19 +01:00
Ed Morley
bbbd8658b5 Merge mozilla-central to mozilla-inbound 2012-02-28 02:55:32 +00:00
Olli Pettay
ae2af798ac Bug 730753, call CC after full GC, r=mccr8 2012-02-27 16:49:59 +02:00
Wes Johnston
f236dbc153 Bug 725458 - Dispatch touch events notification, even if window isn't focused. r=felipe,smaug 2012-02-27 13:23:06 -08:00
David Mandelin
59dcf8cdf7 Bug 725550: remove obsolete typedef jsdouble, r=jwalden 2012-02-24 14:19:52 -08:00
Marco Bonardo
74afb56c79 Backout 4fc2f49371a8 (bug 725550) for build failures 2012-02-25 00:16:47 +01:00
David Mandelin
ad7cda83f5 Bug 725550: remove obsolete typedef jsdouble, r=jwalden
--HG--
extra : rebase_source : 772c2982184d7b3d1680737323395365e6b218da
2012-02-24 14:19:52 -08:00