Commit Graph

96 Commits

Author SHA1 Message Date
Ed Morley
7ea8e12caa Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Rail Aliiev
ac65d0d88e Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Boris Zbarsky
2c572e2413 Bug 698551. When forwarding gets to the prototype in nodelists, make sure to use the right |this|. r=waldo,peterv 2011-11-04 12:18:38 -04:00
Olli Pettay
2ba8604d78 Bug 698061 - document.importNode's deep attribute should be optional, r=sicking 2011-10-30 23:17:53 +02:00
Olli Pettay
122b6baf78 Bug 291653, make window level listeners work consistently with other listeners, r=jst 2011-10-26 14:49:37 +03:00
Ehsan Akhgari
37c6776163 Merge mozilla-central and mozilla-inbound 2011-09-07 10:53:26 -04:00
Johnny Stenback
b7a702a9e4 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
7036d41859 Bug 684544. Restore missing null-check for location setter. r=mrbkap 2011-09-06 22:57:46 -04:00
Phil Ringnalda
8c67e09e0b 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
4ba46f2e78 Bug 684544. Restore missing null-check for location setter. r=mrbkap 2011-09-06 22:57:46 -04:00
Josh Matthews
7a234fdee5 Bug 673472 - Avoid adding multiple copies of device motion listeners. r=dougt 2011-07-26 12:27:11 -04: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
Ms2ger
9a171610f7 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
65b08d69be Bug 654137 - Make window.top not replacable; r=bz 2011-05-10 20:24:44 +02:00
Justin Lebar
f3fbe9877d Fix bug 642338. r=smaug
--HG--
extra : rebase_source : c23e4c1c7d9b284d9f32acae93434e79a001df08
2011-04-27 16:54:07 -04:00
Blake Kaplan
c0345fe392 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
626b51b07f Bug 642026 - Enumerate standard classes. r=jst
--HG--
extra : rebase_source : a4a9630f54d398337a22ba5f75cee466ef4854db
2011-04-08 13:28:05 -07:00
Mounir Lamouri
cacaebbb27 Bug 633133 - Resolve ids and names in HTMLCollections. r=jst, a=blocker 2011-02-24 19:27:26 +01:00
Kyle Huey
1c1ae76d72 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
571ccbe530 Bug 620947. Be a little more careful getting properties from document.all. r=jst 2010-12-27 14:41:31 -06:00
Boris Zbarsky
16b5499a94 Adding test for bug 617296. a=test-only 2010-12-22 22:40:23 -05:00
Blake Kaplan
ca4915cd7d 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
bbaf060276 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
ad5aee4081 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
Mounir Lamouri
06fe6d5e4e 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
Blake Kaplan
fcfb35eb67 Add a test for bug 541530. a=tests 2010-11-09 12:29:41 -08:00
Johnny Stenback
16a2846c1a 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
c1f7e70908 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
fa76ba6178 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
487c2220d2 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
fceb4d6323 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
6efff48ea1 Fix for bug 583225 (Use the right DOMCI for DocumentFragment). r=jst. 2010-07-30 15:04:30 +02:00
Boris Zbarsky
4bd66cc35a 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
68cbcbc8d1 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
d43a577737 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
Mayank Gupta
416d9d2f3d Bug 548828. Implement HTMLDocument.head. Mochitest-testcase r=bzbarsky 2010-05-11 00:14:20 +05:30
Boris Zbarsky
69e0aca09c 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
e9bd55387a 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
Peter Van der Beken
66819e5352 Fix for bug 558973 ("ASSERTION: Nodes that are not documents, document fragments or elements can't be parents!"). r=jst.
--HG--
extra : rebase_source : 6d9f76e94457823bb425f546053f4d24e80aec5c
2010-04-15 10:28:57 +02:00
Boris Zbarsky
6cc1ff2e53 Bug 492925. Make array access on medialists actually work. r=jst 2010-04-23 13:37:02 -04:00
Mats Palmgren
524f6b5d6e Remove the inner declaration of startOffset, it shadows the outer one we use. b=549909 r=enndeakin 2010-03-14 14:46:11 +01:00
Blake Kaplan
0b0c073a41 Fix bug 541530. r=jst sr=brendan 2010-03-04 13:44:42 -08:00
Peter Van der Beken
a5b6707a12 Fix for bug 428229 (Unable to override addEventListener), remove custom addEventListener code. r=bz.
--HG--
extra : rebase_source : 4e679da2100075a1e3c4ad557b92a3c86a5cf7be
2010-01-13 14:50:01 +01:00
Olli Pettay
f5357928ad bug 531176, r=sicking, sr=jst 2009-12-18 21:27:57 +02:00
Peter Van der Beken
a2a9c0be64 Fix for bug 531542 ("ASSERTION: DOM_MIN_TIMEOUT_VALUE lies" with negative setTimeout). r=jst. 2009-11-30 10:58:32 +01:00
Peter Van der Beken
00b87e5ee3 Fix for bug 534362 (Allow modifications to Location.prototype). r=mrbkap.
--HG--
extra : rebase_source : c860de457e25114244c86ff8063ca6c1390e33ae
2009-12-13 16:57:08 -08:00
Peter Van der Beken
a9216f9202 Back out fix for bug 428229 (Unable to override addEventListener). 2009-11-15 17:03:03 +01:00
Peter Van der Beken
be7f33599f Fix for bug 428229 (Unable to override addEventListener). r=bz. 2009-11-09 14:54:18 +01:00
Ben Newman
a13534936f Bug 260264 - Popups from a Site that is in the "Allowed List" (whitelist) are blocked, starting with the n-th popup (dom.popup_maximum). r+sr=jst 2009-09-16 11:46:05 -07:00
Johnny Stenback
ac45fe56aa Part 2 of fix for bug 459452 (Add support for optional arg count for IDL methods): use [optional_argc] for DOM methods. r=peterv.
--HG--
extra : rebase_source : c0bc25842b2645fe9f42c9ed5d57567f8e6b5279
2009-08-10 16:41:12 +02:00