Commit Graph

549 Commits

Author SHA1 Message Date
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
Ms2ger
f8b7a22dfd Bug 616684 - Remove support for DOM Views; r=sicking,ehsan 2011-04-24 08:54:25 +02:00
Justin Lebar
1e1f37a1fa Fix bug 642338. r=smaug 2011-04-27 16:54:07 -04:00
Ehsan Akhgari
80a224a816 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
f6997ec9fe Bug 616684 - Remove support for DOM Views; r=sicking 2011-04-24 08:54:25 +02:00
Justin Lebar
84e4ad5c48 Bug 628069 - Add newURL, oldURL properties to hashchange event. r=smaug 2011-03-31 16:30:32 -04:00
Ms2ger
2185fd79f7 Bug 620000 - Remove nsXULPDGlobalObject::OnFinalize's language id parameter; r=jst 2011-04-14 14:04:08 +02:00
Boris Zbarsky
dd3f1d01ae Bug 633421. Throttle timeouts in background tabs to 500ms, noot 10ms. r=jst 2011-03-25 21:05:55 -04:00
Jonas Sicking
96ca0dec0a 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
1ac9667531 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
639ebef7e6 Followup for bug 613800, address review comments. r=jst, a=blocks-final 2011-02-16 10:27:25 -08:00
Honza Bambas
4134606291 Bug 630193: Stop observing various notifications when the nsGlobalWindow is CleanUp()ed rather than destroyed. r=jst a=b 2011-02-06 07:56:52 -05:00
Justin Dolske
2128a00773 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
1c845f3f61 Fix bug 691359. r=jst@mozilla.com, a=blocker 2011-02-01 09:19:35 -08:00
Paolo Amadini
41df410be3 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
Chris Leary
1e2918dff7 Bug 627938: Fix nsGlobalChromeWindow cleanup. (r=smaug, a=jst) 2011-01-23 11:51:00 -08:00
Kyle Huey
2f0fbb2c98 Bug 622361: Pending storage events need to be cycle collected. r=jst a=b:final 2011-01-14 09:39:21 -05:00
L. David Baron
19c8ce2565 Backout changeset 0f1fd87b570d (bug 622326) on suspicion of causing bug 626100 (leak in a11y mochitests). CLOSED TREE 2011-01-15 12:31:57 -08:00