Commit Graph

166 Commits

Author SHA1 Message Date
Ms2ger
4fa43ee908 Bug 704593 - Remove JS-specific nsGlobalWindow::ClearTimeoutOrInterval(); r=jst 2011-11-26 11:23:25 +01:00
Ms2ger
25d12a7e19 Bug 698402 - Store JSObjects in nsGlobalWindow::mCachedXBLPrototypeHandlers; r=peterv 2011-11-26 11:14:47 +01:00
Ms2ger
87ff845c8e Bug 698400 - Use setObject in nsXBLPrototypeHandler::EnsureEventHandler; r=jst 2011-11-26 11:14:29 +01:00
Chris Pearce
1bbc5783b6 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
Mounir Lamouri
aece4e1a7e 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
Ms2ger
c7f3724edd Bug 694769 - Remove nsIScriptContext::GetScriptGlobal in favour of GetGlobalJSObject; r=smaug 2011-10-29 22:09:04 +02:00
Ehsan Akhgari
478ad1a412 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
Peter Van der Beken
6368070124 Fix for bug 694009 (crash mozilla::dom::binding::instanceIsProxy) - clear cache when wrapper is finalized. r=mrbkap. 2011-10-13 15:36:09 +02:00
Peter Van der Beken
3431dfb61d Fix for bug 693301 (Remove ConstructProxyObject) - switch outer window creation to nsWrapperCache::WrapObject. r=mrbkap. 2011-08-20 15:53:34 +02:00
Fabrice Desré
afaf8d9945 Bug 676595 - Android orientation manager is never shut down [r=dougt] 2011-10-06 10:27:41 -07:00
Matt Brubeck
1a56e611f4 Back out 2780356be1a1 (bug 675574) and 9928fb9a32b1 (bug 690220) on suspicion of causing browser-chrome shutdown hangs 2011-09-29 14:44:36 -07:00
Michael Wu
0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Mounir Lamouri
c924ea3022 Bug 675574 - Do not allow more than one call to window.open() when we allow popups. r=jst 2011-09-28 23:23:36 +02:00
Luke Wagner
69034bbbdb Bug 683361, part 1 - Strip JS prefix from proxy names since they are already in namespace js (r=gal) 2011-09-08 20:29:15 -07:00
Josh Matthews
611a04bc6c Bug 683945 - Avoid using a deleted hashtable for finding window IDs. r=jst 2011-09-03 19:43:22 -04:00
Blake Kaplan
806cc0a7ca Bug 684135 - Protect against calling this function during shutdown. r=bzbarsky 2011-09-02 16:49:08 -07:00
Mounir Lamouri
8e9076b7cd Bug 667183 - Create a static nsGlobalWindow::Init method to do one-shot initializations currently in nsGlobalWindow ctor. r=jst 2011-08-31 16:54:39 +02:00
Mihai Sucan
80dd1964e2 Bug 670896 - Add inner window ID and timestamp to nsIScriptError2; r=bzbarsky 2011-08-24 23:44:35 +03:00
Boris Zbarsky
2aba0d8d52 Bug 659350 part 5. The guts of the change to move from storing inline event handlers on the JSObject to storing them in the event listener manager directly, so we can easily set/read them via IDL.
The changes here are as follows:
1) nsIJSEventListener now stores the handler.  This is guaranteed to be already bound properly, if needed, before being set in the nsIJSEventListener.
2) The old classinfo glue to deal with on* properties is gone.
3) IDL-based methods for on* properties have been added.
2011-08-24 15:49:25 -04:00
Boris Zbarsky
3aa85bcf18 Bug 659350 part 2. Add nsITouchEventReceiver for windows. r=smaug 2011-08-24 15:49:25 -04:00
Ms2ger
ee6d9a2b5b Bug 675075 - Reinstate nsIDOMWindowInternal; r=smaug
* * *
Bug 675075 - Followup: remove nsIDOMWindowInternal.h includes; r=bustage
2011-08-14 19:22:29 +02:00
Ms2ger
1cb37d55dd Backout bug 675075 for bustage 2011-08-14 20:05:20 +02:00
Ms2ger
cd35f76d88 Bug 675075 - Reinstate nsIDOMWindowInternal; r=smaug 2011-08-14 19:22:29 +02:00
Mounir Lamouri
f4175847d0 Bug 674112 - Make nsNavigator participate to the DOM Memory Reporter. r=jst 2011-08-09 14:58:41 +02:00
Mounir Lamouri
a260fd9876 Bug 670986 - Create nsLocation.h to declare nsLocation instead of doing that in nsGlobalWindow.h. r=jst 2011-08-02 21:22:40 -07:00
Ms2ger
2a64fe39aa Bug 670331 - Remove nsIDOMStorageWindow; r=sicking 2011-07-15 12:32:37 +02:00
Ms2ger
26b7c93961 Bug 670235 - Remove nsIDOMWindowInternal; r=sicking 2011-07-15 12:31:34 +02:00
Boris Zbarsky
401819c21e Bug 648045. Mark the currently selected tab in a minimized window as inactive. r=gavin,smaug 2011-07-11 09:14:08 -04:00
Marco Bonardo
c1013ee479 Backout changesets 9e4ab3907b29, 3abc0dbbf710 due to m-oth permaorange 2011-07-11 10:27:58 -07:00
Boris Zbarsky
5734792fbf Bug 648045. Mark the currently selected tab in a minimized window as inactive. r=gavin,smaug 2011-07-11 09:14:08 -04:00
Boris Zbarsky
68f56858a1 Bug 669158. Don't try to unclamp the dummy timeout. r=jst 2011-07-08 14:04:25 -04:00
Ms2ger
a132f37658 Bug 664543 - Remove nsIDOMWindow_2_0_BRANCH interface; r=peterv 2011-07-03 11:53:41 +02:00
Emanuele Costa
0bab4c9296 When switching a window from background to foreground, reinitialize the timers that should fire sooner than the background clamp would have allowed. Bug 647001, r=bzbarsky 2011-06-29 15:49:42 -04:00
Mounir Lamouri
550c9ac62b Bug 667485 - Add windows' document size to windows size. r=jst 2011-06-29 13:18:54 +02:00
Mounir Lamouri
2346e4a1bb Bug 667474 - Do a naive computation of windows' size in the DOM Memory Reporter. r=jst 2011-06-29 13:06:43 +02:00
Mounir Lamouri
27e52e58b3 Bug 667470 - Track all created windows in a global hash table. r=bz 2011-06-29 13:03:54 +02:00
Jonas Sicking
ce20c50ff9 Bug 658714 Part 10: Remove nsIDOM3EventTarget/nsIDOMEventGroup. r=smaug 2011-06-23 19:18:02 -07:00
Jonas Sicking
f0870a33e0 Bug 658714 Part 7: DeCOMtaminate nsEventListenerManager. r=smaug 2011-06-23 19:18:01 -07:00
Jonas Sicking
423de3eccb Bug 658714 Part 6: Fixups after search'n'replace s/nsPIDOMEventTarget/nsIDOMEventTarget/. r=smaug 2011-06-23 19:18:01 -07:00
Jonas Sicking
9e55f5c437 Bug 658714 Part 5: Search'n'replace nsPIDOMEventTarget to nsIDOMEventTarget. r=smaug 2011-06-23 19:18:00 -07:00
Jonas Sicking
228a17a5dd Bug 658714 Part 2: Merge nsIDOMNSEventTarget into nsIDOMEventTarget. r=smaug 2011-06-23 19:17:59 -07:00
Jonas Sicking
2273fc266e Bug 658714 Part 1: Merge nsPIDOMEventTarget into nsIDOMEventTarget. r=smaug,bent 2011-06-23 19:17:58 -07:00
Igor Bazarny
c17ceb8b6d bug 570341 Initial implementation of web timing specification
r=smaug sr=biesi
2011-06-23 12:39:48 +02:00
Ms2ger
ca2490e314 Bug 664543 - Remove nsIDOMWindow2; r=peterv 2011-06-21 17:37:38 +02:00
Olli Pettay
f43e5b1b8d Bug 664444 - Unlink nsGlobalChromeWindow, r=peterv 2011-06-21 17:51:49 +03:00
Doug Turner
f8dc57e5ba Bug 615597 - Implement devicemotion and fix up deviceorientation events. r=smaug/azakai 2011-06-19 22:36:17 -07:00
Mounir Lamouri
58759660f0 Bug 565541 (2/2) - Prevent abusing usage of moving and resizing window. r=bz
The rules are simple, callers can move or resize a window if both conditions
apply:
1. the window has been created with window.open;
2. the window only contains one tab.
2011-05-31 14:30:20 +02:00
Masayuki Nakano
ccc2f5b479 Bug 659533 Replace nsContentUtils::GetBoolPref() with Preferences::GetBool() r=roc 2011-05-25 15:31:59 +09:00
d6a6669a9f Bug 338583, implement EventSource, r=smaug,Ms2ger 2011-05-22 22:30:07 +01:00
Boris Zbarsky
f705c5cb2a Bug 654399. Try to make sure we always hand out the same exact string buffer each time location.hash is gotten. r=roc 2011-05-20 16:21:27 -04:00