Commit Graph

1567 Commits

Author SHA1 Message Date
Boris Zbarsky
356992b3e5 Bug 920125. getOwnPropertyDescriptor on Xrays for DOM interface and prototype objects should actually work. r=peterv 2013-09-25 14:38:30 -04:00
Ryan VanderMeulen
b2c316d8b2 Backed out 5 changesets (bug 905493, bug 920125, bug 919603) for mochitest orange on a CLOSED TREE.
Backed out changeset ccef656b2973 (bug 919603)
Backed out changeset 4b29ce0b2fff (bug 919603)
Backed out changeset b0a051ec55b7 (bug 919603)
Backed out changeset baa9a774aad1 (bug 920125)
Backed out changeset e03276bf4eaa (bug 905493)
2013-09-25 18:22:33 -04:00
Ryan VanderMeulen
11cd5e5051 Merge m-c to inbound. 2013-09-25 14:56:00 -04:00
Boris Zbarsky
e451470386 Bug 920125. getOwnPropertyDescriptor on Xrays for DOM interface and prototype objects should actually work. r=peterv 2013-09-25 14:38:30 -04:00
Brian Grinstead
5ce7dfc550 Bug 918884 - Implement a method to get the DOM element that owns a docshell. r=bz 2013-09-24 10:05:00 -05:00
Boris Zbarsky
9c0337475f Bug 919114. ClientRectList should be [ArrayClass]. r=smaug 2013-09-23 23:11:45 -04:00
Phil Ringnalda
650290f6b9 Merge m-c to fx-team 2013-09-22 09:16:05 -07:00
Gabor Krizsanits
bd6dfab501 Bug 892214 - Rename DOMConstructors to GlobalProperties in SandboxOptions. r=bholley, r=mossop 2013-09-21 15:25:46 +02:00
Bobby Holley
63ad77a18f Backed out changeset 86128d3eac88 (bug 916939) for breaking the web. r=me 2013-09-20 10:32:32 -07:00
Ed Morley
0e05ed21e3 Merge latest green b2g-inbound changeset and mozilla-central 2013-09-20 10:20:58 +01:00
Marco Castelluccio
95d53b2072 Bug 859631 - Move test_uninstall_errors to dom/apps and avoid UI confirmation. r=fabrice 2013-09-19 15:38:45 -04:00
Ed Morley
a7e069bec3 Backed out changeset 1f6b5cb3fe3b (bug 918567) for mochitest-3 failures in test_interfaces.html CLOSED TREE 2013-09-20 15:53:14 +01:00
Masatoshi Kimura
4ca7f0bb0b Bug 918567 - Hide interface objects for MozAfterPaint from content. r=smaug 2013-09-20 22:22:41 +09:00
Mike Hommey
fdcd66734e Bug 917622 - Use INSTALL_TARGETS for mochitests. r=gps 2013-09-19 07:39:58 +09:00
Ed Morley
a0e037f490 Merge mozilla-central and inbound 2013-09-20 10:55:03 +01:00
Honza Bambas
894ba59236 Bug 913807 - HTTP cache v2: API+top service+integration+tests, off by default, r=michal+ehsan+mark.finkle+fabrice+mhammond+gavin 2013-09-20 11:11:25 +02:00
Bobby Holley
75ca6697e7 Bug 916939 - Drop support for named and indexed access on cross-origin windows. r=bz 2013-09-18 08:39:48 -07:00
Masatoshi Kimura
d8a83aa453 Bug 916871 - Remove classinfo bits for CSSGroupRuleRuleList. r=bz 2013-09-18 07:56:41 +09:00
Bobby Holley
d433db0871 Bug 874502 part 4. Fix private browsing tests to not assume synchronous window closing. r=jdm 2013-09-17 17:45:47 -04:00
Neil Deakin
fc9fac436c Bug 621399, disable some more of the test on windows 8 2013-09-19 14:26:58 -04:00
Marco Castelluccio
628ae5cc73 Bug 855765 - Move test_bug_795164 to dom/apps and avoid UI confirmation. r=fabrice
--HG--
rename : dom/apps/tests/test_uninstall_errors.html => dom/apps/tests/test_bug_795164.html
2013-09-25 09:37:21 -04:00
Yuan Xulei
a7b122fc0a Bug 920831 - MozInputMethod's init should only return undefined. r=bz 2013-09-26 15:10:56 +08:00
Masatoshi Kimura
c965ffbdef Bug 914182 - Hide Telephony API behind a pref except on B2G. r=vyang,khuey 2013-09-15 04:46:35 +09:00
Ryan VanderMeulen
fd143fc064 Merge m-c to b2g-inbound. 2013-09-12 20:41:54 -04:00
Guilherme Gonçalves
2b719f836c Bug 911595 - Avoid shutting down geolocation request twice. r=jdm 2013-09-12 11:08:50 -04:00
Michael Henretty
dc72a972c1 Bug 915450 - [Web Notifications] allow to inspect notification properties. r=bz 2013-09-12 02:50:29 -07:00
Ryan VanderMeulen
10c13ed83a Merge m-c to inbound. 2013-09-11 22:20:33 -04:00
Ryan VanderMeulen
a352effd6a Merge b2g-inbound to m-c. 2013-09-11 20:58:14 -04:00
Martijn Wargers
8491344516 Bug 914089 - b2g.json cleanup and reorder, part 3. r=jmaher 2013-09-11 13:52:42 +02:00
Andrea Marchesini
fcc425445c Bug 911213 - Implement new promise constructor, r=bz 2013-09-11 18:03:04 +02:00
Andrea Marchesini
443f276420 Bug 848294 - Update MessageEvent to be compatible with the spec, r=bz 2013-09-11 16:10:01 +02:00
David Zbarsky
0f9e2adcb1 Bug 911575 - Convert canvas callbacks to WebIDL r=bz 2013-09-11 18:35:51 -04:00
Andrew McCreight
a784928a4f Bug 914260 - Add review requirement to the error message in test_interfaces. r=bz 2013-09-10 08:29:45 -07:00
Kyle Huey
3b521583db Bug 911258: Part 6 - Fixup tests. r=me 2013-09-08 20:30:10 -07:00
Vicamo Yang
da62cf5ddc Bug 864485 - 2/3: DOM & IPC. r=khuey 2013-09-07 14:19:53 +08:00
Ryan VanderMeulen
6e6b0eb9c7 Merge m-c to b2g-inbound. 2013-09-06 18:01:09 -04:00
Ryan VanderMeulen
3b1087b464 Backed out 7 changesets (bug 907585, bug 873351, bug 864485) for making phones unbootable.
Backed out changeset 001a849303de (bug 873351)
Backed out changeset 8020b3013618 (bug 907585)
Backed out changeset 9039460e09c5 (bug 907585)
Backed out changeset 9464e393a501 (bug 907585)
Backed out changeset d6920653de69 (bug 864485)
Backed out changeset 20ef446b27cd (bug 864485)
Backed out changeset e27c780e1ef5 (bug 864485)
2013-09-06 17:28:10 -04:00
Ed Morley
49a648594f Merge mozilla-central and inbound 2013-09-06 16:23:50 +01:00
Neil Deakin
3a6f3353b7 Bug 621399, modal dialog focus tests sometimes fail on Windows 8 so disable them there 2013-09-06 09:47:36 -04:00
Vicamo Yang
3d3267810b Bug 864485 - 2/3: DOM & IPC. r=khuey 2013-09-06 16:11:34 +08:00
Mike Hommey
f8bc7fa754 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Masatoshi Kimura
5f8816eba8 Bug 911573 - Stablize the pointerlock test. r=smaug 2013-09-05 01:02:34 +09:00
Masatoshi Kimura
e06d8f88fa Bug 911573 - Mochitest fixup to prepare removing Components-in-content with UniversalXPConnect. r=bholley 2013-09-05 01:02:34 +09:00
Gabor Krizsanits
2b3d7299f4 Bug 892203 - DOMConstructors for SandboxOptions. r=bholley 2013-09-04 12:16:04 +02:00
Masatoshi Kimura
793b2837e7 Bug 911243 - Enable test_interfaces.html on B2G. r=smaug 2013-09-01 02:50:18 +09:00
Martijn Wargers
f535093ab0 Bug 908439 - Rewrite some tests to SpecialPowers.pushPrefEnv/pushPermissions. r=jmaher 2013-08-29 23:12:15 +02:00
Masatoshi Kimura
7bcce3ab11 Bug 910751 - Hide UserDataHandler from content. r=smaug 2013-08-30 20:39:37 +09:00
Kan-Ru Chen (陳侃如)
5e12906fbd Bug 910088 - Use webIDL dictionaries for DOMWindowResize event details r=bz 2013-08-29 11:54:31 +08:00
Masatoshi Kimura
d34342055c Bug 910291 - Hide TraceMalloc debug functions from content. r=bz 2013-08-29 07:48:43 +09:00
Masatoshi Kimura
b3101720ed Bug 909340 - Make sure the interface object for XULElement is created before the prototype object so that it is hidden from content. r=bz 2013-08-29 07:48:42 +09:00
Nicholas D. Matsakis
201520e269 Bug 898347 - Move structType from DOM names to global names r=evilpie CLOSED TREE 2013-08-28 15:14:15 -04:00
Nicholas D. Matsakis
691b7f3382 Bug 898347 - Patchup test_inferfaces test r=evilpie CLOSED TREE 2013-08-28 13:13:22 -04:00
Kan-Ru Chen (陳侃如)
f742e5eb23 Bug 891763 - Browser API: mozbrowserresize event. r=jlebar
--HG--
extra : rebase_source : ba426c66e1fb6f108107c44c64fd170ea384a6db
2013-08-16 19:16:20 +08:00
Ryan VanderMeulen
1f9cf546ef Merge m-c to fx-team. 2013-08-27 20:38:23 -04:00
Martijn Wargers
0dc21f6c5b Bug 909452 - geolocation_common.js needs rewrite to pushPrefEnv. r=jmaher 2013-08-27 17:59:28 +02:00
Marco Castelluccio
03df91c1a7 Bug 854975 - Add fuzz to tests to fix intermittent failures. r=fabrice 2013-08-27 15:54:06 -04:00
David Zbarsky
ce689aa42e Bug 906901 - Use webIDL dictionaries for BrowerElementParent's event details r=bz 2013-08-24 10:08:55 -04:00
Phil Ringnalda
6e36a4c14b Back out a35a5681fe2f (bug 887703) for b2g mochitest-8 failures
--HG--
rename : dom/tests/mochitest/general/test_donottrack.html => dom/tests/mochitest/general/test_bug629535.html
2013-08-23 19:38:25 -07:00
Phil Ringnalda
3f16f41e18 Back out 27eb88629c56:a26582e3c44d (bug 906901)
CLOSED TREE
2013-08-23 19:33:29 -07:00
David Zbarsky
f9ae450dad Bug 906901 - Use webIDL dictionaries for BrowerElementParent's event details r=bz 2013-08-23 21:11:47 -04:00
Mounir Lamouri
2d514ba291 Bug 887703 - navigator.doNotTrack returns { "0", "1", "unspecified" }. r=jlebar
--HG--
rename : dom/tests/mochitest/general/test_bug629535.html => dom/tests/mochitest/general/test_donottrack.html
2013-08-24 00:28:43 +01:00
Bobby Holley
775f95599d Bug 903891 - Fix category manager tests to use a contract-id that we can create in content. r=emk 2013-08-22 15:51:34 -07:00
Masatoshi Kimura
5188bb1a3e Bug 906432 - Use getOwnPropertyNames() in test_interfaces.html. r=smaug 2013-08-22 22:44:19 +09:00
Masatoshi Kimura
37640717b2 Bug 600460 - Implement category entry removal for nsScriptNamespaceManager. r=bholley 2013-08-22 22:44:19 +09:00
Markus Stange
f186096378 Bug 876096 - Try adding waitForFocus, let's see whether that fixes test_activation.xul. 2013-08-22 15:33:58 +02:00
Ms2ger
6a7bc47591 Bug 906351 - Use @DEPTH@ even more; r=ted 2013-08-22 08:55:59 +02:00
Ms2ger
34addaf4e6 Bug 903796 - Remove remaining traces of GeoPositionError; r=jst 2013-08-22 08:30:28 +02:00
Andrea Marchesini
7e55100f66 Bug 896535 - Promise: then(console.log) is not working as expected. r=msucan 2013-08-19 09:13:47 -04:00
Brian Hackett
d85a6fd58b Bug 897655 - Reenable accidentally disabled tests. 2013-08-17 14:26:44 -06:00
Andrew McCreight
b6c7804159 Bug 863390 - add test for window.content === window._content. r=Ms2ger 2013-04-18 15:19:38 -07:00
Honza Bambas
5763d2ceb2 Bug 892488 - Get rid of the offline application cache prompt, r=ehsan+jonas 2013-08-16 11:34:21 +02:00
Brian Hackett
cbc8048e52 Bug 897655 - Use off thread parsing when loading scripts from XUL documents, r=billm,bz,luke. 2013-08-15 14:14:43 -07:00
William Chen
80b0d4c299 Bug 900724 - Prevent form association when creating elements in template contents. r=hsivonen 2013-08-13 14:31:18 -07:00
Bobby Holley
3ed72e3e52 Bug 901364 - Remove a bunch of now-unused modal state tracking machinery. r=mrbkap 2013-08-12 12:54:51 -07:00
Johnny Stenback
84b7ee4886 Bug 859707. Convert History to WebIDL bindings. r=bz 2013-08-09 23:47:59 -07:00
Masatoshi Kimura
1bf6b6b99c Bug 899388 - Part 4: Test to make sure that XUL interfaces are not exposed on content, modulo content XBL. r=bz 2013-08-09 23:35:54 +09:00
Carsten "Tomcat" Book
3dec61c518 merge b2g-inbound to mozilla-central 2013-08-08 13:33:12 +02:00
Gregory Szorc
694f2a58f0 Bug 902609 - Make xpcshell.ini manifest strict mode compliant; r=ahal 2013-08-07 23:48:53 -07:00
Marco Castelluccio
b0cfbd81f2 Bug 854975 - Print app.installTime, beforehand e installSuccess time to understand what's going on in test_install_app.xul. r=fabrice 2013-08-07 20:07:41 -04:00
Marco Castelluccio
8307a806dd Bug 771294 - Install App doorhanger remains visible when installing page immediately loads another page. r=myk
--HG--
rename : dom/tests/mochitest/webapps/bug_765063.xul => dom/tests/mochitest/webapps/install_and_redirect_helper.xul
2013-08-05 16:30:41 -04:00
Yoshi Huang
40c1e002ad Bug 883741 - Part 2: testing for null in crypto legacy. r=bz 2013-08-01 15:14:44 +08:00
Yoshi Huang
2e2cee1761 Bug 883741 - Part 1: WebCrypto: Move Crypto to WebIDL. r=bz 2013-08-01 14:57:25 +08:00
Marco Castelluccio
19539a7071 Bug 777402 - Implement support for packaged apps via the installPackage function in the mozapps DOM API in desktop web runtime. r=myk,wesj,fabrice 2013-08-01 17:00:39 -07:00
Ryan VanderMeulen
53108c6053 Backed out changesets 357e720b5a37 and f1971c2f5232 (bug 777402) for mochitest-other orange.
CLOSED TREE
2013-08-01 21:51:12 -04:00
Marco Castelluccio
391654aa12 Bug 777402 - Implement support for packaged apps via the installPackage function in the mozapps DOM API in desktop web runtime. r=myk,wesj,fabrice 2013-08-01 17:00:39 -07:00
Ted Mielczarek
8a1a9349cb bug 893785 - don't fire gamepadconnected events for windows that have already received them. r=smaug
--HG--
rename : dom/tests/mochitest/gamepad/test_gamepad_hidden_frame.html => dom/tests/mochitest/gamepad/test_gamepad_connect_events.html
2013-08-01 13:52:27 -04:00
Neil Deakin
8e1b7d6683 Bug 894736, pass clipboard type to data transfer so that the correct clipboard is used when pasting, r=ehsan 2013-08-07 14:52:38 -04:00
Masatoshi Kimura
28fd70224d Bug 898817 - test_interfaces.html update. r=bz 2013-07-30 22:26:27 +09:00
Ryan VanderMeulen
7bd9efe0db Merge m-c to birch. 2013-07-29 16:07:59 -04:00
Tomoaki Konno
e07a5ce083 Bug 797561 - Expose a server tcp socket API to web applications r=honza 2013-07-29 10:36:43 -07:00
Masatoshi Kimura
a48434433d Bug 898687 - Test to make sure XUL classes are hidden from content. r=Jan.Varga, smaug 2013-07-29 23:45:59 +09:00
Guilherme Gonçalves
74cb7450ea Bug 884921 - navigator.geolocation should never be null. r=dougt 2013-07-26 16:12:12 -04:00
Ryan VanderMeulen
999bcfda0a Merge m-c to inbound. 2013-07-26 14:20:01 -04:00
Vicamo Yang
7aeae4c5b3 Bug 891235: remove mozSms. rs=mounir 2013-07-26 18:40:27 +08:00
Mina Almasry
27f9b1cdb1 Bug 760851 - Add jsonifier WebIDL declaration and add toJSON to performance.timing. r=bz
This patch adds a jsonifier declaration to WebIDL's. The declaration adds an autogenerated method toJSON() on the given webidl. This patch also adds jsonifier and toJSON() to PerformanceTiming.webidl, and performance.timing, respectively.
2013-07-26 12:00:49 -04:00
Boris Zbarsky
9d5d30d8a1 Bug 893004 part 2. Remove various no-longer-used XPCOM bits from Navigator, except the ones from nsIDOMNavigator. r=smaug
--HG--
rename : dom/network/interfaces/nsIDOMNavigatorNetwork.idl => dom/network/interfaces/nsIMozNavigatorNetwork.idl
2013-07-17 23:23:52 -04:00
Boris Zbarsky
2e1a03a7a3 Bug 838146 part 10. Turn on WebIDL bindings for Navigator. r=smaug 2013-07-12 10:37:23 -04:00
Boris Zbarsky
37541b0406 Bug 890193 followup. Annotate the assertions it causes so we can reopen the CLOSED TREE. 2013-07-11 15:20:56 -04:00
Ed Morley
01e0d553fb Merge latest green fx-team changeset and mozilla-central 2013-07-11 10:12:37 +01:00
Tim Taubert
56b146eea2 Bug 891806 - part 4 - replace 'yield;' with 'yield undefined;' in dom/; r=smaug 2013-07-10 23:52:35 +02:00
Masatoshi Kimura
d8c75a1cac Bug 885177 - Make window.ImageDocument ChromeOnly. r=bz 2013-07-11 08:15:30 +09:00
Mihnea Dobrescu-Balaur
e3128e9371 Bug 887557 - Use a dynamic port in dom xpcshell tests so they can be run in parallel. r=jdm 2013-07-09 20:45:02 -07:00
Olli Pettay
b002b30b2a bug 789919, (snow-white) make addref/release of CCable objects faster by removing indirect refcnt increase/decrease, r=mccr8, test changes r=ehsan
--HG--
extra : rebase_source : 2a3b22425c14d6daedc91d62a652c34431acd2fb
2013-07-09 13:30:58 -04:00
Randy Lin
7f0e5c4fab Bug 803414 - Part 1: Add RecordErrorEvent interface to test case. r=smaug 2013-07-03 14:15:14 +08:00
Bobby Holley
859bfce8ec Bug 888225 - Check for child window naming collisions before defining global properties in GlobalResolve. r=bz 2013-07-02 18:35:36 -06:00
Ms2ger
5095d68706 Bug 883114 - Part a: remove various make rules in dom; r=ted 2013-07-01 09:01:23 +02:00
James Hugman
228b79b0ec Bug 860782 - Move Android permission install to first run, from install. r=wesj, r=fabrice
* * *
Bug 860782 - Use app when requesting permissions. r=mfinkle
* * *
Bug 860782 - Disable permissions tests on platforms where they shouldn't work. r=mfinkle
2013-06-20 12:51:18 -04:00
Ted Mielczarek
98dadecb4e bug 860413 - Allow setting standard gamepad mapping. r=smaug 2013-04-09 08:43:25 -04:00
Ted Mielczarek
ec8eea352e bug 690935 - implement navigator.getGamepads(). r=smaug
--HG--
rename : content/events/src/nsDOMGamepad.cpp => dom/gamepad/Gamepad.cpp
rename : content/events/src/nsDOMGamepad.h => dom/gamepad/Gamepad.h
rename : dom/system/GamepadService.cpp => dom/gamepad/GamepadService.cpp
rename : dom/system/GamepadService.h => dom/gamepad/GamepadService.h
extra : rebase_source : da536e09d6c09c605db28e4af4ccccf824efc20d
2012-02-15 19:47:13 -05:00
Ted Mielczarek
c7cf034e93 bug 851547 - Make Gamepad API preffable. r=smaug
--HG--
extra : rebase_source : bc4f3c5c34d08f0af0b1ef6c35053c07fe991bf4
2013-04-09 08:43:24 -04:00
David Zbarsky
aa9e223fa7 Bug 881128 - Remove nsIDOMGetSVGDocument r=bz 2013-06-11 21:56:26 -07:00
Phil Ringnalda
bcfed2db14 Back out efdf2d801664 (bug 881128) for disregarding the DANGER of not dealing with test_interfaces.html 2013-06-10 19:26:45 -07:00
David Zbarsky
2682ddc0df Bug 881128 - Remove nsIDOMGetSVGDocument r=bz 2013-06-10 17:50:42 -07:00
Alfredo Yang
1475b46109 Bug 855741 - Add FocusEvent to test_interface. r=smaug 2013-06-05 08:02:51 -04:00
Bobby Holley
da92b2ad75 Bug 877478 - Fix test to use SpecialPowers.{add,remove}Observer. r=mrbkap
This way, we get the callback wrapping behavior for free.
2013-06-04 19:56:42 -07:00
Bobby Holley
17992acedf Bug 877478 - Fix mochitests with problematic callbacks to use the new API. r=mrbkap 2013-06-04 19:56:41 -07:00
Bobby Holley
1fe42ee5c9 Bug 858101 - Fix other tests. r=mrbkap 2013-05-31 10:36:02 -07:00
Boris Zbarsky
a09d3c7a82 Bug 876098. Make sure to not skip calling addProperty hooks when objects have them. Otherwise DOM expandos can go AWOL. r=djvj 2013-05-30 13:01:38 -04:00
Peter Van der Beken
3402cab97c Bug 874321 - Fix setting of expandos on Xrays for DOM bindings with named properties. r=bz.
--HG--
extra : rebase_source : 697545417d27696de05c0f22987e4cb187d226cd
2013-05-29 11:38:57 +02:00
Andrea Marchesini
850c873bc9 Bug 874090 - Crash in mozilla::dom::Notification::GetPermissionInternal, r=wchen 2013-05-23 15:38:00 -07:00
Mihai Sucan
decd78751d Bug 874061 - Figure out private browsing and the browser console; r=robcee f=ehsan 2013-05-25 12:25:36 +03:00
Jonathan Kew
3979f5bbb7 bug 873939 followup - remove duplicates in the test_interfaces.html list. r=khuey 2013-05-21 12:25:14 +08:00
Jonathan Kew
d8837aeef4 bug 873939 - the long list in test_interfaces.html should be alphabetical. r=khuey 2013-05-20 13:55:01 +08:00
John Daggett
0eae803e8f Bug 549861 - reland font-variant subproperties with DOM-peer review. r=khuey 2013-05-20 11:59:20 +09:00
Ms2ger
a8ca7bda9d Merge backout. 2013-05-19 20:26:58 +02:00
Ms2ger
7786ea6954 Backout bug 549861 (changesets 27fb48df15ce:7ecd4e3863b4) for insufficient review. 2013-05-19 20:23:19 +02:00
Gregory Szorc
1b12175ba0 Bug 873629 - Remove 129 empty Makefile.in files; r=ted 2013-05-17 16:20:11 -07:00
John Daggett
5b570d8745 Bug 549861. Implement support for @font-feature-values rule. r=dbaron 2013-05-13 18:45:37 +09:00
Bobby Holley
5c1d3a287a Bug 860941 - Remove assertion annotations for the now-removed mArguments assertion. r=jst 2013-05-17 10:43:20 -07:00
Bobby Holley
769d38e039 Bug 860941 - Tests. r=jst
We augment the existing showModalDialog tests with test coverage for
dialogArguments and returnValue.
2013-05-17 10:43:20 -07:00
Bobby Holley
e6b1e8ff46 Bug 860941 - Stop clearing return values on navigation. r=jst
Since this stuff is a property on the browsing context, this only makes sense
as a security check. But now that we're using a DialogValueHolder, the origin
checks are taken care of. So we can kill this off.
2013-05-17 10:43:19 -07:00
Bobby Holley
dcd1c14b55 Bug 860941 - Use DialogValueHolder for returnValue. r=jst
The spec currently has returnValue as a DOMString, but this doesn't match
reality given my testing. I filed [1] to fix it.

Note that nsGlobalModalWindow is already set up to CC mReturnValue. Since
we're swapping in another CC-ed container class, we don't need to make any
changes here.

[1] https://www.w3.org/Bugs/Public/show_bug.cgi?id=21771
2013-05-17 10:43:19 -07:00
Ed Morley
7cad02c90f Backed out changeset 95006bb32743 (bug 860941) 2013-05-17 09:08:38 +01:00
Ed Morley
b0fa1fd657 Backed out changeset de30d8faf09a (bug 860941) 2013-05-17 09:08:36 +01:00
Ed Morley
68d837546f Backed out changeset d2505c0f1c45 (bug 860941) 2013-05-17 09:08:33 +01:00
Ed Morley
952cea0245 Backed out changeset 34c65a615373 (bug 860941) 2013-05-17 09:08:31 +01:00
Bobby Holley
54353aa3da Bug 860941 - Remove assertion annotations for the now-removed mArguments assertion. r=jst 2013-05-16 23:33:15 -07:00
Bobby Holley
7181d1829c Bug 860941 - Tests. r=jst
We augment the existing showModalDialog tests with test coverage for
dialogArguments and returnValue.
2013-05-16 23:33:15 -07:00
Bobby Holley
3d0e47e04e Bug 860941 - Stop clearing return values on navigation. r=jst
Since this stuff is a property on the browsing context, this only makes sense
as a security check. But now that we're using a DialogValueHolder, the origin
checks are taken care of. So we can kill this off.
2013-05-16 23:33:15 -07:00
Bobby Holley
ea304d6343 Bug 860941 - Use DialogValueHolder for returnValue. r=jst
The spec currently has returnValue as a DOMString, but this doesn't match
reality given my testing. I filed [1] to fix it.

Note that nsGlobalModalWindow is already set up to CC mReturnValue. Since
we're swapping in another CC-ed container class, we don't need to make any
changes here.

[1] https://www.w3.org/Bugs/Public/show_bug.cgi?id=21771
2013-05-16 23:33:15 -07:00
Colby Russell
06575e7cc8 Bug 861495 - Transplant getOuterWindowWithId from nsIDOMWindowUtils to a window-related service: ConsoleAPITests.js; r=msucan 2013-05-08 19:54:43 +03:00
Bobby Holley
5db083ef7f Bug 868528 - Don't expose _content over Xrays. r=mccr8 2013-05-07 20:26:19 -07:00
Joel Maher
85d4edebe2 Bug 868329 - Switch legacy cases of test disabling on Android/B2G using makefile ifdefs over to android.json & b2g.json. r=edmorley 2013-05-07 12:46:45 -04:00
Wes Johnston
c669e5a3c7 Bug 813756 - Make nsINavigatorPayment out of global scope. r=smaug
--HG--
rename : dom/payment/interfaces/nsIDOMNavigatorPayment.idl => dom/payment/interfaces/nsINavigatorPayment.idl
2013-05-06 13:37:50 -07:00
Geoff Brown
1f865993c0 Bug 865006 - (2) Enable more xpcshell tests on Android; r=jmaher DONTBUILD 2013-05-06 09:14:01 -06:00
Stephen Pohl
6af8265e40 Bug 636564 - Implement lion style scrollbars on Mac OSX 10.7+; r=roc 2013-05-02 10:58:00 -04:00
Ryan VanderMeulen
c3aa5b10f1 Backed out changeset 1840b15583fd (bug 636564) for bustage.
CLOSED TREE
2013-05-02 08:33:54 -04:00
Stephen Pohl
3e739e4fa3 Bug 636564 - Implement Lion style scrollbars on Mac OSX 10.7+. r=roc 2013-05-02 07:52:25 -04:00
Cameron McCormack
f5a84d4c82 Bug 839103 - Part 11: Add StyleRule{Added,Removed,Changed} events. r=bz 2013-05-16 17:13:36 +10:00
Cameron McCormack
f72487c6d0 Bug 839103 - Part 10: Add StyleSheetApplicableStateChange event. r=bz 2013-05-16 17:13:36 +10:00
Cameron McCormack
2d7305fa0a Bug 839103 - Part 9: Unify nsIDOMStyleSheet{Added,Removed}Event. r=bz 2013-05-16 17:13:36 +10:00
Ben Kelly
2567640bae Bug 862353: Remove unnecessary code checking for mozSettings twice in Geolocation tests. r=reuben 2013-05-14 13:17:22 -07:00
Ryan VanderMeulen
c834d91a7c Merge m-c to birch. 2013-05-14 08:38:59 -04:00
Reuben Morais
40a7cc78b2 Bug 862353 - Only enable mozSettings in B2G and mochitests. r=gwagner
--HG--
extra : rebase_source : 2b079aa6aca6a65516670cc5adcccf422b5e0261
2013-05-13 18:32:09 -07:00
Ryan VanderMeulen
4038e4710f Merge m-c to inbound. 2013-05-13 12:02:04 -04:00
Joey Armstrong
26736a0ee2 bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal 2013-05-13 16:24:07 -04:00
Fernando Jiménez
c1c6e3b369 Bug 861894 - Avoid apps to schedule new offline cache downloads while device free space is low. Tests. r=honzab 2013-05-10 16:16:56 +02:00
Fernando Jiménez
d043f4cb4b Bug 861920 - Avoid apps to write in its local storage while device free storage is low. Tests. r=honzab 2013-05-10 16:20:06 +02:00
Joel Maher
c6895ab199 Bug 867745 - leaking docshell mochitest-chrome test causes many other tests to fail, pass, etc. r=armenzg 2013-05-13 09:36:53 -04:00
Doug Turner
8a467ba9d5 Bug 866893 - Remove support for multiple geolocation providers. r=mvines 2013-04-29 20:22:27 -07:00
Andrew McCreight
b3d391f39f Bug 861530 - unwrap for _content. r=bholley 2013-04-29 17:50:25 -07:00
Joey Armstrong
321d063783 bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS 2013-04-29 14:49:00 -04:00
Boris Zbarsky
eb42e8e6c5 Bug 857555. Make window.content return an existing named frame with that name if there is one. r=bholley 2013-04-25 22:46:19 -04:00
Andrew McCreight
e95e3e9eea Bug 855966 - Warn more harshly about test_interfaces. r+sr=bz 2013-04-25 19:44:22 -07:00
Boris Zbarsky
1ffcf1ad91 Bug 861493. When passing arguments to an Xray for a WebIDL constructor, make sure to do the argument unwrapping before entering the content compartment. r=bholley,waldo
There are several changes here:

1) Adds some MutableThis methods to Optional, Nullable, and dictionaries to
   effectively allow doing a const_cast without knowing the actual type being
   templated over.  I needed this because I do not in fact know that type in
   the relevant code.  I'm open to suggestions for a better name for this
   method.
2) Adds some operator& to RootedJSValue to make it look more like a JS::Value,
   and in particular so I can JS_WrapValue the thing in it.
3) Adds a Slot() method to NonNullLazyRootedObject, just like NonNull has.
4) Adds an operator& to LazyRootedObject to make it look more like JSObject* so
   I can JS_WrapObject the thing in it.
5) Implements the actual rewrapping of the arguments into the content compartment.
6) Fixes a small preexisting bug in which we didn't look at named constructors
   in getTypesFromDescriptor (this was causing my tests to not compile).
7) Changes Xrays to not enter the content compartment when calling a WebIDL
   constructor.
8) Adds some friend API to report things as not being functions.
2013-04-25 19:03:05 -04:00
Daniel Trebbien
7a9eb8323f Bug 861217 - Add tests for scrollWidth on a table data TD cell in a fixed-layout table. r=bz 2013-04-24 08:36:10 -04:00
Simon Montagu
e78cb03b13 Change tests that depended on the behaviour before bug 151407 was fixed, r=Ms2ger 2013-04-23 08:11:59 +03:00
Jonathan Watt
3eac75d866 Backout bug 862693 (Stop the :-moz-focusring pseudo-class from matching if an element is themed and the theme will display a visual indication of focus for the element. r=roc) 2013-04-21 11:30:11 +01:00
Boris Zbarsky
8695fc9bb2 Bug 862540. Make window.status actually be settable (but have no effect unless the pref that no one ever sets is set). r=smaug 2013-04-19 23:03:01 -04:00
Ryan VanderMeulen
448246aeee Bug 862918 - Disable test on mobile. r=ted
CLOSED TREE
2013-04-19 12:09:51 -04:00
Bobby Holley
6768e92c6a Bug 862918 - Tests for showModalDialog. r=bz
These are pretty basic for now, but I'm going to be adding to them in the other bugs
where I munge this stuff.
2013-04-19 09:49:57 -04:00
Ryan VanderMeulen
cd0138cd77 Merge m-c to inbound. 2013-04-18 14:01:31 -04:00
Fabrice Desré
aa2196b82c Bug 854849 - Sanitize displayable fields in manifests r=vingtetun 2013-04-18 03:18:30 -07:00
Ben Kelly
28f950d2e0 Bug 862666 - Handle mozSettings async creation using addLoadEvent(). r=jdm 2013-04-17 10:03:29 -04:00
L. David Baron
e551237688 Bug 847279 - Fix incorrect relativesrcdir in other mochitest makefiles. r=mbrubeck 2013-04-18 10:32:25 -04:00
Daniel Holbert
d5c0789168 backout 8e0af273404e (Bug 847279) for android M-8 orange 2013-04-17 17:13:02 -07:00
L. David Baron
2c6dd08daf Bug 847279 - Fix incorrect relativesrcdir in other mochitest makefiles. r=mbrubeck 2013-04-17 18:00:14 -04:00
Jonathan Watt
02ae98ba2f Bug 862693 - Stop the :-moz-focusring pseudo-class from matching if an element is themed and the theme will display a visual indication of focus for the element. r=roc 2013-04-17 09:22:55 +01:00
Honza Bambas
f29df2e52f Bug 600307 - localStorage and sessionStorage implementation overhaul, r=mak77+smaug, sr=smaug 2013-04-15 14:38:48 +02:00
Masayuki Nakano
148047b59d Bug 857820 part.3 Drop <blink> support from HTML parser r=mrbkap 2013-04-14 19:11:09 +09:00
Guilherme Gonçalves
60b4bd6ca2 Bug 850442 - Part 4 - Make nsIDOMGeoGeolocation non-scriptable. r=bz 2013-04-12 13:01:29 -07:00
Guilherme Gonçalves
bc55011071 Bug 850442 - Part 3 - Convert callbacks, Geolocation and Position. r=bz 2013-04-12 13:01:29 -07:00
Reuben Morais
8f6efd9315 Bug 856358 - Remove ContactProperties types from window. r=gwagner
--HG--
rename : dom/interfaces/contacts/nsIDOMContactProperties.idl => dom/interfaces/contacts/nsIContactProperties.idl
2013-04-10 16:09:10 -07:00
Ryan VanderMeulen
60dbee1a3e Backed out 2 changesets (bug 850362, bug 600307) for Windows XP leaks on a CLOSED TREE. 2013-04-11 17:00:28 -04:00
Ryan VanderMeulen
4ee5d0b139 Backed out changeset 5e573a8f7ce1 (bug 856358) for bustage on a CLOSED TREE.
--HG--
rename : dom/interfaces/contacts/nsIContactProperties.idl => dom/interfaces/contacts/nsIDOMContactProperties.idl
2013-04-11 15:48:38 -04:00
Reuben Morais
211e11853d Bug 856358 - Remove ContactProperties types from window. r=gwagner
--HG--
rename : dom/interfaces/contacts/nsIDOMContactProperties.idl => dom/interfaces/contacts/nsIContactProperties.idl
extra : rebase_source : 3581687c7285ed8e9c653d1d71f2b60837708679
2013-04-10 16:09:10 -07:00
Honza Bambas
26d97547b7 Bug 600307 - localStorage and sessionStorage implementation overhaul, r=mak77+smaug, sr=smaug 2013-04-11 18:26:06 +02:00
Jim Mathies
a9b8d84129 Bug 858526 - tests. r=ehsan 2013-04-10 09:02:44 -05:00
Ryan VanderMeulen
cbc8941952 Merge m-c to fx-team. 2013-04-09 08:17:45 -04:00
Mihai Sucan
a9ac029d24 Bug 808370 - Use the VariablesView in webconsole; r=past,vporof,paul 2013-04-09 12:46:30 +03:00
Vicamo Yang
10a0d3d05e Bug 749086 - 3/3: fix test cases. r=gwagner 2013-04-09 10:22:23 +08:00
Vicamo Yang
db4566182c Bug 849739 2/5: DOM. r=mounir,mrbkap 2013-04-09 10:21:54 +08:00
Vicamo Yang
fcfa72dde3 Bug 838467 5/5: test cases. r=gwagner 2013-04-09 10:21:43 +08:00
Reuben Morais
3fd1918417 Bug 856923 - Don't stop installing permissions if one of them has an invalid entry in the manifest. r=gwagner 2013-04-05 16:38:08 -07:00
Eitan Isaacson
d1abd880d7 Bug 858136 - Rename nsIDOMSpeechSynthesisGetter as nsISpeechSynthesisGetter. r=smaug
--HG--
rename : dom/interfaces/base/nsIDOMSpeechSynthesisGetter.idl => dom/interfaces/base/nsISpeechSynthesisGetter.idl
2013-04-04 15:12:34 -07:00
Scott Johnson
502238ef9b Bug 520992: Adjust computed width and height before returning to account for box-sizing. [r=bz] 2013-04-04 09:00:07 -05:00
Eitan Isaacson
998738aff3 Bug 525444 - (Part 1/3) Basic SpeechSynthesis setup and voice registration. r=smaug
--HG--
rename : content/media/webspeech/moz.build => content/media/webspeech/synth/moz.build
rename : content/media/webspeech/moz.build => content/media/webspeech/synth/test/moz.build
2013-04-03 15:13:16 -07:00
Nathan Froyd
91e7c9d346 Bug 839103 - part 3 - send StyleSheet{Added,Removed} chrome notifications when stylesheets are added/removed; r=bz 2013-03-27 14:16:50 -04:00
Matt Brubeck
b83706b89d Back out bug 839103 for build errors on a CLOSED TREE 2013-04-02 08:18:27 -07:00
Nathan Froyd
c5c2e7a70e Bug 839103 - part 3 - send StyleSheet{Added,Removed} chrome notifications when stylesheets are added/removed; r=bz 2013-03-27 14:16:50 -04:00
Boris Zbarsky
2cb912c299 Bug 856752. Reinstate Node.hasAttributes. r=khuey 2013-04-02 00:04:19 -04:00
Boris Zbarsky
0745baf88c Bug 792215. Convert quickstubs to using JSNative getters and setters. r=peterv 2012-09-25 14:44:40 -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
Ryan VanderMeulen
475ffb86c2 Merge m-c to inbound. 2013-03-29 10:08:41 -04:00
Doug Turner
e1a86c81cf Bug 822712 - SimplePush - Add PushManager to the test_interfaces.html test. r=dougt 2013-03-28 22:08:35 -07:00
Boris Zbarsky
6020a94656 Bug 855025. Always do Xrays for DOM interface objects. r=peterv 2013-03-27 22:47:25 -04:00
Guilherme Goncalves
4163245809 Bug 650295 - Add tests for speech recognition. r=smaug 2013-03-27 14:14:22 -07:00
William Chen
591ce8a1df Bug 818976 - Part 2: Implement template element interface. r=mrbkap,bz 2013-03-26 00:15:23 -07:00
Mounir Lamouri
5ee9ab3bf0 Bug 854117 - Re-enable test_resize_move_windows.html on Linux. rs=Ms2ger 2013-03-25 18:52:17 +00:00
Peter Van der Beken
76677cff1a Fix for bug 848088 (IonMonkey: property get IC for DOM list proxies fails to detect expando). r=jandem.
--HG--
extra : rebase_source : b06c714726c76e927fbc65d09ffecc09461c4e95
2013-03-06 22:45:59 +01:00
Olli Pettay
0e8cf1f788 Bug 737100 - Extend Pointer Lock (Mouse Lock) for non-fullscreen elements, p=smaug,dolske, r=cpearce,dolske,smaug 2013-03-24 12:32:44 +02:00
Benjamin Peterson
fe1beae84b Backout Bug 854117 because philor said so 2013-03-23 16:38:41 -05:00
Mounir Lamouri
f74640f5c6 Bug 854117 - Re-enable test_resize_move_windows.html and test_resize_move_windows.xul on Linux. rs=Ms2ger 2013-03-23 18:02:21 +00:00
Aryeh Gregor
b4a520d2b8 Bug 849661 - Remove support for Node.hasAttributes(); r=bz 2013-03-21 14:48:32 +02:00
Chris Lord
fae357a331 Bug 852565 - Don't expand the viewport for small pages. r=kats
Only expand the CSS viewport when a page reaches the screen size. If it's
smaller than the screen size, lock the dynamic toolbar and keep the same,
smaller CSS viewport. This 'fixes' sites that try to size themselves to the
size of the screen and get it wrong.
2013-03-21 11:23:49 +00:00
Bobby Holley
874b5eb3fb Bug 790732 - Fix miscellaneous Components proliferation. r=me 2013-03-28 14:26:02 -07:00
Tanvi Vyas
89cc8073b2 Bug 834836 - /dom/tests - Fix tests that break when security.mixed_content.block_active_content is set to true and if/when security.mixed_content.block_display_content is set to true. r=smaug,msucan 2013-03-28 13:18:53 -07:00
Ted Mielczarek
281489a00e bug 604039 - Add DOM Gamepad APIs. r=smaug
--HG--
extra : rebase_source : ffffdc4549da1b25ea263b623c05ae1afb3d46a0
2011-08-03 14:12:08 -04:00
Mike Shal
7ecea60097 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
William Chen
35a5f58cc4 Bug 782211 - Part 10: Update webapp browser permission test to clean up alerts. r=fabrice 2013-03-18 06:24:55 -07:00
William Chen
aef5b50861 Bug 782211 - Part 5: Implement Notification API. r=smaug
--HG--
rename : docshell/test/test_bug344861.html => docshell/test/navigation/test_bug344861.html
2013-03-18 06:24:54 -07:00
Gregory Szorc
7d09ff18e0 Bug 844635 - Part 3: Remove empty Makefile.in files; r=glandium 2013-03-17 18:01:25 -07:00
Ms2ger
4ec472b450 Bug 844134 - Move the 'attributes' property from Node to Element; r=sicking 2013-03-17 09:51:34 +01:00
Randy Lin
bf0e41de18 Bug 849335 - Make the FMRadio API privileged. r=fabrice 2013-03-12 20:54:56 +08:00
Neil Deakin
9315900726 Bug 850198, Fix null pointer checks on clipboardData when clipboard events preference is false, r=smaug 2013-03-12 14:50:05 -04:00
Aryeh Gregor
07f1711dbc Bug 801562 - Remove Node.isSupported; r=bz
--HG--
rename : content/svg/content/test/test_isSupported.xhtml => content/svg/content/test/test_hasFeature.xhtml
2013-03-15 12:21:52 +02:00
Gene Lian
6b8dcdf002 Bug 844431 - B2G MMS: provide nsIDOMMobileMessageManager interface (with sendMMS() first) (part 6, dispatch MMS events). r=vicamo,mounir sr=sicking a=leo+ 2013-03-09 15:22:42 +08:00
Gene Lian
cc115912d5 Bug 844431 - B2G MMS: provide nsIDOMMobileMessageManager interface (with sendMMS() first) (part 2, nsIDOMMozMmsMessage). r=vicamo,mounir,mrbkap sr=sicking a=leo+ 2013-03-09 15:21:55 +08:00
Gene Lian
24d0695b40 Bug 844431 - B2G MMS: provide nsIDOMMobileMessageManager interface (with sendMMS() first) (part 1, nsIDOMMobileMessageManager). r=vicamo sr=sicking a=leo+
--HG--
rename : dom/mobilemessage/interfaces/nsIDOMSmsManager.idl => dom/mobilemessage/interfaces/nsIDOMMobileMessageManager.idl
rename : dom/mobilemessage/interfaces/nsIDOMNavigatorSms.idl => dom/mobilemessage/interfaces/nsIDOMNavigatorMobileMessage.idl
rename : dom/mobilemessage/src/SmsManager.cpp => dom/mobilemessage/src/MobileMessageManager.cpp
rename : dom/mobilemessage/src/SmsManager.h => dom/mobilemessage/src/MobileMessageManager.h
2013-03-09 15:21:47 +08:00
Bobby Holley
f38ed884c3 Bug 850517 - Tests. r=bz 2013-03-14 22:38:27 -07:00
Avi Halachmi
681381f57c Bug 749894: performance.now() mochitest3: Better spec compliance, stricter test, better slack. r=bz 2013-03-05 07:17:11 +02:00
Sunny
2c03f4d445 Bug 844127 - Replaced 'Span' with 'Unknown' and added tests for the same. r=bz 2013-03-12 16:36:49 -04:00
Neil Deakin
9fe80b713b Bug 407983, add clipboard events constructor, r=smaug 2013-03-11 11:49:56 -04:00
Neil Deakin
5624ee6b03 Bug 407983, add support for clipboardData in cut/copy/paste events, r=ehsan,sr=smaug 2013-03-11 11:49:48 -04:00
Ms2ger
89fffd12a6 Bug 847195 - Make NamedNodeMap only deal with Attrs; r=khuey
--HG--
rename : dom/interfaces/core/nsIDOMNamedNodeMap.idl => dom/interfaces/core/nsIDOMMozNamedAttrMap.idl
2013-03-10 09:00:33 +01:00
Olli Pettay
eaf67cc919 Bug 822399 - Make Event to use Paris bindings, r=peterv 2013-03-09 13:34:29 +02:00
Jim Mathies
1f6c06aa55 Bug 847881 - adjust test_sizetocontent_clamp for minimum window size constraints on Win8. r=mounir 2013-03-08 05:22:36 -06:00
William Chen
a9e43bd562 Bug 783129 - Implementation of document.register without shadow DOM support. r=mrbkap 2012-11-01 11:18:08 -07:00
Simon Montagu
52cc90f289 Changes to existing tests caused by bug 722299, r=honza.b 2013-03-01 03:56:45 -08:00
Ryan VanderMeulen
776b5a4ffa Backed out 4 changesets (bug 722299) for B2G mochitest failures on a CLOSED TREE. 2013-02-28 20:44:53 -05:00
Mounir Lamouri
f489fdedf7 Bug 375008 - Clicking a disabled element should not cause a focus change. r=Enn 2013-03-01 00:15:59 +00:00
Simon Montagu
a49e255e57 Changes to existing tests caused by bug 722299, r=honza.b 2013-02-28 14:04:48 -08:00
Ms2ger
8fedd090cc Merge m-i to b-s. 2013-02-28 14:46:10 +01:00
Gregory Szorc
e1b210ddf6 Merge mozilla-central into build-system
The 3 merged files had no conflicts and were manually verified to ensure
no incompatible changes crept in.
2013-02-27 21:02:02 -08:00
Gregory Szorc
0c8ee65118 Merge mozilla-central into build-system
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Ms2ger
aea301eee3 Merge m-c to b-s. 2013-02-26 19:09:25 +01:00
Gregory Szorc
45faa95b04 Merge mozilla-central into build-system
Only conflict was configure.in amd was due to context, not
changed lines themselves.
2013-02-25 22:09:18 -08:00
Gregory Szorc
a0e24e2250 Bug 784841 - Part 18k: Convert /dom; f=Ms2ger rs=khuey 2013-02-25 12:47:20 -08:00