Commit Graph

1924 Commits

Author SHA1 Message Date
Mounir Lamouri
bfa4a06ff4 Bug 677166 - Part 7 - Network Information API: DOM implementation. r=sicking 2012-01-16 18:14:56 +01:00
Mounir Lamouri
5889593b3a Bug 677166 - Part 4 - Add a pref to disable Network API. r=sicking 2012-01-16 13:24:08 +01:00
Mounir Lamouri
004241c73c Bug 677166 - Part 3 - Implement mozConnection stub. r=sicking 2012-01-16 13:23:44 +01:00
Mounir Lamouri
3801d055a4 Bug 677166 - Part 2 - Add .mozConnection to Navigator object. r=sicking 2012-01-16 13:23:28 +01:00
Mounir Lamouri
5eef973053 Bug 713377 - Part 1 - Add a --disable-websms-backend build option. r=blassey 2012-01-16 19:53:09 +01:00
Mounir Lamouri
e69da24db7 Bug 674725 - Part AM - Implement SmsCursor. r=smaug 2012-01-10 20:45:03 +01:00
Mounir Lamouri
3dd005ea83 Bug 674725 - Part AI - Implement SmsFilter. r=smaug,mrbkap 2012-01-17 19:48:58 +01:00
Mounir Lamouri
23b313d5ec Bug 674725 - Part V - Implement SmsRequest. r=smaug,mrbkap 2012-01-10 20:37:11 +01:00
Mounir Lamouri
2400c65b0c Bug 674725 - Part Q - Implement SmsDatabaseService. r=smaug sr=cjones
--HG--
rename : dom/sms/src/SmsServiceFactory.cpp => dom/sms/src/SmsServicesFactory.cpp
rename : dom/sms/src/SmsServiceFactory.h => dom/sms/src/SmsServicesFactory.h
2012-01-10 20:19:56 +01:00
Olli Pettay
88794b2443 Bug 718340 - Don't traverse black windows, r=mccr8,jst 2012-01-17 12:20:57 +02:00
Olli Pettay
d24913d5f3 Backout bug 718340 since there was unknown orange 2012-01-16 18:30:06 +02:00
Olli Pettay
369f08480b Bug 718340 - Don't traverse black windows, r=mccr8,jst 2012-01-16 13:08:44 +02:00
Justin Wood
94e66a942e Merge m-c tip to m-i 2012-01-15 05:29:24 -05:00
Ms2ger
073f6de1f2 Bug 677079 - Part m: Expose context's compartment in jsfriendapi.h; r=jorendorff 2012-01-15 09:13:09 +01:00
Ms2ger
b9c45d68a5 Bug 677079 - Part k: Expose outstandingRequests in jsfriendapi.h; r=cdleary 2012-01-15 09:13:09 +01:00
Ms2ger
461985aea6 Bug 677079 - Part h: Expose debuggerHandler in jsfriendapi.h; r=igor 2012-01-15 09:13:09 +01:00
Ms2ger
37abe21b9b Bug 677079 - Part f: Expose structuredCloneCallbacks in jsfriendapi.h; r=jorendorff 2012-01-15 09:13:08 +01:00
Marco Bonardo
3c8ebab509 Merge last PGO-safe green changeset from mozilla-inbound to mozilla-central 2012-01-14 10:01:34 +01:00
Olli Pettay
963ff83d22 Bug 704583 - Add testing mode to FocusManager, p=enn,smaug r=smaug,enn 2012-01-13 14:42:18 +02:00
Tim Taubert
3c3a8573ab merge m-c to fx-team 2012-01-13 11:40:59 +01:00
Tim Taubert
de11006829 merge m-c to fx-team 2012-01-12 21:26:09 +01:00
Masatoshi Kimura
65cb5fcc01 Bug 716570 - Rename blob URI scheme from "moz-filedata" to "blob" per spec. r=sicking
--HG--
rename : content/base/src/nsFileDataProtocolHandler.cpp => content/base/src/nsBlobProtocolHandler.cpp
rename : content/base/src/nsFileDataProtocolHandler.h => content/base/src/nsBlobProtocolHandler.h
2012-01-12 11:36:03 +01:00
Mihai Sucan
f26a3af98a Bug 611032 - Errors from before the Web Console is opened do not show. r=gavin.sharp,rcampbell f=rcampbell
--HG--
rename : browser/devtools/webconsole/test/browser_ConsoleAPICachedMessages.js => browser/devtools/webconsole/test/browser_cached_messages.js
2012-01-11 12:51:49 +02:00
Nathan Froyd
db97962e07 Bug 715947 - add telemetry for timers fired; r=bz 2012-01-10 13:33:31 -05:00
Ms2ger
06db6578d4 Bug 332648 - Part e: Move AutoArrayRooter to jsapi.h; r=evilpie 2012-01-11 09:23:09 +01:00
Ms2ger
25c1f65ab1 Bug 332648 - Part c: Move AutoObjectRooter to jsapi.h; r=evilpie 2012-01-11 09:23:08 +01:00
Ms2ger
b320983b67 Bug 714458 - Part c: Don't include jscntxt.h in xpcprivate.h; r=bholley
This removes the inclusion from xpcprivate.h, and adds the include to XPConnect
files that still need it, along with notes to clarify what these files need
from the include. These notes will be removed while fixing bug 677079.
2012-01-11 09:23:08 +01:00
Ms2ger
74a9e0514a Bug 715206 - Remove XPConnect from IDB's LOCAL_INCLUDES (again); r=bholley 2012-01-11 09:23:07 +01:00
Justin Lebar
e1048acb82 Bug 708176 - Part 2: Add {i,}frame.queryInnerState(), which allows privileged pages to peer into an iframe's state. r=smaug
--HG--
extra : rebase_source : dfd89eb7d451bac9ae4e4eb05d090c767f42ab8e
2012-01-10 12:57:40 -05:00
Fabrice Desré
3f52e1831e Bug 717975 - only expose m-c implementation of mavigator.mozApps on b2g [r=jst] 2012-01-13 21:09:24 -08:00
Ben Turner
c375cc74c4 Bug 674726 - WebTelephony. r=philikon+mounir, sr=sicking. Not part of the default build.
--HG--
extra : transplant_source : %1A%23%10d%88%B3%DA%87%C9%DD0%E6P%1Ct%AD%7D%80%B6%B4
2012-01-09 14:28:47 -08:00
David Zbarsky
27f2baf8e1 Bug 682611 - Part 1: Merge nsIDOMRange and nsIDOMNSRange; r=Ms2ger r=smaug 2012-01-10 15:19:54 +01:00
Markus Stange
d54e64baeb Bug 598482 part 4 - Remove unused nsIDOMWindowUtils::processUpdates. r=roc 2011-12-23 22:52:21 -05:00
Marco Bonardo
803a44e0dd Merge mozilla-central and mozilla-inbound 2012-01-06 13:26:21 +01:00
Neil Rashbrook
4342d87f26 Bustage fix for bug 714164 2012-01-05 22:42:24 +00:00
Neil Rashbrook
b0457d43f9 Mac OS X bustage fix for bug 714164 2012-01-05 22:14:20 +00:00
Neil Rashbrook
b0a7bafbb1 Bug 714164 Restore some global window commands that were removed as part of bug 669026 because they appeared to be unused r=ehsan sr=roc 2012-01-05 21:33:41 +00:00
Bill McCloskey
14477ceb3b Bug 714353 - Remove nsIXPCScriptable::Trace (r=mrbkap) 2012-01-04 14:13:15 -08:00
Jeff Muizelaar
4ac327e933 Bug 696398. Add an api to analyse frame rate. r=ajuma
This adds a startFrameTimeRecording() and stopFrameTimeRecording()
to DOMWindowUtils. stopFrameTimeRecording() returns an array of frame times in milliseconds.
2012-01-05 17:40:35 -05:00
Ed Morley
b25f762865 Merge mozilla-central to mozilla-inbound 2012-01-04 20:43:25 +00:00
Neil Rashbrook
2aaac162f5 Backout changeset d1f777b14d52
DONTBUILD
2012-01-04 20:22:59 +00:00
Neil Rashbrook
82ce766536 Bug 715129 File picker can't pick applications on Vista or later r=jimm 2012-01-04 20:13:35 +00:00
Gabor Krizsanits
de7d7003d2 Bug 587797 - IndexedDB: Make it possible to access IndexedDB APIs from chrome. r=khuey,bent 2012-01-03 10:27:39 -05:00
Landry Breuil
7c17983218 Bug 714332 - Fix uint64 types usage in dom/workers and dom/base; r=bent
Use uint64_t where appropriate for mData, fails to build on OpenBSD
otherwise with wrong casts/no matching template.

dom/base/nsStructuredCloneContainer.cpp:96: error: invalid conversion from 'PRUint64*' to 'uint64_t*'
dom/base/nsStructuredCloneContainer.cpp:131: error: invalid conversion from 'PRUint64*' to 'uint64_t*'
dom/workers/WorkerPrivate.cpp:822: error: no matching function for call to 'JSAutoStructuredCloneBuffer::steal(uint64**, size_t*)'
../../dist/include/jsapi.h:4641: note: candidates are: void
JSAutoStructuredCloneBuffer::steal(uint64_t**, size_t*, uint32_t*) <near
match>
dom/workers/WorkerPrivate.cpp:833: error: no matching function for call to 'JSAutoStructuredCloneBuffer::adopt(uint64*&, size_t&)'
../../dist/include/jsapi.h:4634: note: candidates are: void
JSAutoStructuredCloneBuffer::adopt(uint64_t*, size_t, uint32_t) <near
match>
dom/workers/WorkerPrivate.cpp:853: error: no matching function for call to 'JSAutoStructuredCloneBuffer::steal(uint64**, size_t*)'
../../dist/include/jsapi.h:4641: note: candidates are: void
JSAutoStructuredCloneBuffer::steal(uint64_t**, size_t*, uint32_t*) <near
match>
2012-01-02 19:08:14 +01:00
Robert Longson
d9086c4d00 Bug 607854 - implement SVGTests interface. r=jwatt 2011-12-31 09:44:03 +00:00
Bobby Holley
9fb9ba7af0 Bug 713747 - Remove usage of UniversalFoo in gecko. r=bz 2011-12-30 09:35:39 -08:00
Ms2ger
a9fa22ee9c Merge m-c to m-i. 2011-12-30 12:17:22 +01:00
Olli Pettay
fac187a287 Bug 713462, don't traverse black content lists, r=mccr8 2011-12-29 23:21:33 +02:00
Boris Zbarsky
5ea84e0dfe Backing out bug 707717 because it seems to be a perf hit, not a perf win. 2011-12-28 16:22:05 -05:00
Matt Brubeck
442a1b085f Merge mozilla-central and mozilla-inbound 2011-12-28 11:17:19 -08:00
Ms2ger
08d1075fb2 Bug 713550 - Move Base64 code on nsXPConnect to XPCOM / xpcpublic.h; r=bholley+khuey 2011-12-28 09:13:38 +01:00
Patrick Walton
fa1d56ecd7 Bug 709492 - Part 1: Add a paintingSuppressed getter to nsIDOMWindowUtils. r=bz 2012-01-03 22:52:20 -08:00
Nicholas Nethercote
13e0ce90ef Bug 708159 - Avoid unnecessary work done by multi-reporters in nsMemoryReporterManager::GetExplicit. r=jlebar,bent. 2011-12-12 19:04:12 -08:00
Igor Bukanov
9963fabdd8 bug 713916 - DOMGCFinishedCallback should schedule just GC buffer shrinking, not a full shrinking GC. r=bent 2011-12-27 12:59:29 +01:00
Blake Kaplan
70edc96c3a Bug 707749 - For document.write move the navigator forward to the new inner window. r=jst
--HG--
extra : rebase_source : ab7684c31094af6f11ff4101999f51fca1b35179
2011-12-28 14:39:55 +01:00
Boris Zbarsky
5e4f813534 Bug 707717. Don't dynamically mutate the proto chains of DOM prototypes. r=peterv 2011-12-26 11:31:07 -05:00
Ms2ger
84a7349dff Bug 687134 - Get at the JSContext through IDL for pccount methods; r=bholley 2011-12-24 09:21:26 +01:00
Neil Rashbrook
5d0063889c Bug 669026 Fix caret movement when contenteditable areas are present r=ehsan 2011-12-24 00:11:30 +00:00
Kyle Huey
c56926b771 Back out Bug 587797 due to test failures. 2012-01-03 11:44:34 -05:00
Gabor Krizsanits
a3db431928 Bug 587797 - IndexedDB: Make it possible to access IndexedDB APIs from chrome. r=khuey,bent 2012-01-03 10:27:39 -05:00
aceman
eb3ebc1fc0 Bug 711721 - merge nsIScriptError and nsIScriptError2 interfaces; r=neil, sr=bzbarsky 2011-12-21 16:51:29 -05:00
Boris Zbarsky
e0f16fc0f8 Bug 624621 part 3. Use the pre-redirect filename as the script filename and the channel principal as the origin principal, and base our cross-origin check on the origin principal. r=mrbkap 2011-12-19 12:48:12 -05:00
Boris Zbarsky
72db2a36af Bug 624621 part 2. Add an origin principal argument on nsIScriptContext::EvaluateString and pass that through to the JS engine. r=mrbkap 2011-12-19 12:47:52 -05:00
Jan Varga
3975331303 Bug 711727 - Followup cleanup for files in IndexedDB. r=sicking/bent 2011-12-20 12:23:27 +01:00
Jason Duell
e1e683a5e9 Bug 695635: Unprefix websockets. r=sicking, sr=smaug
--HG--
rename : content/base/public/nsIMozWebSocket.idl => content/base/public/nsIWebSocket.idl
2011-12-20 00:20:12 -08:00
Gregory Szorc
2e6dd31eef merge m-c to s-c 2011-12-19 12:26:39 -08:00
Richard Newman
4bcff60b8f Merge m-c to s-c. 2011-12-16 09:16:17 -08:00
Richard Newman
398f53edc0 Merge m-c to s-c. 2011-12-15 11:55:38 -08:00
Boris Zbarsky
94b37b5e64 Bug 710981. Add the new name for cancelAnimationFrame. r=roc 2011-12-15 08:53:06 -05:00
Boris Zbarsky
3e61b77627 Bug 708169. Warn when null or no argument is passed to mozRequestAnimationFrame. r=roc 2011-12-15 08:53:06 -05:00
Gregory Szorc
924a7c8840 Merge m-c to s-c 2011-12-14 20:49:23 -08:00
Gregory Szorc
59e9109685 Merge m-c to s-c 2011-12-14 17:29:29 -08:00
Olli Pettay
998181bae9 Bug 709127 - Implement MouseEvent and UIEvent ctors, r=jst, a=sheriff 2011-12-14 22:36:46 +02:00
Olli Pettay
b3edc36350 Bug 708701 - Implement HTML event ctors, r=jst
--HG--
extra : rebase_source : 4abb0185ea790c29ff7f2df0f032045777c898e0
2011-12-14 21:55:32 +02:00
Olli Pettay
b67e8975ea Bug 675884 - Implement Event constructors, part1, r=jst
--HG--
extra : rebase_source : 109d9cb22b810fbff71c637b6e15965eafdd61fe
2011-12-14 21:53:48 +02:00
Christian Holler
9ac8158677 Bug 709483. Fix off-by-one error in the call to memmove that could cause us to copy memory we didn't own. r=bzbarsky 2011-12-14 23:42:15 -05:00
Richard Newman
217d992ac2 Merge m-c to s-c. 2011-12-11 21:30:28 -08:00
Chris Pearce
23331bfab8 Bug 706672 - Revoke DOM full-screen when windowed plugin focused on non-MacOSX systems, and deny requests for full-screen from non-focused-tab documents. r=smaug 2011-12-16 10:42:36 +13:00
Ms2ger
0f59ebf4e8 Bug 709524 - Remove nsIScriptContext::SetDefaultLanguageVersion; r=jst 2011-12-18 11:13:39 +01:00
Ms2ger
070299e0ab Bug 707576 - Remove nsIDOMNSElement; r=smaug 2011-12-18 11:06:23 +01:00
Ms2ger
a69df32e9b Bug 698420 - Make nsScriptObjectHolder typesafe; r=bz 2011-12-18 11:05:12 +01:00
Nathan Froyd
40b05d36da Bug 709205 - use GetObserverService in dom,docshell; r=bz 2011-12-09 14:35:37 -05:00
Doug Sherk
f8cc305c99 Bug 708207: implement WebGL's getShaderPrecisionFormat r=bjacob 2011-12-16 13:11:59 -08:00
Brian Hackett
95a554fa85 Add interface for accessing PC counter information from chrome code, bug 687134. r=sfink,waldo 2011-12-16 13:11:08 -08:00
Richard Newman
1bdae035b2 Merge m-c to s-c. 2011-12-09 08:52:38 -08:00
Jeff Walden
87d3f92e61 Bug 708735 - Use <stdint.h> types in JSAPI and throughout SpiderMonkey. Continue to provide the {u,}int{8,16,32,64} and JS{Uint,Int}{8,16,32,64} integer types through a single header, however, for a simpler backout strategy -- and also to ease the transition for embedders. r=timeless on switching the jsd API to use the <stdint.h> types, r=luke, r=dmandelin 2011-12-08 22:54:10 -05:00
Ed Morley
6808200eb2 Merge mozilla-central and mozilla-inbound 2011-12-16 10:19:52 +00:00
Jan Varga
8702627c09 Bug 661877 - Enable storing files in IndexedDB. r=bent 2011-12-16 08:34:24 +01:00
Jignesh Kakadiya
ba75090ec9 Bug 709493 - Return JSObject* from nsIScriptHandler::GetScriptObject() rather than returning void to remove casting. f=Ms2ger r=bz 2011-12-15 21:03:33 +01:00
Boris Zbarsky
b4ae3f538d Bug 708405. Make sure to propagate out failures from JS_HasPropertyById in the old nodelist resolve hook. r=mrbkap 2011-12-15 14:36:46 -05:00
Richard Newman
c7dc46b3b9 Merge m-c to s-c. 2011-12-08 08:37:43 -08:00
Fabrice Desré
d99a225489 Bug 706545 - Implement a sync engine for apps exposed by navigator.mozApps : Part 1: Webapps.jsm support [r=philikon] 2011-12-08 05:32:54 -08:00
Jeff Muizelaar
9c4d4fff06 Bug 707800. Add more sampler labels. r=bgirard 2011-12-02 17:05:33 -05:00
Johnny Stenback
a9ed989ad7 Fixing bug 704621. Report DOM memory usage in about:memory by windows and show whether a window is active, cached, or potentially leaked. Also group windows by the top level window they're contained in. r=njn,mounir 2011-12-08 21:42:20 -08:00
Nicholas Nethercote
688c469bc9 Bug 704400 - Implement --enable-dmd. r=khuey. 2011-12-08 19:09:36 -08:00
Boris Zbarsky
ccbdfa3576 Bug 647518 part 2. Allow canceling requestAnimationFrame requests. r=roc 2011-12-06 23:43:18 -05:00
Boris Zbarsky
f7e02b9898 Bug 647518 part 1. Make requestAnimationFrame return handles for animation frame requests. r=roc 2011-12-06 23:43:18 -05:00
Chris Pearce
c2405549e1 Bug 704039 part 2 - Implement full-screen mode rollback stack. r=bz 2011-12-07 10:59:39 +13:00
Justin Lebar
8f39bf2e51 Bug 702256 - "[Gonk] Add DOM API for turning screen on/off and adjusting the screen's brightness" r=cjones,mounir 2011-12-05 01:07:00 +08:00
Fabrice Desré
c2dbf0e344 Bug 707094 - DOMApplicationRegistry (Webapps.jsm): Use FileUtils.jsm for simpler and more robust nsIFile handling [r=philikon] 2011-12-05 20:22:01 -08:00
Fabrice Desré
2cd2aa1b28 Bug 707090 - DOMApplicationRegistry (Webapps.jsm) must not do any mainthread I/O [r=mfinkle] 2011-12-05 15:26:18 -08:00
Marco Bonardo
d40c12a19c Backout 407fba8cbd5a (bug 702256) for build failure on Windows. 2011-12-05 13:48:59 +01:00
Justin Lebar
6a7d0a009c Bug 702256 - "[Gonk] Add DOM API for turning screen on/off and adjusting the screen's brightness" r=cjones,mounir
--HG--
extra : rebase_source : 6c1f1b49d911e749da524266695e2f05d52900b2
2011-12-05 01:07:00 +08:00
Jonas Sicking
cd4051ca12 Bug 692630: Support multi-entry indexes. r=bent 2011-12-04 09:39:01 -08:00
Ms2ger
666a7ca530 Bug 705443 - Use IDL for nsIDOMWindowUtils::GetClassName; r=khuey 2011-12-03 22:50:16 +01:00
Ms2ger
4879be0711 Bug 704088 - Pass dom::Element to nsLayoutUtils::SurfaceFromElement; r=bz 2011-12-03 22:50:16 +01:00
Phil Ringnalda
31e8371c3f Back out 827420c6b756 (bug 700080) to investigate browser-chrome leaking 2011-12-02 20:59:03 -08:00
Jonas Sicking
8d116d7109 Back out patches due to test failures. rev 1b9ca56d4aab and a few more. 2011-12-02 19:46:25 -08:00
Jonas Sicking
a4afec4d29 Bug 692630: Support multi-entry indexes. r=bent 2011-12-02 18:32:46 -08:00
Gavin Sharp
a24ea30d35 Bug 700080: don't show prompts for tabs that are closing, r=jst 2011-11-30 13:17:21 -08:00
Justin Lebar
02f303732b Back out revs d445f83ecfb1:dc9cc326cad0, because they did not back out what was intended. 2011-12-01 16:35:42 -05:00
Justin Lebar
79b6477d6c Backed out changeset 5d920a44a901 (bug 698002) 2011-12-01 15:43:07 -05:00
Timothy Nikkel
aa08462911 Bug 668437. Part 3. Make the client bounds of a widget be relative to its parent in all cases. r=jimm 2011-12-01 13:56:42 -06:00
Timothy Nikkel
7b02d27fdb Bug 668437. Part 1. DeCOMtaminate nsMenuPopupFrame::GetWidget. r=enndeakin 2011-12-01 13:56:41 -06:00
Boris Zbarsky
0071fa9b4b Bug 589640 followup to fix breakage. 2011-12-08 02:37:55 -05:00
Brian O'Keefe
05a8f0100a Bug 589640 part 1. Add an SVGUnknownElement, like HTMLUnknownElement, so random elements in the SVG namespace create SVGElements (instead of XML Elements). r=bzbarsky 2011-12-08 01:32:11 -05:00
Fabrice Desré
900bbc3353 Bug 707507 - Zombie compartment at AMO in Nightly 2011-12-07 18:15:42 -08:00
Boris Zbarsky
9e7395e332 Bug 706283. Handle null passed to requestAnimationFrame gracefully. r=roc 2011-12-01 14:24:00 -05:00
Johnny Stenback
e57eb36355 Fixing bug 690952. Move window.navigator from the outer window to the inner window, and stop persisting it across same origin page navigations. r=mrbkap@gmail.com 2011-12-01 00:28:16 -08:00
Fabrice Desré
4d89e6cd3d Bug 709875 - add enumerateAll to navigator.mozApps API [r=gal] 2011-12-15 09:20:57 -08:00
Justin Lebar
583f77dbbe Bug 679966, part 2: Add mozVibrator() for "playing" a vibration pattern. r=bz 2011-11-10 16:26:36 -05:00
Masatoshi Kimura
ef45bcacdc Bug 704820 - Simplify nsContentUtils::ReportToConsole. r=smaug 2011-12-15 14:47:03 +00:00
Ed Morley
c1da559e35 Backout 80831e4a10de (bug 706672) for build failures on a CLOSED TREE 2011-12-15 22:09:55 +00:00
Chris Pearce
4db0927892 Bug 706672 - Revoke DOM full-screen when windowed plugin focused on non-MacOSX systems, and deny requests for full-screen from non-focused-tab documents. r=smaug 2011-12-16 10:42:36 +13:00
Luke Wagner
a946e99914 Bug 699974 - Plug several holes that prevent stopping slow scripts (r=jst)
--HG--
extra : rebase_source : 220a804295ee3b5fc00c6a23769f05731560c8fe
2011-12-06 13:11:22 -08:00
Fabrice Desré
dd2b02e4ad Bug 697383 - implement navigator.mozApps - Part 1 : mozApps DOM API [r=mfinkle] 2011-11-28 12:13:26 -08:00
Marco Bonardo
c77ee84007 Merge mozilla-central and mozilla-inbound 2011-11-29 13:03:03 +01:00
Olli Pettay
64b1769fd7 Bug 702036 - JSEventListener could have weak mTarget to reduce CC overhead, r=bz 2011-11-29 11:44:06 +02:00
Masayuki Nakano
4fe538ee3b Bug 685395 part.4 IME open state should be able to set/get by InputContext r=roc, sr=matspal 2011-11-27 20:51:53 +09:00
Masayuki Nakano
658860d0f5 Bug 685395 part.3 Rename SetInputMode()/GetInputMode() to SetInputContext()/GetInputContext() and make SetInputContext() take the reason by a separated argument r=roc, sr=matspal 2011-11-27 20:51:52 +09:00
Masayuki Nakano
ba332c4403 Bug 685395 part.2 Move IMEContext to mozilla::widget::InputContext r=roc 2011-11-27 20:51:52 +09:00
Ryan VanderMeulen
be7e576362 Bug 705401 - Remove the rest of TraceVis. r=dvander 2011-11-28 16:08:25 -08:00
Ryan VanderMeulen
1bc3807cee Bug 705356 - Remove JSOPTION_JIT and JSOPTION_PROFILING. r=dvander 2011-11-28 14:57:31 -08:00
Marco Bonardo
0f693478e3 Backout af0a7f54f483 (bug 704691), 17b4093b5ec5, 23f26ba05f1a (bug 697383) for various failures 2011-11-28 23:53:22 +01:00
Terrence Cole
d0ff732f1d Bug 699279 - Run GC_SHRINK collection cycle when under memory pressure; r=mrbkap
GC_SHRINK is a fairly new type of GC that does more aggressive cleanups than a
normal GC.  This patch makes the browser run the GC in this mode when under
memory pressure, or when the user pushes the Minimize Memory Usage button when
on the about:memory page.

--HG--
extra : rebase_source : abdd11ee5fa5eb0e3d58122d3d72e98328d47668
2011-11-09 18:14:11 -08:00
Fabrice Desré
c9540cf42c Bug 697383 - implement navigator.mozApps - Part 1 : mozApps DOM API [r=mfinkle] 2011-11-28 12:13:26 -08:00
Boris Zbarsky
54a511fc76 Bug 704171 part 2. Remove the no-argument form of mozRequestAnimationFrame. r=roc 2011-11-28 07:49:53 -05:00
Boris Zbarsky
d14b17243a Bug 704175 part 2. Rename nsIAnimationFrameListener to nsIFrameRequestCallback. r=roc
--HG--
rename : dom/interfaces/base/nsIAnimationFrameListener.idl => dom/interfaces/base/nsIFrameRequestCallback.idl
2011-11-28 07:48:30 -05:00
Ms2ger
96c111fa09 Bug 704593 - Remove JS-specific nsGlobalWindow::ClearTimeoutOrInterval(); r=jst 2011-11-26 11:23:25 +01:00
Ms2ger
e1104aa74f Bug 698410 - Pass JSObject to nsIScriptContext::InitClasses; r=jmaher 2011-11-26 11:19:45 +01:00
Ms2ger
facfc166f3 Bug 698408 - Pass JSObject to nsIScriptContext::SetOuterObject; r=jst 2011-11-26 11:19:15 +01:00
Ms2ger
26d0ca20e6 Bug 698404 - Pass JSObject to nsIScriptContext::ConnectToInner; r=khuey 2011-11-26 11:18:28 +01:00
Ms2ger
96ab489ca7 Bug 698402 - Store JSObjects in nsGlobalWindow::mCachedXBLPrototypeHandlers; r=peterv 2011-11-26 11:14:47 +01:00
Ms2ger
773133f47e Bug 698400 - Use setObject in nsXBLPrototypeHandler::EnsureEventHandler; r=jst 2011-11-26 11:14:29 +01:00
Ms2ger
5d99363a4c Bug 698397 - Introduce nsScriptObjectHolder::setScript; r=bz 2011-11-26 11:12:18 +01:00
Ms2ger
42eac2ef8e Bug 698395 - Give nsIScriptContext::CreateNativeGlobalForInner a JSObject outparam; r=peterv 2011-11-26 11:12:16 +01:00
Ms2ger
6978939921 Bug 698394 - Pass JSObject handler to nsIScriptContext::BindCompiledEventHandler; r=sicking 2011-11-26 11:11:35 +01:00
Ms2ger
2d2fa7747e Bug 698390 - Make nsIScriptContext::CallEventHandler take a JSObject handler parameter; r=sicking 2011-11-26 11:09:20 +01:00
Ms2ger
13974ab4fc Bug 698389 - Give nsIScriptContext::CompileFunction a JSObject outparam; r=peterv 2011-11-26 11:08:42 +01:00
Ms2ger
a24efdb5cc Bug 698388 - Pass JSObject to nsIScriptContext::CompileFunction; r=sicking 2011-11-26 11:07:55 +01:00
Mounir Lamouri
d2bd8a981e Bug 674725 - Part M - Receiving SMS: DOM part. r=smaug 2011-11-25 01:48:57 +01:00
Mounir Lamouri
c464ab7113 Bug 674725 - Part L - Implement SmsEvent. r=smaug 2011-11-21 17:57:26 +01:00
Mounir Lamouri
691be6cb32 Bug 674725 - Part K - Implement SmsMessage. r=smaug 2011-11-22 10:34:21 +01:00
Mounir Lamouri
a5255c1899 Bug 674725 - Part F - .mozSms returns null if the platform doesn't have SMS supports. r=smaug 2011-11-21 16:16:24 +01:00
Mounir Lamouri
93dc354a70 Bug 674725 - Part D - Temporary security model for WebSms. r=smaug 2011-11-25 01:37:40 +01:00
Mounir Lamouri
75dbd88991 Bug 674725 - Part C - SmsManager stub. r=smaug 2011-11-20 23:23:20 +01:00
Mounir Lamouri
bc905fd780 Bug 674725 - Part B - Add .mozSms to navigator. r=smaug 2011-11-20 22:08:33 +01:00
Masayuki Nakano
87c08c8383 Bug 703150 Cannot drag scrollbar thumb if stopPropagation() of mousedown event is called r+sr=smaug 2011-11-25 10:09:58 +09:00
David Anderson
4a1362a06f Remove browser prefs for the tracer (bug 698201 part 7, r+sr=gal). 2011-11-22 17:41:43 -05:00
Chris Pearce
b01fd7d70f Bug 604682 - Remove unnecessary copy of audio data when there's no MozAudioAvailable event listener. r=smaug,kinetik 2011-11-22 13:34:21 +13:00
Neil Deakin
355968e2b9 Bug 703260, part 3, remove nsIViewObserver, r=mats 2011-11-21 12:53:20 -05:00
Neil Deakin
e40bc148fb Bug 703260, part 1, remove view from eventstatemanager and presshell event handling, r=smaug,sr=roc 2011-11-21 12:53:20 -05:00
Mounir Lamouri
268955b4c5 Bug 701517 - Moz-prefix Battery API interfaces. rs+sr=smaug 2011-11-19 11:43:57 +01:00
Mounir Lamouri
5dc1f60bf2 Bug 700298 - r=smaug 2011-11-19 11:37:21 +01:00
Ms2ger
433468f9b0 Bug 698380 - Give nsIScriptContext::EvaluateStringWithValue a JS::Value retval parameter; r=peterv 2011-11-16 08:50:20 +01:00
Ms2ger
7ddfdfe4bd Bug 698378 - Give nsIScriptContext::EvaluateStringWithValue a JSObject* scope parameter; r=peterv 2011-11-16 08:50:19 +01:00
Ms2ger
4f03fe78ee Bug 696604 - Remove nsIScriptContext::CompileScript's aScopeObject parameter; r=peterv 2011-11-16 08:50:19 +01:00
Ms2ger
191a16bafd Bug 702118 - Use IDL for nsIDOMWindowUtils::GetParent; r=bz 2011-11-16 08:50:19 +01:00
Ms2ger
ceb7aaabe0 Bug 696660 - Outparamdel nsIScriptRuntime::CreateContext; r=mrbkap 2011-11-16 08:50:19 +01:00
Eitan Isaacson
9f4fc12e1a Bug 700741 - Add and implement nsIFocusManager.elementIsFocusable r=Enn 2011-11-10 08:20:47 -08:00
Justin Lebar
a19acfd732 Bug 586010 - Send dump() output to Android device log. r=bz
--HG--
extra : rebase_source : f1712d831aaa6fbd8e1bfd6060fbb4aa951ccb74
2011-11-09 19:27:08 -05:00
Bill McCloskey
70a91c0353 Bug 699298 - Overhaul GC statistics gathering (r=gwagner) 2011-11-09 13:32:17 -08:00
Chris Leary
db2933b49f Bug 700822: Add javascript.options.jit_hardening pref, default enabled. (r=dmandelin) 2011-11-08 13:28:49 -08:00
Randell Jesup
c9cbe6b8cd Bug 693586: Add circular buffer support to jprof r=dbaron 2011-11-08 00:34:40 -05:00
Peter Van der Beken
8d5dca787e Bug 695867 - Crash [@ LookupPropertyById] with getPropertyDescriptor returning a NodeList. r=bz.
--HG--
extra : rebase_source : 7647c232594ab918b9c4488e8cb56d77dfea9b42
2011-10-27 19:31:37 +02:00
Peter Van der Beken
bb6a88ad96 Bug 699810 - nsJSTimeoutHandler DEBUG_CC code should null-check result of calling JS_GetObjectFunction. r=jst.
--HG--
extra : rebase_source : b55f8b50db84abd135d98c881ba9ee7e0b9f73d8
2011-11-07 13:55:59 +01:00
Peter Van der Beken
2c7841a5b9 Bug 697643 - Crash [@ JS_IsExceptionPending] modifying a live NodeList. r=bz.
--HG--
extra : rebase_source : 1d2e5e17c76a04a88468d976e89576d127e4e54f
2011-10-27 19:39:03 +02:00
Peter Van der Beken
cd29bc9d13 Fix for bug 696817 - Cycle-collect nsDOMWindowUtils. r=jst.
--HG--
extra : rebase_source : d85456750c86290cec8debc9b369a8d6136b4356
2010-11-08 15:50:44 +01:00
Ed Morley
345c2b06c0 Merge mozilla-central and mozilla-inbound 2011-11-05 18:46:28 +00:00
Rob Campbell
1fb65676a4 merge m-c to fx-team 2011-11-05 10:11:34 -03:00
Matheus Kerschbaum
fb722a61dd Bug 698630 - Remove --disable-smil build option; r=dholbert 2011-11-05 10:32:52 +00:00
Andreas Gal
4ee02030fb Bug 693212 - Fix "Assertion failure: !cx->isExceptionPending()" by adding a missing ReportPendingException() call. r=bzbarsky 2011-11-04 19:05:35 +01:00
Mounir Lamouri
c82259a3f3 Bug 699459 - Add a pref to disable Battery API. r=sicking 2011-11-04 00:31:32 +01:00
Mounir Lamouri
9041b2ae2a Bug 678694 - (7/7) Interaction between DOM and hal. r=sicking
The battery status is coming from hal and when there is an update, hal informs
the DOM which then dispatch the appropriate event.
2011-11-02 16:27:06 +01:00
Mounir Lamouri
e4a26be94c Bug 678694 - (4/7) Dummy BatteryManager DOM code. r=sicking
Returns default values only and doesn't send events.
2011-11-02 16:01:32 +01:00
Mounir Lamouri
878ed2bcad Bug 678694 - (3/7) Plug mozBattery into navigator object. r=sicking 2011-11-02 13:04:39 +01:00
Mounir Lamouri
3225b6053b Bug 698932 - Use rv in Navigator::JavaEnabled. r=Ms2ger 2011-11-02 12:04:28 +01:00
Mounir Lamouri
3a4cbb8800 Bug 695287 - Move Navigator declaration and definition outside of nsGlobalWindow.{h,cpp}. r=Ms2ger
This patch is creating Navigator.h and Navigator.cpp and makes Navigator part
of the mozilla::dom namespace.
2011-11-02 14:44:16 +01:00
Boris Zbarsky
9a118ec751 Bug 697250. When an interval is very late, just go ahead and schedule it for firing ASAP and update its target time to 'now' (the latter to prevent misbehavior when the interval is very late due to the computer being suspended, say) instead of trying to schedule it for a while from now. r=jst 2011-11-02 23:35:01 -04:00
Ms2ger
e2ad4bec9b Bug 696668 - Give nsIScriptContext::CallEventHandler a JSObject scope parameter; r=mrbkap 2011-10-29 22:19:03 +02:00
Ms2ger
8fa72292d8 Bug 696666 - Give nsIScriptContext::BindCompiledEventHandler a JSObject scope parameter; r=jst 2011-10-29 22:18:21 +02:00
Ms2ger
41e97a1ddf Bug 696663 - Make nsIJSEventListener::mScopeObject a JSObject; r=smaug 2011-10-29 22:17:43 +02:00
Ms2ger
3466301029 Bug 696665 - Give nsJSContext::JSObjectFromInterface a JSObject scope parameter; r=volkmar 2011-10-29 22:17:00 +02:00
Ms2ger
37c0e77016 Bug 696661 - Make nsIJSEventListener::mHandler a JSObject; r=jst 2011-10-29 22:16:43 +02:00
Ms2ger
ae60966dc3 Bug 694867 - Part f: Pass a JSScript to nsIScriptContext::ExecuteScript; r=volkmar 2011-10-29 22:15:43 +02:00
Ms2ger
3a06735007 Bug 694867 - Part b: Pass a JSScript to nsXULPrototypeScript::Set; r=volkmar 2011-10-29 22:13:31 +02:00
Ms2ger
835b0c80ca Bug 694867 - Part a: Pass a JSScript to nsIScriptContext::Serialize and store a JSScript in nsXULPrototypeScript::ScriptObjectHolder::mObject; r=volkmar 2011-10-29 22:12:47 +02:00
Ms2ger
9de0625271 Bug 694838 - Make nsIScriptContext::EvaluateString's second parameter a JSObject; r=volkmar 2011-10-29 22:11:51 +02:00
Ms2ger
389e8bc023 Bug 694781 - Make nsIScriptContext::ExecuteScript's second parameter a JSObject; r=volkmar 2011-10-29 22:10:49 +02:00
Ms2ger
424e3da2cb Bug 694769 - Remove nsIScriptContext::GetScriptGlobal in favour of GetGlobalJSObject; r=smaug 2011-10-29 22:09:04 +02:00