Граф коммитов

253 Коммитов

Автор SHA1 Сообщение Дата
Boris Zbarsky 022c86a654 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 1375c609c7 Backout changeset c8cd1f6b6d2d because it's not web-compatible. 2014-02-13 10:31:09 +01:00
Ms2ger 2e8d149147 Bug 969030 - Remove support for calling document.all; r=bz 2014-02-09 09:04:40 +01:00
Andrea Marchesini d1131a8cd6 Bug 965990 - Allow URLSearchParams objects to be associated with multiple URLs, r=ehsan 2014-02-03 16:48:38 +00:00
Ryan VanderMeulen 3f5d1cb811 Merge inbound to m-c. 2014-01-15 14:34:05 -05:00
Andrea Marchesini d78d696355 Bug 959988 - Remove URLSearchParams.prototype.size, r=ehsan 2014-01-15 17:30:07 +01:00
Alexandre Poirot e1bfc229ce 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 84d939ac0b Bug 959190 - [URL API] stringify href attribute, r=bz 2014-01-13 23:46:04 +01:00
Andrea Marchesini 79ba26d29f Bug 959684 - Implement URLSearchParams stringifier. r=ehsan 2014-01-15 09:50:18 -05:00
Andrea Marchesini 202e31a90e Bug 949488 - postMessage's targetOrigin argument should accept /, r=bholley 2014-01-07 19:53:31 +01:00
Wes Kocher 3689d3ffb3 Backed out changeset e451b39305f6 (bug 949488) for breaking mochitest-8 on at least b2g 2014-01-06 18:10:34 -08:00
Andrea Marchesini c02db1b031 Bug 949488 - postMessage's targetOrigin argument should accept /, r=bholley 2014-01-07 00:05:01 +01:00
Andrea Marchesini f98a8d58d2 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 3676b948cf 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 aeb5063aca 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 919668270c Bug 887836 - URLQuery object, r=khuey 2013-12-12 19:30:10 +00:00
Boris Zbarsky f9ef5c917a 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 e6c01857c9 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 9c751db030 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 259e59d6fb Bug 928389 - Default to strong listeners added via DOMRequestHelper. r=fabrice, genelian, bkelly 2013-12-02 21:39:04 +01:00
Boris Zbarsky 10d5e6c2be Bug 943418. Check for active documents, not current inners, in History APIs. r=bholley 2013-11-27 11:16:07 -05:00
Ben Kelly 6c4f8424a1 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 9a0878501e Merge latest green b2g-inbound changeset and mozilla-central 2013-11-18 10:54:01 +00:00
"Kan-Ru Chen (陳侃如)" c84cf40ea7 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 32976af6f8 Bug 939445 - general.appname.override has stopped working. r=smaug 2013-11-17 23:10:15 +00:00
Kyle Huey 020d8b6c36 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 2dbc6aed39 Bug 931768 - Mark openDialog ChromeOnly. r=bz.
--HG--
extra : rebase_source : ac7f71f50428e9a3f0a2c76f394ef1065bd7dc99
2013-10-28 22:03:15 +01:00
Andrea Marchesini 7fae1b5078 Bug 927735 - TypeError check for URL API. r=ehsan 2013-10-18 10:17:03 -04:00
Andrea Marchesini 307f27a3f1 Bug 926890 - Throw JavaScript exceptions for URL, r=ehsan 2013-10-16 16:04:26 +02:00
Andrea Marchesini dab932f0bd 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 eb608955b0 Bug 915598 - Allow strong references to DOMRequestIPCHelper message listeners. Part 4: Tests. r=fabrice 2013-10-04 23:59:48 +02:00
Ms2ger 1ee1f27aa3 Bug 922268 - Remove empty makefiles; r=gps 2013-10-03 09:10:00 +02:00
Kartikaya Gupta c2252bd6b3 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 e6acf6270f Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:01 +02:00
Gregory Szorc 1cff342d15 Bug 920223 - Part 1: Mass convert MOCHITEST_FILES to manifests; rs=Ms2ger 2013-09-30 09:51:57 +02:00
Ed Morley 18a411a55c Backed out changeset 77bff106b704 (bug 920223) 2013-09-30 12:50:12 +01:00
Ed Morley 53a451894a Backed out changeset 68b6b152f51a (bug 920223) 2013-09-30 12:50:09 +01:00
Gregory Szorc 0b4364c6f3 Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:01 +02:00
Gregory Szorc 6ed63cb064 Bug 920223 - Part 1: Mass convert MOCHITEST_FILES to manifests; rs=Ms2ger 2013-09-30 09:51:57 +02:00
Andrea Marchesini fcc425445c Bug 911213 - Implement new promise constructor, r=bz 2013-09-11 18:03:04 +02:00
Andrea Marchesini 99caa39879 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 f8bc7fa754 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Andrea Marchesini 4c65dc3395 Bug 887364 - URL API for main thread. r=ehsan 2013-09-04 13:07:21 -04:00
Andrea Marchesini 177b65d83a Bug 677638 - MessageChannel and MessagePort disabled by pref, r=smaug 2013-09-03 14:39:03 +02:00
Andrea Marchesini 99339eb328 Bug 677638 - unshipped message port queue, r=smaug 2013-09-03 14:39:01 +02:00
Andrea Marchesini 7fb712e638 Bug 677638 - cycle collection and timeout, r=smaug 2013-09-03 14:38:58 +02:00
Andrea Marchesini 66418bbbe5 Bug 677638 - Start() method 2013-09-03 14:38:56 +02:00
Andrea Marchesini 1b6e3e25d2 Bug 677638 - MessagePort.PostMessage 2013-09-03 14:38:54 +02:00
Andrea Marchesini b1842412ca Bug 677638 - MessagePorts in Structured Clone Algorithm, r=smaug 2013-09-03 14:38:51 +02:00
Andrea Marchesini 56512865a8 Bug 677638 - Patch 1 - MessageChannel and MessagePort interfaces, r=smaug 2013-09-03 14:38:49 +02:00
Nikhil Marathe 9e3af62753 Bug 902030 - DOMRequestIpcHelper stores/retrieves Promises too. r=fabrice
--HG--
extra : rebase_source : 4610af506cc1e15f8f2efdc682e3d7989626cebf
2013-08-09 18:11:11 -07:00
Masatoshi Kimura b508c3d4a1 Bug 898817 - Stop exposing nsIDOM* interfaces on the global automatically. r=bz 2013-07-30 22:26:27 +09:00
Fernando Jiménez 2001687ad7 Bug 885701 - [DOMRequest] Implement DOMRequestService.fireDetailedError. r,sr=sicking 2013-06-28 10:53:44 +08:00
Andrea Marchesini 0bb228f8cc Bug 870856 - Convert DOMError to WebIDL. r=Ms2ger, r=bz 2013-05-18 13:52:06 -04:00
Boris Zbarsky 546d9f565d 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 9edc2f4aa0 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 96deb0ebb0 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 27081a0b7d Test for bug 862702. r=peterv 2013-04-19 23:04:23 -04:00
Jeff Walden ac06912fc3 Bug 856384 - Make outer windows always be [[Extensible]]. r=bholley, r=till 2013-04-09 09:07:05 -04:00
Kyle Machulis 72a717a860 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis 43628a7867 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 334c0800cf 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 b622cc0ee5 Bug 823227 - Tests. r=bholley 2013-03-18 23:06:48 -07:00
Gregory Szorc a0e24e2250 Bug 784841 - Part 18k: Convert /dom; f=Ms2ger rs=khuey 2013-02-25 12:47:20 -08:00
Reuben Morais e1c1f6ec07 Bug 837917 - Implement DOMCursor and DOMRequestService::fireDone(). r=sicking 2013-02-08 12:25:37 -08:00
Phil Ringnalda bd5839db74 Back out 8db40a38aeb1 (bug 837917) for test_interfaces.html failures
CLOSED TREE
2013-02-14 21:37:37 -08:00
Reuben Morais e5e32cdece Bug 837917 - Implement DOMCursor and DOMRequestService::fireDone(). r=sicking
--HG--
extra : rebase_source : 8ccb520402c53950d1c0149a0f5a3188fe838667
2013-02-08 12:25:37 -08:00
Boris Zbarsky cc38c59fa3 Bug 828787. Stop allowing indexed expandos on windows. r=peterv 2013-01-22 15:29:53 -05:00
Boris Zbarsky 06072bf404 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 e9191e095f 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 998e1a3d66 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 4d6b6b5de0 Backed out changeset 40c1df07b407 (bug 824217) 2012-12-28 19:13:36 -05:00
Jeff Walden fd937151e0 Bug 824217 - Remove some easy-to-remove tests of JSRESOLVE_ASSIGNING. r=bz 2012-12-19 19:32:34 -05:00
Masatoshi Kimura 3fc031f3f1 Bug 804834 - Part 3: Add a regression test. r=waldo 2012-12-23 05:13:02 +09:00
Jeff Walden 136d40a160 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 54d1925f8b 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 ba9815c96a 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 17e8e17ce0 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 8fc14742bc 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 51460ee660 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 ab8ad9588a 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 91b717e786 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 dcd05691e8 Bug 793244 - Part a: Rewrite mozLockOrientation to match WebIDL requirements; f=mounir r=bz 2012-10-14 09:39:34 +02:00
Mounir Lamouri 37e88bfeb1 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 76c7b95997 Backout of c129811b87ef due to mochi bustage 2012-08-23 12:00:51 -07:00
Kyle Machulis a33056cfaf Bug 783426: Patch 2 - Async DOMRequest Firing Tests; r=sicking 2012-08-23 09:52:54 -07:00
Kyle Machulis 37e2b5f29a Backout be6da7f8989c due to bustage 2012-08-22 18:11:52 -07:00
Kyle Machulis 6402f59383 Bug 783426: Patch 2 - Tests for Async DOMRequest Firing; r=sicking 2012-08-22 18:04:01 -07:00
Kyle Machulis 56b6897dc3 Backing out 542abbd15139 due to incorrect commit messages 2012-08-22 18:00:57 -07:00
Kyle Machulis 8298af775b Bug 783426: Patch 2 - Tests for Async DOMRequest Firing 2012-08-22 17:58:05 -07:00
Wes Johnston e6e173db29 backout c030a8af8abd and dd0c287660e9 CLOSED TREE 2012-08-08 14:07:39 -07:00
Wes Johnston 2ca14e2ea1 Bug 780718 - Return false from DOMRequestService is preventDefault was called on events. r=sicking 2012-08-08 12:35:15 -07:00
Wes Johnston f73e753770 Backout 81a090e983d2, 8236b3579bf3, 2012-08-07 10:08:41 -07:00
Wes Johnston c702f4b45a Bug 780718 - Return false from DOMRequestService is preventDefault was called on events. r=sicking 2012-08-06 15:26:02 -07:00
Mike Hommey 70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Bonnie Surender b70b75ec44 Fix for bug 771967. OS idle api active to briefly idle to active notification fix. r=jst 2012-07-13 15:39:46 -07:00
Nathan Froyd bfff055672 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Bonnie Surender 2b42bacc22 Fixing bug 715041. Add support for Idle API. r=bent, jst 2012-06-29 01:32:21 -07:00
Geo Mealer 0cac5c86e4 Bug 760735 - Write mochitests for Screen Orientation API. r=mounir 2012-06-21 14:59:40 -07:00
Masatoshi Kimura 5664ae8e7a Bug 764916 - Replace nsDOMClassInfo::ThrowJSException with xpc::Throw. r=mrbkap 2012-06-19 19:01:10 -04:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Boris Zbarsky 85ec231192 Bug 622491. Make the global scope polluter work in standards mode too. r=jst 2012-03-22 00:10:50 -04:00
Jonas Sicking 79eaf25209 Bug 722626: Implement DOMRequest object. r=mrbkap 2012-02-24 14:19:49 +01:00