Commit Graph

1240 Commits

Author SHA1 Message Date
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
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
John Daggett
5b570d8745 Bug 549861. Implement support for @font-feature-values rule. r=dbaron 2013-05-13 18:45:37 +09: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
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