Boris Zbarsky
8bdd1a64af
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
Malini Das
960a7c7495
Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- new tests. r=jmaher, a=test-only
2011-08-12 12:21:44 -04:00
Malini Das
02665c9658
Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain 1/1. r=jmaher, a=test-only
2011-08-12 12:21:42 -04:00
Malini Das
da32b5cbd3
Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- update tests. r=jmaher, a=test-only
2011-08-12 12:21:37 -04:00
Malini Das
e306b1b5aa
Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- chrome. r=jmaher, a=test-only
2011-08-12 12:21:36 -04:00
Mounir Lamouri
140770d463
Bug 673277 - Speeding up test_resize_move_windows.html. r=ehsan
2011-08-02 12:43:21 -07:00
Josh Matthews
885af129ba
Bug 673472 - Avoid adding multiple copies of device motion listeners. r=dougt
2011-07-26 12:27:11 -04:00
Dão Gottwald
640abb2979
Fix for undefined Cc/Ci/Cr/Cu in test_bug500885.html, test_bug592802.html, test_bug61098.html and test_bug36619.html
2011-07-20 11:51:43 +02:00
Justin Lebar
873375ad39
Bug 661132 - Fix test for bug 642338 so it doesn't rely on firefox.js prefs. r=smaug
2011-06-14 10:53:57 -04:00
Mounir Lamouri
6060bdd44e
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
Ms2ger
999f948236
Bug 529328 - Return undefined for out-of-bounds access through nsStringArraySH; r=smaug
...
This patch has no effect on CSSStyleDeclaration, as that never returns a void DOMString.
2011-05-30 13:35:52 +02:00
Ms2ger
6c02285d88
Bug 654137 - Make window.top not replacable; r=bz
2011-05-10 20:24:44 +02:00
Justin Lebar
f0e9722244
Fix bug 642338. r=smaug
...
--HG--
extra : rebase_source : c23e4c1c7d9b284d9f32acae93434e79a001df08
2011-04-27 16:54:07 -04:00
Blake Kaplan
efe60151e2
Bug 648465 - TabChild::ProvideWindow needs to tell the caller that the window is new; r=smaug
2011-04-14 13:55:42 -04:00
Blake Kaplan
f82a68b669
Bug 642026 - Enumerate standard classes. r=jst
...
--HG--
extra : rebase_source : a4a9630f54d398337a22ba5f75cee466ef4854db
2011-04-08 13:28:05 -07:00
Benjamin Smedberg
d758fb0d7e
Bug 617539 - Fold in nsIDOMWindowUtils_MOZILLA_2_0_BRANCH, r=bz
2011-03-25 11:03:33 -04:00
Mounir Lamouri
5009398c09
Bug 637019 - Select element should fallback to ElementSH resolve hook. r=bzbarsky, a=blocker
2011-02-27 14:37:57 +01:00
Blake Kaplan
bff040d432
Bug 633133 - Resolve ids and names in HTMLSelectElement. part 2/2. r=jst, a=blocker
2011-02-24 19:36:33 +01:00
Mounir Lamouri
61a2c6dde9
Bug 633133 - Resolve ids and names in HTMLCollections. r=jst, a=blocker
2011-02-24 19:27:26 +01:00
Justin Dolske
dcd47ceba9
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
Kyle Huey
c7b864270a
Bug 622361: Pending storage events need to be cycle collected. r=jst a=b:final
2011-01-14 09:39:21 -05:00
Boris Zbarsky
aaf4848aca
Bug 620947. Be a little more careful getting properties from document.all. r=jst
2010-12-27 14:41:31 -06:00
Boris Zbarsky
fea1570ace
Adding test for bug 617296. a=test-only
2010-12-22 22:40:23 -05:00
Blake Kaplan
feb7d2f3f6
Bug 612267 - window.__proto__ doesn't correspond to Window.prototype. r=jst a=blocking-betaN
2010-12-22 19:41:01 -05:00
Justin Lebar
76202e8f38
Bug 593174 - Set the referrer properly. It should be the principal's URI, optionally modified if a pushState or replaceState occurred. r=bz, a=blocking
...
--HG--
extra : rebase_source : 1f5ff1087f4d218bf6e56db7aefda271f8b50f2a
2010-12-15 08:55:13 -08:00
Olli Pettay
d9d083ebf0
bug 406375, In modal dialog (window.open with modal=yes) child windows and dialogs do not populate with expected content, r=jst, a=blocking
...
--HG--
extra : rebase_source : 92e8ebd370e2c7746d3f9401a7b41fc6757ff865
2010-12-09 17:30:12 +02:00
Justin Dolske
6bbb73a39b
Bug 611566 - Remove Enter/LeaveModalState calls from nsGlobalWindow alert/confirm/prompt. r=jst, a=blocking+
2010-11-17 22:44:50 -08:00
Mounir Lamouri
fe18c4a5a8
Bug 597809 - Makes nsScriptNameSpaceManager being aware of new category entries after Init(). r=peterv a=blocking-betaN
2010-11-16 23:09:50 +01:00
Marco Bonardo
3cb8a128ca
Bug 595100 - Intermittent timeout in test_bug369306.html; try using waitForFocus.
...
r=volkmar a=tests-only
2010-11-15 14:40:18 +01:00
Blake Kaplan
3755137195
Add a test for bug 541530. a=tests
2010-11-09 12:29:41 -08:00
Henri Sivonen
62878d9b2f
Bug 591981 - Make script-inserted inline scripts run right away, make script-inserted external scripts behave like async scripts and make document.write writing an inline script return at a predictable time. r=jonas, a=blocking2.0-beta7.
2010-09-01 14:41:12 +03:00
Jonas Sicking
5d3b067a49
Back out bug 591981 since it causes bug 599583. a=backout
2010-09-27 16:23:33 -07:00
Henri Sivonen
27395b2f77
Bug 591981 - Make script-inserted inline scripts run right away, make script-inserted external scripts behave like async scripts and make document.write writing an inline script return at a predictable time. r=sicking a=blocking2.0-beta7
2010-09-21 12:48:40 -07:00
Jonas Sicking
f161eca3e2
Back out bug 591981 to see if it caused a performance regression. a=backout
2010-09-20 15:47:57 -07:00
Henri Sivonen
1e21e4e21a
Bug 591981 - Make script-inserted inline scripts run right away, make script-inserted external scripts behave like async scripts and make document.write writing an inline script return at a predictable time. r=jonas, a=blocking2.0-beta7.
...
--HG--
extra : rebase_source : 3d30baa42025c2d5e63b39586671345ae87bb0b2
2010-09-01 14:41:12 +03:00
Johnny Stenback
80fa2ae7df
Fixing bug 61098. Give users a way out of inifinite modal dialog loops. Original patch by Nochum Sossonko. r=jonas@sicking.cc a=beta7+
2010-09-16 18:24:14 -07:00
Olli Pettay
e4f9614b57
Bug 585240 - Can't add message handlers by setting the onmessage property, r=jwalden, a=jst
2010-09-15 19:41:50 +03:00
Olli Pettay
53f658e81a
Bug 585240 - Can't add message handlers by setting the onmessage property, r=jwalden, a=jst
...
--HG--
extra : rebase_source : 1ad4cb8bbef2151b424402b589c69dd13e0c13f3
2010-09-15 19:08:56 +03:00
Mounir Lamouri
6d4b563809
Bug 369306 - Tests for bug 369306 and fixing broken tests. r=jst a2.0=test-only
2010-09-09 20:20:06 +02:00
Henri Sivonen
24613fa978
Bug 585819 - When the context passed to Range.createContextualFragment is "html" in an HTML document, use "body" as the context instead. r=bzbarsky, a=blocking2.0-betaN.
2010-09-01 14:41:07 +03:00
Saint Wesonga
3f7a3cf2e5
Bug 562433 - Change location.host and location.hostname to return "" for host-less URIs instead of throwing. r=bz
2010-08-07 09:11:43 +02:00
Peter Van der Beken
e0b3b50810
Fix test_bug396843.html since bug 583225 fixed some todos.
2010-08-01 22:27:35 +02:00
Peter Van der Beken
68521e88b9
Fix for bug 583225 (Use the right DOMCI for DocumentFragment). r=jst.
2010-07-30 15:04:30 +02:00
Boris Zbarsky
537c1dce54
Bug 581072. Fix the handling of long timeouts across timeout suspend/resume and add APIs to suspend/resume timeouts from trusted script. r=jst
2010-07-22 17:33:37 -04:00
Benjamin Smedberg
6d1766e8cd
Bug 567357 - Fire a DOMWindowCreated event which matches the observer-service notification in bug 549539 so that extensions/message-manager scripts can add DOM features before any content script runs, r=sicking
...
--HG--
extra : rebase_source : b1eda0b412952587b9ef12908b2c2f818359ce65
2010-06-10 12:23:40 -04:00
Blake Kaplan
54ca1d9bd6
Bug 545314 - Force an inner window here so that we return a working location object. r=peterv
2010-05-28 15:40:29 -07:00
Boris Zbarsky
a491cefc6d
Bug 484710. Add a notification for when a window's scope stops being usable. r=jst
2010-05-14 17:17:52 -04:00
Mayank Gupta
85f4893096
Bug 548828. Implement HTMLDocument.head. Mochitest-testcase r=bzbarsky
2010-05-11 00:14:20 +05:30
Boris Zbarsky
326e6cd9f3
Bug 534149. Give each nsGlobalWindow a unique ID and expose the IDs on nsIDOMWindowUtils. r=jst
2010-05-10 21:12:35 -04:00
Boris Zbarsky
3c3a1ca782
Bug 563487. removeEventListener on a Window shouldn't throw if there's not listener manager yet; just do nothing. r=smaug
2010-05-05 14:18:04 -04:00