Commit Graph

147 Commits

Author SHA1 Message Date
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
Mike Hommey
f8bc7fa754 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Gabor Krizsanits
2b3d7299f4 Bug 892203 - DOMConstructors for SandboxOptions. r=bholley 2013-09-04 12:16:04 +02: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
Bobby Holley
1fe42ee5c9 Bug 858101 - Fix other tests. r=mrbkap 2013-05-31 10:36:02 -07: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
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
Bobby Holley
5db083ef7f Bug 868528 - Don't expose _content over Xrays. r=mccr8 2013-05-07 20:26:19 -07:00
Andrew McCreight
b3d391f39f Bug 861530 - unwrap for _content. r=bholley 2013-04-29 17:50:25 -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
Guilherme Gonçalves
60b4bd6ca2 Bug 850442 - Part 4 - Make nsIDOMGeoGeolocation non-scriptable. r=bz 2013-04-12 13:01:29 -07:00
Jim Mathies
a9b8d84129 Bug 858526 - tests. r=ehsan 2013-04-10 09:02:44 -05: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
Boris Zbarsky
6020a94656 Bug 855025. Always do Xrays for DOM interface objects. r=peterv 2013-03-27 22:47:25 -04: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
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
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
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
Peter Van der Beken
07afde82fb 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
3d31cd2ab1 No Bug - Backout bug 375008 (6c59b73c8c4b) and re-enable test_focus.xul. r=distress 2013-02-27 15:53:41 +00:00
Mounir Lamouri
fad95dafcd No bug - Disable test_focus.xul to fix broken test. r=me 2013-02-27 15:46:39 +00:00
Markus Stange
a5307d1c97 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
49b7670edf 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
a8ee400190 Bug 404077: Annotate known assertions in mochitests. 2013-02-25 18:39:21 -08:00
Ed Morley
9ffbf31a12 Bug 834716 - Fix bustage; r=me 2013-02-08 17:06:08 +00:00
Joel Maher
6ecf6b192a 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
88de345330 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
9474e07ea6 Backout f3c145bd1dd2 & 5075690572a9 for OS X startup failures 2013-01-28 11:08:21 +00:00
Peter Van der Beken
95d9de83f0 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
fef0029520 Bug 830858 - Implement a generic way to dispatch events to chrome only, r=jst 2013-01-16 11:27:06 +02:00
Trevor Saunders
84fd122dde bug 830396 - add back nsIDOMCSSValueList r=bz 2013-01-14 12:29:27 -05:00
Boris Zbarsky
c158a1e913 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
e69cb81dbf Bug 819639 - Part c: Add a test for the EventSource constructor in a sandbox. 2012-12-22 09:17:05 +01:00
Boris Zbarsky
0c1ffdfca7 Bug 821760. Properly handle compartments in WebIDL static operation bindings. r=peterv 2012-12-14 14:11:23 -05:00
Boris Zbarsky
8dc23fbc81 Bug 817669 test. r=bholley 2012-12-10 14:29:29 -05:00
Boris Zbarsky
f12bcf04dd 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
9cfc646682 Bug 813623. Fix Xrays to actually work correctly for static methods and properties. r=peterv 2012-11-26 21:14:45 -05:00
Seth Fowler
cd421a0e5e Bug 812241 - Remove disabled test warnings. r=khuey 2012-11-20 16:13:04 -08:00
Ed Morley
6d464c7d6e Bug 798848 - Disable test_MozEnteredDomFullscreen_event.xul on OS X for intermittent failures 2012-11-13 10:53:52 +00:00
Ed Morley
8d24b3d24b Backout 55a71c654aac (bug 798848) since wrong platform 2012-11-13 10:51:17 +00:00
Ed Morley
9b27fc6989 Bug 798848 - Disable test_MozEnteredDomFullscreen_event.xul on Linux for intermittent failures 2012-11-13 10:48:02 +00:00
Boris Zbarsky
2f3202994d Bug 810520. Correctly handle static methods and attributes in the NativeProperties structs that Xrays use. r=peterv
Note that at this point we actaully do Xrays for all of our various
property types, except in worker code.  The real substantive change
here is the change to what usedForXrays returns.  The rest is minor
cleanup.
2012-11-13 00:26:55 -08:00
Boris Zbarsky
d1b570c89c Bug 807548. Enumerating an Xray should not see the 'constructor' property on DOM prototypes unless we're told to include non-enumerable properties. r=peterv 2012-11-05 11:58:03 -05:00