Commit Graph

1591 Commits

Author SHA1 Message Date
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
Ms2ger
7059c325ab Bug 694763 - Remove nsIScriptContext::DidSetDocument; r=jst 2011-10-29 22:06:42 +02:00
Ms2ger
9ce40d6af3 Bug 694759 - Make nsIScriptContext::GetNativeGlobal return JSObject; r=jst 2011-10-29 22:06:17 +02:00
Ms2ger
567f4260b6 Bug 684821 - Remove nsIDOMNSHTMLElement; r=peterv 2011-10-29 22:03:55 +02:00
Tim Taubert
5d75128ffc merge the last green changeset on m-c to fx-team 2011-10-27 15:48:08 +02:00
Marco Bonardo
441c0b85a3 Merge mozilla-central and mozilla-inbound 2011-10-27 10:36:13 +02:00
Timothy Nikkel
09778341dc 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
fae84546d8 Merge last green changeset of mozilla-inbound to mozilla-central 2011-10-27 00:30:46 +01:00
Doug Sherk
1c15893d0b 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
36bfe69f46 Bug 291653, make window level listeners work consistently with other listeners, r=jst 2011-10-26 14:49:37 +03:00
Matt Woodrow
b18a7f9176 Bug 695275 - Add CheckAndClearPaintedState to test painting. r=roc 2011-10-26 16:23:26 +13:00
Panos Astithas
1fdcab2ed9 Bug 696288 - Regression: Processing.js Performance Tests don't work; r=ddahl,smaug 2011-10-24 11:12:24 +03:00
Igor Bukanov
73466befa4 bug 684529 - remove script object. r=jorendorff 2011-09-22 12:08:55 +02:00
Marco Bonardo
167dce1ac7 Backout 564144b09c4b, 049ba0a8823f, 608feeb4539c, d2e6a61338cc (Bug 695275) to investigate Android Crashtests permaorange. 2011-10-21 14:19:22 +02:00
Marco Bonardo
824c514d6a Merge last green changeset from mozilla-inbound to mozilla-central 2011-10-21 10:00:11 +02:00
Matt Woodrow
93fde9b68e Bug 695275 - Follow-up to fix review comments that I missed. 2011-10-21 14:33:00 +13:00
Matt Woodrow
4a97eecc77 Bug 695275 - Add nsIDOMWindowUtils::CheckAndClearPaintedState to test painting. r=roc 2011-10-21 14:21:40 +13:00
Kyle Huey
0d874b65fa Bug 687361: Implement the new IndexedDB setVersion API. r=bent
--HG--
rename : dom/indexedDB/nsIIDBVersionChangeRequest.idl => dom/indexedDB/nsIIDBOpenDBRequest.idl
2011-10-20 12:10:56 -04:00
Olli Pettay
c0def581fb Bug 695758 - Don't limit E10s event/focus handling to xul:browser, but allow also xul:iframe, r=felipe 2011-10-20 15:11:31 +03:00
Marco Bonardo
96f6fdb983 Merge last green changeset from mozilla-inbound to mozilla-central 2011-10-19 11:47:57 +02:00
Olli Pettay
e5b7e8ee46 Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 2, r=jst
--HG--
extra : rebase_source : 53dc2ec386f6e4147587e6be3c53d297ad71d57a
2011-10-18 14:19:44 +03:00
Olli Pettay
a86b1a4d43 Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 1, r=jst
--HG--
extra : rebase_source : baf1a25cdea68d499a7673fdf96e27b5a12dc83c
2011-10-18 13:53:36 +03:00
Oleg Romashin
e8900854ba Bug 693930 - Release layer tree for inactive tabs. r=roc 2011-10-18 15:28:39 -04:00
Blake Kaplan
fcc6580746 Bug 665279 - Resolve interface constants properly through Xray wrappers. r=peterv 2011-09-21 19:16:50 -07:00
Peter Van der Beken
34fc1ec4a5 Fix for bug 693258 (Fixes for test failures when turning off new list DOM bindings). r=bz/Waldo.
--HG--
extra : rebase_source : f0b6f8443cc29098ce75c114ff5a343597d9f38c
2011-10-13 15:36:09 +02:00
Peter Van der Beken
944164c153 Fix for bug 669096 (Injecting function from chrome extends the lifetime of navigated-away inner window). r=mrbkap.
--HG--
extra : rebase_source : 3375132c3e507e09dd79e63d277769090040f6bf
2011-08-30 16:22:01 +02:00
Ehsan Akhgari
2a602a5685 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden
b7753477cf Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Ed Morley
091dcad0ea Merge last green changeset of mozilla-inbound to mozilla-central 2011-10-15 12:19:29 +01:00
Yazen Ghannam
03ce28c74a Bug 677085 - Merge "nsIDOMNSHTMLFrameElement" into "nsIDOMHTMLFrameElement"; r=bz 2011-10-15 09:34:31 +02:00
Ms2ger
5de9963a6e Bug 693160 - Cleanup nsWindowRoot::GetControllerForCommand a bit; r=bz 2011-10-15 09:27:57 +02:00
Bobby Holley
32e79ed0fa Merge mozilla-central to mozilla-inbound 2011-10-14 12:12:53 -07:00
Olli Pettay
ef738c920a Bug 694033 - Add Telemetry probes for windows which have had mutation event listeners, r=taras
--HG--
extra : rebase_source : 418c83dd2aad924a3e718f2b084f211e2bd3f31e
2011-10-14 20:40:12 +03:00