Commit Graph

1200 Commits

Author SHA1 Message Date
Gregory Szorc
c1b865f669 Bug 873629 - Remove 129 empty Makefile.in files; r=ted 2013-05-17 16:20:11 -07:00
Bobby Holley
8abc6c0ed9 Bug 860941 - Remove assertion annotations for the now-removed mArguments assertion. r=jst 2013-05-17 10:43:20 -07:00
Bobby Holley
7a88d73382 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
88c65fa834 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
ff1416d597 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
7861834d38 Backed out changeset 95006bb32743 (bug 860941) 2013-05-17 09:08:38 +01:00
Ed Morley
003d17a5f8 Backed out changeset de30d8faf09a (bug 860941) 2013-05-17 09:08:36 +01:00
Ed Morley
e5680f1e17 Backed out changeset d2505c0f1c45 (bug 860941) 2013-05-17 09:08:33 +01:00
Ed Morley
4384f18cd0 Backed out changeset 34c65a615373 (bug 860941) 2013-05-17 09:08:31 +01:00
Bobby Holley
9ff358e18b Bug 860941 - Remove assertion annotations for the now-removed mArguments assertion. r=jst 2013-05-16 23:33:15 -07:00
Bobby Holley
3bf84f7d8d 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
6e3c37021b 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
3072f4271d 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
Cameron McCormack
9c655c183c Bug 839103 - Part 11: Add StyleRule{Added,Removed,Changed} events. r=bz 2013-05-16 17:13:36 +10:00
Cameron McCormack
22bd6f92e0 Bug 839103 - Part 10: Add StyleSheetApplicableStateChange event. r=bz 2013-05-16 17:13:36 +10:00
Cameron McCormack
acb7e00fdf Bug 839103 - Part 9: Unify nsIDOMStyleSheet{Added,Removed}Event. r=bz 2013-05-16 17:13:36 +10:00
Ben Kelly
daf84acd78 Bug 862353: Remove unnecessary code checking for mozSettings twice in Geolocation tests. r=reuben 2013-05-14 13:17:22 -07:00
Ryan VanderMeulen
5d06283e78 Merge m-c to birch. 2013-05-14 08:38:59 -04:00
Reuben Morais
9fdab01a57 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
5187701658 Merge m-c to inbound. 2013-05-13 12:02:04 -04:00
Joey Armstrong
0d49db0381 bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal 2013-05-13 16:24:07 -04:00
Fernando Jiménez
009a91b197 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
8b6e9f1661 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
f197359401 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
John Daggett
6758cb5e04 Bug 549861. Implement support for @font-feature-values rule. r=dbaron 2013-05-13 18:45:37 +09:00
Colby Russell
8dde055a75 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
5ddd3a6924 Bug 868528 - Don't expose _content over Xrays. r=mccr8 2013-05-07 20:26:19 -07:00
Joel Maher
64faabe608 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
5dd32af578 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
037ac7adfe Bug 865006 - (2) Enable more xpcshell tests on Android; r=jmaher DONTBUILD 2013-05-06 09:14:01 -06:00
Stephen Pohl
15b6f78be0 Bug 636564 - Implement lion style scrollbars on Mac OSX 10.7+; r=roc 2013-05-02 10:58:00 -04:00
Ryan VanderMeulen
a213f7964d Backed out changeset 1840b15583fd (bug 636564) for bustage.
CLOSED TREE
2013-05-02 08:33:54 -04:00
Stephen Pohl
c51a7b61fd Bug 636564 - Implement Lion style scrollbars on Mac OSX 10.7+. r=roc 2013-05-02 07:52:25 -04:00
Doug Turner
430c046dbf Bug 866893 - Remove support for multiple geolocation providers. r=mvines 2013-04-29 20:22:27 -07:00
Andrew McCreight
cce227c87c Bug 861530 - unwrap for _content. r=bholley 2013-04-29 17:50:25 -07:00
Joey Armstrong
12356a4c50 bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS 2013-04-29 14:49:00 -04:00
Boris Zbarsky
a7015d2b77 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
17904bdc8b Bug 855966 - Warn more harshly about test_interfaces. r+sr=bz 2013-04-25 19:44:22 -07:00
Boris Zbarsky
7041704c76 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
efc359dc87 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
0853698054 Change tests that depended on the behaviour before bug 151407 was fixed, r=Ms2ger 2013-04-23 08:11:59 +03:00
Jonathan Watt
c63ee27f69 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
14089d7cd3 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
1b08b461ca Bug 862918 - Disable test on mobile. r=ted
CLOSED TREE
2013-04-19 12:09:51 -04:00
Bobby Holley
74fcdc460f 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
68f8a6547f Merge m-c to inbound. 2013-04-18 14:01:31 -04:00
Fabrice Desré
2ff51227b6 Bug 854849 - Sanitize displayable fields in manifests r=vingtetun 2013-04-18 03:18:30 -07:00
Ben Kelly
e1bb7da97f Bug 862666 - Handle mozSettings async creation using addLoadEvent(). r=jdm 2013-04-17 10:03:29 -04:00
L. David Baron
611d0a66d9 Bug 847279 - Fix incorrect relativesrcdir in other mochitest makefiles. r=mbrubeck 2013-04-18 10:32:25 -04:00
Daniel Holbert
6ad32cb40a backout 8e0af273404e (Bug 847279) for android M-8 orange 2013-04-17 17:13:02 -07:00