Commit Graph

141 Commits

Author SHA1 Message Date
Mounir Lamouri
6c638adde5 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
Boris Zbarsky
095402dd70 Bug 689564. Only forward event attributes on body/frameset to the window if we also forward the corresponding on* property. r=smaug 2011-09-28 11:54:50 -04:00
Ehsan Akhgari
35bc55c17b Bug 685788 - Test for bug 593174 conceals its location after it's done; r=ted,jlebar 2011-09-23 15:59:22 -04:00
Boris Zbarsky
788803a0af Bug 660233 part 1. Fix tests that assume UniversalXPConnect in otherwise-untrusted pages will get one nodePrincipal, documentURIObject, baseURIObject properties. r=mrbkap
--HG--
rename : dom/tests/mochitest/bugs/test_bug396843.html => dom/tests/browser/browser_bug396843.js
2011-09-23 01:03:50 -04:00
Ehsan Akhgari
7531e87587 Merge mozilla-central and mozilla-inbound 2011-09-07 10:53:26 -04:00
Johnny Stenback
4c29f85d38 Fixing bug 641552. Add mechanism for dynamically registering properties on the navigator object in all pages. r=peterv 2011-09-06 15:01:01 -04:00
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
Boris Zbarsky
75baef868d Bug 684544. Restore missing null-check for location setter. r=mrbkap 2011-09-06 22:57:46 -04:00
Phil Ringnalda
74787fa14f Back out fc945dec50bb and de06684dabc4 (bug 642551), 64c328251a24 (bug 683952) and 9d0d13998ebb (bug 684544) for orange on a CLOSED TREE 2011-09-06 21:42:54 -07:00
Boris Zbarsky
664f361262 Bug 684544. Restore missing null-check for location setter. r=mrbkap 2011-09-06 22:57:46 -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