Commit Graph

153 Commits

Author SHA1 Message Date
Gregory Szorc
483a776413 Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:01 +02:00
Boris Zbarsky
1f4ea61007 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
72c8f599cd 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
Boris Zbarsky
9aecf1e30c Bug 920125. getOwnPropertyDescriptor on Xrays for DOM interface and prototype objects should actually work. r=peterv 2013-09-25 14:38:30 -04:00
Gabor Krizsanits
a74540b370 Bug 892214 - Rename DOMConstructors to GlobalProperties in SandboxOptions. r=bholley, r=mossop 2013-09-21 15:25:46 +02:00
Neil Deakin
7922c1444e Bug 621399, disable some more of the test on windows 8 2013-09-19 14:26:58 -04:00
Neil Deakin
40012e4353 Bug 621399, modal dialog focus tests sometimes fail on Windows 8 so disable them there 2013-09-06 09:47:36 -04:00
Mike Hommey
f1cf3b4238 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Gabor Krizsanits
a58d3406fb Bug 892203 - DOMConstructors for SandboxOptions. r=bholley 2013-09-04 12:16:04 +02:00
Markus Stange
b412ee65d5 Bug 876096 - Try adding waitForFocus, let's see whether that fixes test_activation.xul. 2013-08-22 15:33:58 +02:00
Bobby Holley
6814987c28 Bug 858101 - Fix other tests. r=mrbkap 2013-05-31 10:36:02 -07:00
Peter Van der Beken
44c790a6fb 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
Joel Maher
f0b4079343 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
Bobby Holley
402538ac79 Bug 868528 - Don't expose _content over Xrays. r=mccr8 2013-05-07 20:26:19 -07:00
Andrew McCreight
aaf7fd6730 Bug 861530 - unwrap for _content. r=bholley 2013-04-29 17:50:25 -07:00
Boris Zbarsky
7a5392b28d 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
Guilherme Gonçalves
3ea6d6c459 Bug 850442 - Part 4 - Make nsIDOMGeoGeolocation non-scriptable. r=bz 2013-04-12 13:01:29 -07:00
Jim Mathies
4b3a5cdfcd Bug 858526 - tests. r=ehsan 2013-04-10 09:02:44 -05:00
Kyle Machulis
5aa83c3e11 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
c79ccc0693 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
a59d40f143 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
863287ea09 Bug 855025. Always do Xrays for DOM interface objects. r=peterv 2013-03-27 22:47:25 -04:00
Mounir Lamouri
bd70d54caf Bug 854117 - Re-enable test_resize_move_windows.html on Linux. rs=Ms2ger 2013-03-25 18:52:17 +00:00
Benjamin Peterson
e96eef845c Backout Bug 854117 because philor said so 2013-03-23 16:38:41 -05:00
Mounir Lamouri
bbdf3b4f20 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
Mounir Lamouri
2bea4e4640 Bug 375008 - Clicking a disabled element should not cause a focus change. r=Enn 2013-03-01 00:15:59 +00:00
Gregory Szorc
89d297a677 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
f0b7e3972c 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
cd9c6150fe Merge m-c to b-s. 2013-02-26 19:09:25 +01:00
Gregory Szorc
faf262c4ee 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
e2966f651c Bug 784841 - Part 18k: Convert /dom; f=Ms2ger rs=khuey 2013-02-25 12:47:20 -08:00
Peter Van der Beken
48eb0c311a Fix for bug 844559 (Crash [@ mozilla::dom::XrayResolveNativeProperty]). r=bz.
--HG--
extra : rebase_source : 85b3d0ee270f24847b9425cda9f8b56a494f2546
2013-02-25 20:39:15 +01:00
Mounir Lamouri
c0a032bb5b No Bug - Backout bug 375008 (6c59b73c8c4b) and re-enable test_focus.xul. r=distress 2013-02-27 15:53:41 +00:00
Mounir Lamouri
f0287b71e6 No bug - Disable test_focus.xul to fix broken test. r=me 2013-02-27 15:46:39 +00:00
Markus Stange
fa5781a68a Bug 845595 - Make nsIDOMWindowUtils::selectAtPoint coordinates relative to the DWU's document. r=jimm 2013-02-27 15:12:39 +01:00
L. David Baron
a144cc1c82 Bug 404077: Use navigator.platform.startsWith rather than navigator.platform.indexOf, at Jesse's suggestion. 2013-02-26 22:23:08 -08:00
L. David Baron
57d19fbb86 Bug 404077: Annotate known assertions in mochitests. 2013-02-25 18:39:21 -08:00
Ed Morley
ce2e1ad117 Bug 834716 - Fix bustage; r=me 2013-02-08 17:06:08 +00:00
Joel Maher
4536082a29 Bug 834716 - test_resize_move_windows.xul fails on an ubuntu 12.04 VM, causes 45 other failures. r=mounir 2013-02-08 10:54:33 -05:00
Peter Van der Beken
4d5c0010c4 Fix for bug 715156 (JS code no longer work for select options as array in a Greasemonkey script (index and name setters don't really work via XrayWrapper)). r=bz.
--HG--
extra : rebase_source : 2ced75b6d49dbab5afe9a6ce7c322bf18a634026
2013-01-14 11:29:48 +01:00
Ed Morley
bc0702d0d7 Backout f3c145bd1dd2 & 5075690572a9 for OS X startup failures 2013-01-28 11:08:21 +00:00
Peter Van der Beken
a6ea06e0ab Fix for bug 715156 (JS code no longer work for select options as array in a Greasemonkey script (index and name setters don't really work via XrayWrapper)). r=bz.
--HG--
extra : rebase_source : 6bc420bd917e00a49dc5f6f3de13ff9e290c9580
2013-01-14 11:29:48 +01:00
Olli Pettay
4bdc525207 Bug 830858 - Implement a generic way to dispatch events to chrome only, r=jst 2013-01-16 11:27:06 +02:00
Trevor Saunders
ddbe49139b bug 830396 - add back nsIDOMCSSValueList r=bz 2013-01-14 12:29:27 -05:00
Boris Zbarsky
b3560a4e8a Bug 824917. Add hasInstanceInterface to the DOM element classes we've converted that people use instanceof with. r=peterv 2012-12-31 10:37:22 -08:00
Ms2ger
c7275c581e Bug 819639 - Part c: Add a test for the EventSource constructor in a sandbox. 2012-12-22 09:17:05 +01:00
Boris Zbarsky
eba842099b Bug 821760. Properly handle compartments in WebIDL static operation bindings. r=peterv 2012-12-14 14:11:23 -05:00
Boris Zbarsky
910385dff7 Bug 817669 test. r=bholley 2012-12-10 14:29:29 -05:00
Boris Zbarsky
ff9bde99c1 Bug 817284. When none of our code is associated with a window in an obvious way, assume that scripts should be allowed to execute for a WebIDL callback. r=bholley 2012-12-06 15:21:18 -05:00
Boris Zbarsky
3727b0d820 Bug 813623. Fix Xrays to actually work correctly for static methods and properties. r=peterv 2012-11-26 21:14:45 -05:00