Commit Graph

1209 Commits

Author SHA1 Message Date
Boris Zbarsky
b028163812 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
86d520dcf2 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
d9a308245a Bug 874090 - Crash in mozilla::dom::Notification::GetPermissionInternal, r=wchen 2013-05-23 15:38:00 -07:00
Mihai Sucan
69eceeab3c Bug 874061 - Figure out private browsing and the browser console; r=robcee f=ehsan 2013-05-25 12:25:36 +03:00
Jonathan Kew
9046fbb11f bug 873939 followup - remove duplicates in the test_interfaces.html list. r=khuey 2013-05-21 12:25:14 +08:00
Jonathan Kew
822443a603 bug 873939 - the long list in test_interfaces.html should be alphabetical. r=khuey 2013-05-20 13:55:01 +08:00
John Daggett
aa507d8c18 Bug 549861 - reland font-variant subproperties with DOM-peer review. r=khuey 2013-05-20 11:59:20 +09:00
Ms2ger
9d5803279f Merge backout. 2013-05-19 20:26:58 +02:00
Ms2ger
e0c18984a5 Backout bug 549861 (changesets 27fb48df15ce:7ecd4e3863b4) for insufficient review. 2013-05-19 20:23:19 +02:00
Gregory Szorc
c1b865f669 Bug 873629 - Remove 129 empty Makefile.in files; r=ted 2013-05-17 16:20:11 -07:00
John Daggett
6758cb5e04 Bug 549861. Implement support for @font-feature-values rule. r=dbaron 2013-05-13 18:45:37 +09: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
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
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
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