Commit Graph

158 Commits

Author SHA1 Message Date
Andrea Marchesini
004b2f741b Bug 965860 - patch 2 - ConsoleAPI written in C++, r=bz 2014-02-27 23:39:00 +00:00
Boris Zbarsky
2abdc23dbc Bug 973849. Allow clearInterval/clearTimeout calls with no arguments; just treat them as no-ops. r=smaug 2014-02-23 00:01:26 -05:00
Phil Ringnalda
b88368dbb8 Back out ab395abf96b9:837481767455 (bug 972312) for Windows build bustage
CLOSED TREE
2014-02-22 21:39:13 -08:00
Boris Zbarsky
9343a3872e Bug 973849. Allow clearInterval/clearTimeout calls with no arguments; just treat them as no-ops. r=smaug 2014-02-23 00:01:26 -05:00
Ryan VanderMeulen
f1a55855c0 Backed out changeset 2d021370c57f (bug 965990) for causing bug 973307. 2014-02-21 16:54:42 -05:00
Boris Zbarsky
9b012272ba Bug 973905. setTimeout/setInterval with a string first arg but more than two arguments should still work (and ignore the extra arguments). r=smaug 2014-02-19 10:13:38 -05:00
Ms2ger
877ac82b87 Backout changeset c8cd1f6b6d2d because it's not web-compatible. 2014-02-13 10:31:09 +01:00
Ms2ger
06001a7b57 Bug 969030 - Remove support for calling document.all; r=bz 2014-02-09 09:04:40 +01:00
Andrea Marchesini
c2511cfdb1 Bug 965990 - Allow URLSearchParams objects to be associated with multiple URLs, r=ehsan 2014-02-03 16:48:38 +00:00
Ryan VanderMeulen
b6f0a2657c Merge inbound to m-c. 2014-01-15 14:34:05 -05:00
Andrea Marchesini
8b56a324e8 Bug 959988 - Remove URLSearchParams.prototype.size, r=ehsan 2014-01-15 17:30:07 +01:00
Alexandre Poirot
27e89befdc Bug 891882 - DOMWindowUtils.sendMouseEvent dispatch events with isSynthesized chrome attribute set to true. r=smaug 2014-01-15 09:28:04 -05:00
Andrea Marchesini
9c4733f2d8 Bug 959190 - [URL API] stringify href attribute, r=bz 2014-01-13 23:46:04 +01:00
Andrea Marchesini
6774ee1be8 Bug 959684 - Implement URLSearchParams stringifier. r=ehsan 2014-01-15 09:50:18 -05:00
Andrea Marchesini
a78e19a577 Bug 949488 - postMessage's targetOrigin argument should accept /, r=bholley 2014-01-07 19:53:31 +01:00
Wes Kocher
1789589121 Backed out changeset e451b39305f6 (bug 949488) for breaking mochitest-8 on at least b2g 2014-01-06 18:10:34 -08:00
Andrea Marchesini
80df46356b Bug 949488 - postMessage's targetOrigin argument should accept /, r=bholley 2014-01-07 00:05:01 +01:00
Andrea Marchesini
baa0ead999 Bug 930450 - Setting port to the empty string should set URL's port to the default value. Setting it to "0" should set URL's port to 0., r=bz, r=honzab 2014-01-04 20:42:42 +00:00
Boris Zbarsky
3b392e4a53 Bug 949471. history.state should be null, not undefined, when there is no state. r=smaug 2013-12-12 16:11:56 -05:00
Andrea Marchesini
cd35fe13b6 Bug 887836 - URLSearchParams and URL, r=ehsan, r=bz, r=smaug
--HG--
rename : dom/workers/test/urlSearchparams_worker.js => dom/workers/test/urlSearchParams_worker.js
2013-12-12 19:30:27 +00:00
Andrea Marchesini
f3f5a6c47c Bug 887836 - URLQuery object, r=khuey 2013-12-12 19:30:10 +00:00
Boris Zbarsky
bb9192847a Bug 946067 part 3. Adjust codegen to allow cross-origin this values based on WebIDL annotations. r=peterv 2013-12-09 10:34:04 -05:00
Peter Van der Beken
ce61bc6fe4 Bug 936129 - nsGlobalWindow::InnerForSetTimeoutOrInterval is a no-op for bareword setTimeout. r=bz.
--HG--
extra : rebase_source : 3a7875435f6443c67af9030fa4e39cac6aac8a49
2013-11-26 16:28:34 +01:00
Andrea Marchesini
f5abcb4feb Bug 930450 - Setting port to the empty string should set URL's port to "0", r=ehsan 2013-12-05 21:05:51 +00:00
Fernando Jiménez
771a2c4184 Bug 928389 - Default to strong listeners added via DOMRequestHelper. r=fabrice, genelian, bkelly 2013-12-02 21:39:04 +01:00
Boris Zbarsky
cf06e27fb2 Bug 943418. Check for active documents, not current inners, in History APIs. r=bholley 2013-11-27 11:16:07 -05:00
Ben Kelly
79fa181ef6 Bug 924565: Part 3: Add tests verifying DOMRequestHelper cleanup and weak ref behavior. r=fabrice 2013-11-20 13:33:24 +08:00
Ed Morley
5e628fad90 Merge latest green b2g-inbound changeset and mozilla-central 2013-11-18 10:54:01 +00:00
"Kan-Ru Chen (陳侃如)"
bb2c790047 Bug 931746 - Make sure all mozbrowser mm are in the target chain. r=smaug
---
 dom/base/nsGlobalWindow.cpp                        |    8 ++
 dom/base/test/file_empty.html                      |    1 +
 dom/base/test/mochitest.ini                        |    2 +
 dom/base/test/test_messagemanager_targetchain.html |  129 ++++++++++++++++++++
 4 files changed, 140 insertions(+)
 create mode 100644 dom/base/test/file_empty.html
 create mode 100644 dom/base/test/test_messagemanager_targetchain.html
2013-11-17 01:07:24 +08:00
Robert Longson
8a131918fa Bug 939445 - general.appname.override has stopped working. r=smaug 2013-11-17 23:10:15 +00:00
Kyle Huey
a754cd2b5a Bug 928312: Convert the worker global object and all remaining EventTargets to new DOM bindings. r=bent,peterv,smaug 2013-11-05 22:16:26 +08:00
Peter Van der Beken
6d05d1ef9e Bug 931768 - Mark openDialog ChromeOnly. r=bz.
--HG--
extra : rebase_source : ac7f71f50428e9a3f0a2c76f394ef1065bd7dc99
2013-10-28 22:03:15 +01:00
Andrea Marchesini
f703a01ee7 Bug 927735 - TypeError check for URL API. r=ehsan 2013-10-18 10:17:03 -04:00
Andrea Marchesini
3ceab08516 Bug 926890 - Throw JavaScript exceptions for URL, r=ehsan 2013-10-16 16:04:26 +02:00
Andrea Marchesini
d24dfb225f Bug 920015 - Expose DOM URL to js modules, r=ehsan, f=emk, r=bz, r=bholley, r=smaug
--HG--
rename : js/xpconnect/tests/unit/test_textDecoder.js => js/xpconnect/tests/unit/test_url.js
2013-10-10 08:56:01 +02:00
Fernando Jiménez
b204e4a0fa Bug 915598 - Allow strong references to DOMRequestIPCHelper message listeners. Part 4: Tests. r=fabrice 2013-10-04 23:59:48 +02:00
Ms2ger
9d5ce8dfb7 Bug 922268 - Remove empty makefiles; r=gps 2013-10-03 09:10:00 +02:00
Kartikaya Gupta
15c833eefc Bug 919437 - Add a test to ensure setting the scrollport size overrides the inner size. r=roc 2013-10-01 21:21:53 -04:00
Gregory Szorc
89c902c7b2 Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:01 +02:00
Gregory Szorc
c44d9c8614 Bug 920223 - Part 1: Mass convert MOCHITEST_FILES to manifests; rs=Ms2ger 2013-09-30 09:51:57 +02:00
Ed Morley
eae8f15a4a Backed out changeset 77bff106b704 (bug 920223) 2013-09-30 12:50:12 +01:00
Ed Morley
74e3d6ce30 Backed out changeset 68b6b152f51a (bug 920223) 2013-09-30 12:50:09 +01:00
Gregory Szorc
47e946bebe Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:01 +02:00
Gregory Szorc
3d0a157ac2 Bug 920223 - Part 1: Mass convert MOCHITEST_FILES to manifests; rs=Ms2ger 2013-09-30 09:51:57 +02:00
Andrea Marchesini
618a45f717 Bug 911213 - Implement new promise constructor, r=bz 2013-09-11 18:03:04 +02:00
Andrea Marchesini
5430f66dc0 Bug 913761 - Something is wrong when transferring MessagePort object via MessageChannel. r=smaug
CLOSED TREE
2013-09-10 13:42:22 -04:00
Mike Hommey
05b3f24e0e Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Andrea Marchesini
d80e13725f Bug 887364 - URL API for main thread. r=ehsan 2013-09-04 13:07:21 -04:00
Andrea Marchesini
a3647d28f2 Bug 677638 - MessageChannel and MessagePort disabled by pref, r=smaug 2013-09-03 14:39:03 +02:00
Andrea Marchesini
3c7355153b Bug 677638 - unshipped message port queue, r=smaug 2013-09-03 14:39:01 +02:00
Andrea Marchesini
6caa11f505 Bug 677638 - cycle collection and timeout, r=smaug 2013-09-03 14:38:58 +02:00
Andrea Marchesini
486c51bb1c Bug 677638 - Start() method 2013-09-03 14:38:56 +02:00
Andrea Marchesini
d6d8b274d7 Bug 677638 - MessagePort.PostMessage 2013-09-03 14:38:54 +02:00
Andrea Marchesini
ab6d563731 Bug 677638 - MessagePorts in Structured Clone Algorithm, r=smaug 2013-09-03 14:38:51 +02:00
Andrea Marchesini
4956384f89 Bug 677638 - Patch 1 - MessageChannel and MessagePort interfaces, r=smaug 2013-09-03 14:38:49 +02:00
Nikhil Marathe
e59ae01137 Bug 902030 - DOMRequestIpcHelper stores/retrieves Promises too. r=fabrice
--HG--
extra : rebase_source : 4610af506cc1e15f8f2efdc682e3d7989626cebf
2013-08-09 18:11:11 -07:00
Masatoshi Kimura
bf30ca0532 Bug 898817 - Stop exposing nsIDOM* interfaces on the global automatically. r=bz 2013-07-30 22:26:27 +09:00
Fernando Jiménez
998c3ee2e7 Bug 885701 - [DOMRequest] Implement DOMRequestService.fireDetailedError. r,sr=sicking 2013-06-28 10:53:44 +08:00
Andrea Marchesini
0e20d68ea0 Bug 870856 - Convert DOMError to WebIDL. r=Ms2ger, r=bz 2013-05-18 13:52:06 -04:00
Boris Zbarsky
88960e26d8 Bug 868996. Allow setting opener on the window to non-null, for just the lifetime of the page. r=bholley 2013-05-09 13:07:39 -04:00
Ryan VanderMeulen
882e4068d0 Backed out 6 changesets (bug 868996, bug 867903, bug 869014, bug 870219, bug 861587) for PGO bustage.
CLOSED TREE
2013-05-09 17:11:59 -04:00
Boris Zbarsky
2ca58dfdf6 Bug 868996. Allow setting opener on the window to non-null, for just the lifetime of the page. r=bholley 2013-05-09 13:07:39 -04:00
Boris Zbarsky
ab783c1e1a Test for bug 862702. r=peterv 2013-04-19 23:04:23 -04:00
Jeff Walden
3b503a25ed Bug 856384 - Make outer windows always be [[Extensible]]. r=bholley, r=till 2013-04-09 09:07:05 -04:00
Kyle Machulis
f5e3aadf0b Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
d2b6e6e01a Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
5663b98bc5 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Boris Zbarsky
88b13d1027 Bug 823227 - Tests. r=bholley 2013-03-18 23:06:48 -07:00
Gregory Szorc
3fd0b2c59d Bug 784841 - Part 18k: Convert /dom; f=Ms2ger rs=khuey 2013-02-25 12:47:20 -08:00
Reuben Morais
d11b773ac5 Bug 837917 - Implement DOMCursor and DOMRequestService::fireDone(). r=sicking 2013-02-08 12:25:37 -08:00
Phil Ringnalda
e7260ac845 Back out 8db40a38aeb1 (bug 837917) for test_interfaces.html failures
CLOSED TREE
2013-02-14 21:37:37 -08:00
Reuben Morais
30cfb2906d Bug 837917 - Implement DOMCursor and DOMRequestService::fireDone(). r=sicking
--HG--
extra : rebase_source : 8ccb520402c53950d1c0149a0f5a3188fe838667
2013-02-08 12:25:37 -08:00
Boris Zbarsky
8681fe6286 Bug 828787. Stop allowing indexed expandos on windows. r=peterv 2013-01-22 15:29:53 -05:00
Boris Zbarsky
2837c731e6 Bug 823228 part 2. Move indexed property access on windows from nsWindowSH::GetProperty to the outer window proxy. r=bholley 2013-01-17 12:30:37 -05:00
Jeff Walden
7d300c86eb Bug 824217 - Remove the JSRESOLVE_ASSIGNING test that guards definition of DOM Worker constructors and Gecko-specific script namespace manager constructors. r=bz 2013-01-03 12:29:16 -06:00
Jeff Walden
cec653ab7c Bug 824217 - Remove some easy-to-remove tests of JSRESOLVE_ASSIGNING. r=bz
--HG--
extra : rebase_source : 2605d559d48b9ccd985bd860f13ab7b1b53ab048
2012-12-19 19:32:34 -05:00
Josh Matthews
e73f0795ee Backed out changeset 40c1df07b407 (bug 824217) 2012-12-28 19:13:36 -05:00
Jeff Walden
ce89319fe6 Bug 824217 - Remove some easy-to-remove tests of JSRESOLVE_ASSIGNING. r=bz 2012-12-19 19:32:34 -05:00
Masatoshi Kimura
594db43516 Bug 804834 - Part 3: Add a regression test. r=waldo 2012-12-23 05:13:02 +09:00
Jeff Walden
397e3c3c2f Bug 823283 - Don't do anything special for writable [Replaceable] properties, a Gecko-specific abomination. r=bz 2012-12-19 15:57:18 -05:00
Jeff Walden
2ce9f05d49 Bug 823283 - Don't query for JSRESOLVE_QUALIFIED when resolving document.all. r=bz
--HG--
extra : rebase_source : 3e3661f1fc6539ed885c91eed12bc9636d266f28
2012-09-15 11:19:55 -07:00
Boris Zbarsky
a514b9c6e4 Bug 807222 part 6. Fix getOwnPropertyNames to work correctly on Window. r=jst
One note: it might be better to change the signature of Enumerate() to
indicate whether we're enumerating just the enumerable properties or
all of them, so we can skip doing this when someone does for...in on
the window.
2012-11-01 13:51:57 -04:00
Boris Zbarsky
18bf7e289d Back out rev 6d36471ab3ca (part 5 of bug 807222) because now Android is shipping busted stuff on the global. 2012-11-05 11:54:37 -05:00
Boris Zbarsky
84874beea9 Bug 807222 part 5. Fix getOwnPropertyNames to work correctly on Window. r=jst
One note: it might be better to change the signature of Enumerate() to
indicate whether we're enumerating just the enumerable properties or
all of them, so we can skip doing this when someone does for...in on
the window.
2012-11-01 13:51:57 -04:00
Boris Zbarsky
68e4e059ec Back out rev 2682f9a1fc58, bug 807222, because it assumes that people aren't putting completely broken stuff on Window, which b2g does. CLOSED TREE 2012-11-01 15:19:08 -04:00
Boris Zbarsky
a8a7014ce9 Bug 807222. Fix getOwnPropertyNames to work correctly on Window. r=jst
One note: it might be better to change the signature of Enumerate() to
indicate whether we're enumerating just the enumerable properties or
all of them, so we can skip doing this when someone does for...in on
the window.
2012-11-01 13:51:57 -04:00
Boris Zbarsky
a143a11529 Bug 799875. Make the global scope polluter work even for qualified lookups. r=jst
--HG--
rename : dom/base/test/test_gsp-standards.html => dom/base/test/test_gsp-qualified.html
2012-10-15 14:00:09 -04:00
Ms2ger
770a639202 Bug 793244 - Part a: Rewrite mozLockOrientation to match WebIDL requirements; f=mounir r=bz 2012-10-14 09:39:34 +02:00
Mounir Lamouri
e77bfd51e0 Bug 784549 - lockOrientation() should accept an Array of DOMString's in addition of a DOMString. r=jlebar,khuey 2012-09-11 11:55:08 +01:00
Kyle Machulis
255406cbe7 Backout of c129811b87ef due to mochi bustage 2012-08-23 12:00:51 -07:00
Kyle Machulis
1485cd59c9 Bug 783426: Patch 2 - Async DOMRequest Firing Tests; r=sicking 2012-08-23 09:52:54 -07:00
Kyle Machulis
7eb2fcd355 Backout be6da7f8989c due to bustage 2012-08-22 18:11:52 -07:00
Kyle Machulis
b836bcf93f Bug 783426: Patch 2 - Tests for Async DOMRequest Firing; r=sicking 2012-08-22 18:04:01 -07:00
Kyle Machulis
b29f5f6001 Backing out 542abbd15139 due to incorrect commit messages 2012-08-22 18:00:57 -07:00
Kyle Machulis
428ec0171b Bug 783426: Patch 2 - Tests for Async DOMRequest Firing 2012-08-22 17:58:05 -07:00
Wes Johnston
7d6f48a80c backout c030a8af8abd and dd0c287660e9 CLOSED TREE 2012-08-08 14:07:39 -07:00
Wes Johnston
77f0fb11d6 Bug 780718 - Return false from DOMRequestService is preventDefault was called on events. r=sicking 2012-08-08 12:35:15 -07:00
Wes Johnston
154f83ab5b Backout 81a090e983d2, 8236b3579bf3, 2012-08-07 10:08:41 -07:00
Wes Johnston
65f5d9906e Bug 780718 - Return false from DOMRequestService is preventDefault was called on events. r=sicking 2012-08-06 15:26:02 -07:00
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00