Gavin Sharp
36bf95eee6
Bug 700080: don't show prompts for tabs that are closing, r=jst
2011-11-30 13:17:21 -08:00
Justin Lebar
5905e88333
Back out revs d445f83ecfb1:dc9cc326cad0, because they did not back out what was intended.
2011-12-01 16:35:42 -05:00
Justin Lebar
47b2651e38
Backed out changeset 5d920a44a901 (bug 698002)
2011-12-01 15:43:07 -05:00
Timothy Nikkel
1db9b6328a
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
8167fe7623
Bug 668437. Part 1. DeCOMtaminate nsMenuPopupFrame::GetWidget. r=enndeakin
2011-12-01 13:56:41 -06:00
Boris Zbarsky
3a2128825b
Bug 589640 followup to fix breakage.
2011-12-08 02:37:55 -05:00
Brian O'Keefe
c1feaca018
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é
4388307305
Bug 707507 - Zombie compartment at AMO in Nightly
2011-12-07 18:15:42 -08:00
Boris Zbarsky
c84a7a7b33
Bug 706283. Handle null passed to requestAnimationFrame gracefully. r=roc
2011-12-01 14:24:00 -05:00
Johnny Stenback
62a29bb3e4
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é
7ec249e79d
Bug 709875 - add enumerateAll to navigator.mozApps API [r=gal]
2011-12-15 09:20:57 -08:00
Justin Lebar
84241e428f
Bug 679966, part 2: Add mozVibrator() for "playing" a vibration pattern. r=bz
2011-11-10 16:26:36 -05:00
Masatoshi Kimura
26a3901298
Bug 704820 - Simplify nsContentUtils::ReportToConsole. r=smaug
2011-12-15 14:47:03 +00:00
Ed Morley
8e0d79be44
Backout 80831e4a10de (bug 706672) for build failures on a CLOSED TREE
2011-12-15 22:09:55 +00:00
Chris Pearce
17d1a329d9
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
c9889b4f09
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é
0643904ad9
Bug 697383 - implement navigator.mozApps - Part 1 : mozApps DOM API [r=mfinkle]
2011-11-28 12:13:26 -08:00
Marco Bonardo
dd6bdf768a
Merge mozilla-central and mozilla-inbound
2011-11-29 13:03:03 +01:00
Olli Pettay
29ea5932ff
Bug 702036 - JSEventListener could have weak mTarget to reduce CC overhead, r=bz
2011-11-29 11:44:06 +02:00
Masayuki Nakano
8d53240d2b
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
56793bf089
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
bc964af0e3
Bug 685395 part.2 Move IMEContext to mozilla::widget::InputContext r=roc
2011-11-27 20:51:52 +09:00
Ryan VanderMeulen
62a927d2f5
Bug 705401 - Remove the rest of TraceVis. r=dvander
2011-11-28 16:08:25 -08:00
Ryan VanderMeulen
c99172b952
Bug 705356 - Remove JSOPTION_JIT and JSOPTION_PROFILING. r=dvander
2011-11-28 14:57:31 -08:00
Marco Bonardo
c86ca0cbd3
Backout af0a7f54f483 (bug 704691), 17b4093b5ec5, 23f26ba05f1a (bug 697383) for various failures
2011-11-28 23:53:22 +01:00
Terrence Cole
fb465cb23d
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é
95f8c3872a
Bug 697383 - implement navigator.mozApps - Part 1 : mozApps DOM API [r=mfinkle]
2011-11-28 12:13:26 -08:00
Boris Zbarsky
6c0d48e059
Bug 704171 part 2. Remove the no-argument form of mozRequestAnimationFrame. r=roc
2011-11-28 07:49:53 -05:00
Boris Zbarsky
736d324733
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
8aec725418
Bug 704593 - Remove JS-specific nsGlobalWindow::ClearTimeoutOrInterval(); r=jst
2011-11-26 11:23:25 +01:00
Ms2ger
74b4dc066b
Bug 698410 - Pass JSObject to nsIScriptContext::InitClasses; r=jmaher
2011-11-26 11:19:45 +01:00
Ms2ger
95876b8ee6
Bug 698408 - Pass JSObject to nsIScriptContext::SetOuterObject; r=jst
2011-11-26 11:19:15 +01:00
Ms2ger
b718e6bd76
Bug 698404 - Pass JSObject to nsIScriptContext::ConnectToInner; r=khuey
2011-11-26 11:18:28 +01:00
Ms2ger
5243eb3628
Bug 698402 - Store JSObjects in nsGlobalWindow::mCachedXBLPrototypeHandlers; r=peterv
2011-11-26 11:14:47 +01:00
Ms2ger
d75f195dee
Bug 698400 - Use setObject in nsXBLPrototypeHandler::EnsureEventHandler; r=jst
2011-11-26 11:14:29 +01:00
Ms2ger
8f6cf2757c
Bug 698397 - Introduce nsScriptObjectHolder::setScript; r=bz
2011-11-26 11:12:18 +01:00
Ms2ger
d7ea3f6644
Bug 698395 - Give nsIScriptContext::CreateNativeGlobalForInner a JSObject outparam; r=peterv
2011-11-26 11:12:16 +01:00
Ms2ger
b744235be1
Bug 698394 - Pass JSObject handler to nsIScriptContext::BindCompiledEventHandler; r=sicking
2011-11-26 11:11:35 +01:00
Ms2ger
1404baaf43
Bug 698390 - Make nsIScriptContext::CallEventHandler take a JSObject handler parameter; r=sicking
2011-11-26 11:09:20 +01:00
Ms2ger
b6ae58dbc7
Bug 698389 - Give nsIScriptContext::CompileFunction a JSObject outparam; r=peterv
2011-11-26 11:08:42 +01:00
Ms2ger
b5a37a8757
Bug 698388 - Pass JSObject to nsIScriptContext::CompileFunction; r=sicking
2011-11-26 11:07:55 +01:00
Mounir Lamouri
834321f16e
Bug 674725 - Part M - Receiving SMS: DOM part. r=smaug
2011-11-25 01:48:57 +01:00
Mounir Lamouri
aedbfbe488
Bug 674725 - Part L - Implement SmsEvent. r=smaug
2011-11-21 17:57:26 +01:00
Mounir Lamouri
43762eef8c
Bug 674725 - Part K - Implement SmsMessage. r=smaug
2011-11-22 10:34:21 +01:00
Mounir Lamouri
5360a9e5d5
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
4a804cf8cd
Bug 674725 - Part D - Temporary security model for WebSms. r=smaug
2011-11-25 01:37:40 +01:00
Mounir Lamouri
6a963e0313
Bug 674725 - Part C - SmsManager stub. r=smaug
2011-11-20 23:23:20 +01:00
Mounir Lamouri
c8306e0b8b
Bug 674725 - Part B - Add .mozSms to navigator. r=smaug
2011-11-20 22:08:33 +01:00
Masayuki Nakano
435f4bcaac
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
950276a2ca
Remove browser prefs for the tracer (bug 698201 part 7, r+sr=gal).
2011-11-22 17:41:43 -05:00
Chris Pearce
011644c901
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
afa7e2eaae
Bug 703260, part 3, remove nsIViewObserver, r=mats
2011-11-21 12:53:20 -05:00
Neil Deakin
9e0f3e82fe
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
0a7685aedb
Bug 701517 - Moz-prefix Battery API interfaces. rs+sr=smaug
2011-11-19 11:43:57 +01:00
Mounir Lamouri
2af07c9f97
Bug 700298 - r=smaug
2011-11-19 11:37:21 +01:00
Ms2ger
5c10d97f4e
Bug 698380 - Give nsIScriptContext::EvaluateStringWithValue a JS::Value retval parameter; r=peterv
2011-11-16 08:50:20 +01:00
Ms2ger
34278535c8
Bug 698378 - Give nsIScriptContext::EvaluateStringWithValue a JSObject* scope parameter; r=peterv
2011-11-16 08:50:19 +01:00
Ms2ger
d58cd62735
Bug 696604 - Remove nsIScriptContext::CompileScript's aScopeObject parameter; r=peterv
2011-11-16 08:50:19 +01:00
Ms2ger
ec1244448e
Bug 702118 - Use IDL for nsIDOMWindowUtils::GetParent; r=bz
2011-11-16 08:50:19 +01:00
Ms2ger
bb1ee74b88
Bug 696660 - Outparamdel nsIScriptRuntime::CreateContext; r=mrbkap
2011-11-16 08:50:19 +01:00
Eitan Isaacson
3815853319
Bug 700741 - Add and implement nsIFocusManager.elementIsFocusable r=Enn
2011-11-10 08:20:47 -08:00
Justin Lebar
3c1ff6be4d
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
e1aa2341e0
Bug 699298 - Overhaul GC statistics gathering (r=gwagner)
2011-11-09 13:32:17 -08:00
Chris Leary
41bc510b10
Bug 700822: Add javascript.options.jit_hardening pref, default enabled. (r=dmandelin)
2011-11-08 13:28:49 -08:00
Randell Jesup
55c8b3ce6a
Bug 693586: Add circular buffer support to jprof r=dbaron
2011-11-08 00:34:40 -05:00
Peter Van der Beken
ed7ffc3fae
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
610dd20bc3
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
0e028bfaf7
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
90134bd7d4
Fix for bug 696817 - Cycle-collect nsDOMWindowUtils. r=jst.
...
--HG--
extra : rebase_source : d85456750c86290cec8debc9b369a8d6136b4356
2010-11-08 15:50:44 +01:00
Ed Morley
efc6f1f14e
Merge mozilla-central and mozilla-inbound
2011-11-05 18:46:28 +00:00
Rob Campbell
92c7bd7f02
merge m-c to fx-team
2011-11-05 10:11:34 -03:00
Matheus Kerschbaum
4813247daf
Bug 698630 - Remove --disable-smil build option; r=dholbert
2011-11-05 10:32:52 +00:00
Andreas Gal
41b82ee5f9
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
2bc70ba365
Bug 699459 - Add a pref to disable Battery API. r=sicking
2011-11-04 00:31:32 +01:00
Mounir Lamouri
1ca50452f4
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
7c8059bdba
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
2c0789a879
Bug 678694 - (3/7) Plug mozBattery into navigator object. r=sicking
2011-11-02 13:04:39 +01:00
Mounir Lamouri
364d1da76e
Bug 698932 - Use rv in Navigator::JavaEnabled. r=Ms2ger
2011-11-02 12:04:28 +01:00
Mounir Lamouri
0974c60065
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
66c2222a67
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
59007b3a67
Bug 696668 - Give nsIScriptContext::CallEventHandler a JSObject scope parameter; r=mrbkap
2011-10-29 22:19:03 +02:00
Ms2ger
94dc2deff1
Bug 696666 - Give nsIScriptContext::BindCompiledEventHandler a JSObject scope parameter; r=jst
2011-10-29 22:18:21 +02:00
Ms2ger
8d02f473c8
Bug 696663 - Make nsIJSEventListener::mScopeObject a JSObject; r=smaug
2011-10-29 22:17:43 +02:00
Ms2ger
272454bc66
Bug 696665 - Give nsJSContext::JSObjectFromInterface a JSObject scope parameter; r=volkmar
2011-10-29 22:17:00 +02:00
Ms2ger
5a5a0be3c3
Bug 696661 - Make nsIJSEventListener::mHandler a JSObject; r=jst
2011-10-29 22:16:43 +02:00
Ms2ger
49f6daff60
Bug 694867 - Part f: Pass a JSScript to nsIScriptContext::ExecuteScript; r=volkmar
2011-10-29 22:15:43 +02:00
Ms2ger
e566d3ad18
Bug 694867 - Part b: Pass a JSScript to nsXULPrototypeScript::Set; r=volkmar
2011-10-29 22:13:31 +02:00
Ms2ger
6bc6ac23b6
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
080153d676
Bug 694838 - Make nsIScriptContext::EvaluateString's second parameter a JSObject; r=volkmar
2011-10-29 22:11:51 +02:00
Ms2ger
44bd9f9103
Bug 694781 - Make nsIScriptContext::ExecuteScript's second parameter a JSObject; r=volkmar
2011-10-29 22:10:49 +02:00
Ms2ger
c4446bc22d
Bug 694769 - Remove nsIScriptContext::GetScriptGlobal in favour of GetGlobalJSObject; r=smaug
2011-10-29 22:09:04 +02:00
Ms2ger
c450947f2e
Bug 694763 - Remove nsIScriptContext::DidSetDocument; r=jst
2011-10-29 22:06:42 +02:00
Ms2ger
2da2151a18
Bug 694759 - Make nsIScriptContext::GetNativeGlobal return JSObject; r=jst
2011-10-29 22:06:17 +02:00
Ms2ger
731edba0b8
Bug 684821 - Remove nsIDOMNSHTMLElement; r=peterv
2011-10-29 22:03:55 +02:00
Tim Taubert
82d54b90d0
merge the last green changeset on m-c to fx-team
2011-10-27 15:48:08 +02:00
Marco Bonardo
6e5f4893fa
Merge mozilla-central and mozilla-inbound
2011-10-27 10:36:13 +02:00
Timothy Nikkel
d78828a5dd
Bug 658005. Part 2. Add a frame visibility API that takes into account everything we need, and use it. r=roc
2011-10-26 18:57:55 -05:00
Ed Morley
b2ce5dad50
Merge last green changeset of mozilla-inbound to mozilla-central
2011-10-27 00:30:46 +01:00
Doug Sherk
63e6006511
Bug 656824: Implemented ARB_robustness to detect driver resets in WebGL, only on GLX for now - r=bjacob
...
This patch implements ARB_robustness on GLX and allows scripts to handle driver resets
through events. The changes in this patch are very sweeping; they hit almost
every NS_IMETHODIMP function within WebGLContextGL.cpp and WebGLContext.cpp.
More work must be done on this to support EGL_CONTEXT_LOST.
2011-10-26 16:00:44 -04:00
Olli Pettay
940611c04c
Bug 291653, make window level listeners work consistently with other listeners, r=jst
2011-10-26 14:49:37 +03:00