Граф коммитов

152 Коммитов

Автор SHA1 Сообщение Дата
Josh Matthews 1587312eda Bug 683945 - Avoid using a deleted hashtable for finding window IDs. r=jst 2011-09-03 19:43:22 -04:00
Blake Kaplan d8de08f4ca Bug 684135 - Protect against calling this function during shutdown. r=bzbarsky 2011-09-02 16:49:08 -07:00
Mounir Lamouri 617706ea28 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 47eca82a8c Bug 670896 - Add inner window ID and timestamp to nsIScriptError2; r=bzbarsky 2011-08-24 23:44:35 +03:00
Boris Zbarsky 1c9abe2f8d 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 65b18775af Bug 659350 part 2. Add nsITouchEventReceiver for windows. r=smaug 2011-08-24 15:49:25 -04:00
Ms2ger fe7e298f75 Bug 675075 - Reinstate nsIDOMWindowInternal; r=smaug
* * *
Bug 675075 - Followup: remove nsIDOMWindowInternal.h includes; r=bustage
2011-08-14 19:22:29 +02:00
Ms2ger 352b5b2d9d Backout bug 675075 for bustage 2011-08-14 20:05:20 +02:00
Ms2ger a74e67b366 Bug 675075 - Reinstate nsIDOMWindowInternal; r=smaug 2011-08-14 19:22:29 +02:00
Mounir Lamouri d6059627f3 Bug 674112 - Make nsNavigator participate to the DOM Memory Reporter. r=jst 2011-08-09 14:58:41 +02:00
Mounir Lamouri 9746f972e4 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 292cb94b42 Bug 670331 - Remove nsIDOMStorageWindow; r=sicking 2011-07-15 12:32:37 +02:00
Ms2ger 8c78d3f478 Bug 670235 - Remove nsIDOMWindowInternal; r=sicking 2011-07-15 12:31:34 +02:00
Boris Zbarsky 5c4d6b1e7b 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 fa3cd9704a Backout changesets 9e4ab3907b29, 3abc0dbbf710 due to m-oth permaorange 2011-07-11 10:27:58 -07:00
Boris Zbarsky 5802023c26 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 2e603a54f6 Bug 669158. Don't try to unclamp the dummy timeout. r=jst 2011-07-08 14:04:25 -04:00
Ms2ger aedd3b75de Bug 664543 - Remove nsIDOMWindow_2_0_BRANCH interface; r=peterv 2011-07-03 11:53:41 +02:00
Emanuele Costa 6ac1f05c3c 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 3467081aae Bug 667485 - Add windows' document size to windows size. r=jst 2011-06-29 13:18:54 +02:00
Mounir Lamouri 3118799f9f 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 9ca46176f4 Bug 667470 - Track all created windows in a global hash table. r=bz 2011-06-29 13:03:54 +02:00
Jonas Sicking a326e5c69f Bug 658714 Part 10: Remove nsIDOM3EventTarget/nsIDOMEventGroup. r=smaug 2011-06-23 19:18:02 -07:00
Jonas Sicking f7e72db3bc Bug 658714 Part 7: DeCOMtaminate nsEventListenerManager. r=smaug 2011-06-23 19:18:01 -07:00
Jonas Sicking cd52437ea7 Bug 658714 Part 6: Fixups after search'n'replace s/nsPIDOMEventTarget/nsIDOMEventTarget/. r=smaug 2011-06-23 19:18:01 -07:00
Jonas Sicking 07c1f0b90f Bug 658714 Part 5: Search'n'replace nsPIDOMEventTarget to nsIDOMEventTarget. r=smaug 2011-06-23 19:18:00 -07:00
Jonas Sicking 815124365b Bug 658714 Part 2: Merge nsIDOMNSEventTarget into nsIDOMEventTarget. r=smaug 2011-06-23 19:17:59 -07:00
Jonas Sicking 50c51df5f9 Bug 658714 Part 1: Merge nsPIDOMEventTarget into nsIDOMEventTarget. r=smaug,bent 2011-06-23 19:17:58 -07:00
Igor Bazarny 3885bce98f bug 570341 Initial implementation of web timing specification
r=smaug sr=biesi
2011-06-23 12:39:48 +02:00
Ms2ger b88c041105 Bug 664543 - Remove nsIDOMWindow2; r=peterv 2011-06-21 17:37:38 +02:00
Olli Pettay 192de0d2cb Bug 664444 - Unlink nsGlobalChromeWindow, r=peterv
--HG--
extra : rebase_source : e31c451c4af6768f8bf1d6b1f053b30d33a7e2b5
2011-06-21 17:51:49 +03:00
Doug Turner 12569c1c97 Bug 615597 - Implement devicemotion and fix up deviceorientation events. r=smaug/azakai
--HG--
rename : content/events/src/nsDOMOrientationEvent.cpp => content/events/src/nsDOMDeviceOrientationEvent.cpp
rename : content/events/src/nsDOMOrientationEvent.h => content/events/src/nsDOMDeviceOrientationEvent.h
rename : dom/system/android/nsAccelerometerSystem.cpp => dom/system/android/nsDeviceMotionSystem.cpp
rename : dom/system/android/nsAccelerometerSystem.h => dom/system/android/nsDeviceMotionSystem.h
rename : dom/system/cocoa/nsAccelerometerSystem.h => dom/system/cocoa/nsDeviceMotionSystem.h
rename : dom/system/cocoa/nsAccelerometerSystem.mm => dom/system/cocoa/nsDeviceMotionSystem.mm
rename : dom/system/nsAccelerometer.cpp => dom/system/nsDeviceMotion.cpp
rename : dom/system/nsAccelerometer.h => dom/system/nsDeviceMotion.h
rename : dom/system/unix/nsAccelerometerSystem.cpp => dom/system/unix/nsDeviceMotionSystem.cpp
rename : dom/system/unix/nsAccelerometerSystem.h => dom/system/unix/nsDeviceMotionSystem.h
rename : dom/system/windows/nsAccelerometerSystem.cpp => dom/system/windows/nsDeviceMotionSystem.cpp
rename : dom/system/windows/nsAccelerometerSystem.h => dom/system/windows/nsDeviceMotionSystem.h
rename : xpcom/system/nsIAccelerometer.idl => xpcom/system/nsIDeviceMotion.idl
2011-06-19 22:36:17 -07:00
Mounir Lamouri 96c5ee86a9 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.

--HG--
extra : rebase_source : 7b1fdfa121a701b47ece46a63e36483ca4d75672
2011-05-31 14:30:20 +02:00
Masayuki Nakano caee4cc73f Bug 659533 Replace nsContentUtils::GetBoolPref() with Preferences::GetBool() r=roc 2011-05-25 15:31:59 +09:00
wfernandom2004@gmail.com f9a7c9e4cf Bug 338583, implement EventSource, r=smaug,Ms2ger
--HG--
extra : rebase_source : 9dd6bbbc0d714fbafb2ed115c40cf7210b663b6a
2011-05-22 22:30:07 +01:00
Boris Zbarsky d0061b973a 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
Ms2ger 31e3e8c5d1 Bug 616684 - Remove support for DOM Views; r=sicking,ehsan 2011-04-24 08:54:25 +02:00
Justin Lebar f3fbe9877d Fix bug 642338. r=smaug
--HG--
extra : rebase_source : c23e4c1c7d9b284d9f32acae93434e79a001df08
2011-04-27 16:54:07 -04:00
Ehsan Akhgari 67e7a42892 Backout changeset 13f6847dd840 (bug 616684) because it changes code semantics in a bad way, which results in problems like the crash in bug 652580, possibly among others 2011-04-25 17:05:17 -04:00
Ms2ger 540ca93080 Bug 616684 - Remove support for DOM Views; r=sicking 2011-04-24 08:54:25 +02:00
Justin Lebar 932b228cd4 Bug 628069 - Add newURL, oldURL properties to hashchange event. r=smaug
--HG--
extra : rebase_source : 865194e9c50612599ad029815314c0819de60124
2011-03-31 16:30:32 -04:00
Ms2ger e3b8a5d6d0 Bug 620000 - Remove nsXULPDGlobalObject::OnFinalize's language id parameter; r=jst 2011-04-14 14:04:08 +02:00
Boris Zbarsky 449c3d5047 Bug 633421. Throttle timeouts in background tabs to 500ms, noot 10ms. r=jst 2011-03-25 21:05:55 -04:00
Jonas Sicking 187d172f47 Bug 635844 part 1: Back out bug 615501 since we'll no longer fire the "initial popstate" event, and thus don't need a way to differentiate it. r=jlebar a=beltzner 2011-02-28 23:08:56 -08:00
Justin Lebar ext:(%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E) 94f6d9d6bd Bug 615501 - Make push/replaceState suppress the popstate-after-load event; r=sicking a=jst 2011-02-14 13:15:29 -08:00
Dave Townsend f15a95b0ae Followup for bug 613800, address review comments. r=jst, a=blocks-final 2011-02-16 10:27:25 -08:00
Honza Bambas c583e36b08 Bug 630193: Stop observing various notifications when the nsGlobalWindow is CleanUp()ed rather than destroyed. r=jst a=b
--HG--
extra : rebase_source : 18eca13552214ce00eb26805d9096d70b5fed212
2011-02-06 07:56:52 -05:00
Justin Dolske a146f46046 Bug 621764 - tab-modal prompt in Gmail eventually triggers slow-script dialog for nsPrompter.js. r=mrbkap, sr=jst, a=blocker 2011-02-01 19:23:00 -08:00
Blake Kaplan a5ed4e4114 Fix bug 691359. r=jst@mozilla.com, a=blocker 2011-02-01 09:19:35 -08:00
Paolo Amadini 0f634b2f2b Bug 622326. If we still have script running when we want to clear our window scope, use a termination function, not a runnable, to wait for it to finish. r=bzbarsky,jst a=blocker 2011-01-27 14:42:19 -08:00