Bobby Holley
806d1d1b45
Bug 858101 - Fix other tests. r=mrbkap
2013-05-31 10:36:02 -07: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
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
Bobby Holley
5ddd3a6924
Bug 868528 - Don't expose _content over Xrays. r=mccr8
2013-05-07 20:26:19 -07:00
Andrew McCreight
cce227c87c
Bug 861530 - unwrap for _content. r=bholley
2013-04-29 17:50:25 -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
Guilherme Gonçalves
12ce385b4c
Bug 850442 - Part 4 - Make nsIDOMGeoGeolocation non-scriptable. r=bz
2013-04-12 13:01:29 -07:00
Jim Mathies
871578852d
Bug 858526 - tests. r=ehsan
2013-04-10 09:02:44 -05:00
Kyle Machulis
f5e3aadf0b
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
2013-04-01 11:36:59 -07:00
Kyle Machulis
d2b6e6e01a
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
5663b98bc5
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
d74ba794b4
Bug 855025. Always do Xrays for DOM interface objects. r=peterv
2013-03-27 22:47:25 -04:00
Mounir Lamouri
0cc5f1d661
Bug 854117 - Re-enable test_resize_move_windows.html on Linux. rs=Ms2ger
2013-03-25 18:52:17 +00:00
Benjamin Peterson
7f8dc7e9bd
Backout Bug 854117 because philor said so
2013-03-23 16:38:41 -05:00
Mounir Lamouri
c22434dddd
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
f7d21913df
Bug 375008 - Clicking a disabled element should not cause a focus change. r=Enn
2013-03-01 00:15:59 +00:00
Gregory Szorc
27c42e83c6
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
803629b9c6
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
2801c25ab8
Merge m-c to b-s.
2013-02-26 19:09:25 +01:00
Gregory Szorc
16f0413b0c
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
3fd0b2c59d
Bug 784841 - Part 18k: Convert /dom; f=Ms2ger rs=khuey
2013-02-25 12:47:20 -08:00
Peter Van der Beken
bd8a4c71df
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
ba864d4737
No Bug - Backout bug 375008 (6c59b73c8c4b) and re-enable test_focus.xul. r=distress
2013-02-27 15:53:41 +00:00
Mounir Lamouri
b00bf5543d
No bug - Disable test_focus.xul to fix broken test. r=me
2013-02-27 15:46:39 +00:00
Markus Stange
9ffe946a97
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
05d5d9dfa9
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
4f4296979b
Bug 404077: Annotate known assertions in mochitests.
2013-02-25 18:39:21 -08:00
Ed Morley
13bfe704c1
Bug 834716 - Fix bustage; r=me
2013-02-08 17:06:08 +00:00
Joel Maher
4e7372f4e2
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
105d61cacc
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
19dd19ed37
Backout f3c145bd1dd2 & 5075690572a9 for OS X startup failures
2013-01-28 11:08:21 +00:00
Peter Van der Beken
18764acd4b
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
1cbfc3426f
Bug 830858 - Implement a generic way to dispatch events to chrome only, r=jst
2013-01-16 11:27:06 +02:00
Trevor Saunders
4f48cd4e2c
bug 830396 - add back nsIDOMCSSValueList r=bz
2013-01-14 12:29:27 -05:00
Boris Zbarsky
f6b7a3c5fb
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
e63524c1e0
Bug 819639 - Part c: Add a test for the EventSource constructor in a sandbox.
2012-12-22 09:17:05 +01:00
Boris Zbarsky
ef960bdfd1
Bug 821760. Properly handle compartments in WebIDL static operation bindings. r=peterv
2012-12-14 14:11:23 -05:00
Boris Zbarsky
dcceb66959
Bug 817669 test. r=bholley
2012-12-10 14:29:29 -05:00
Boris Zbarsky
d507ea257e
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
6c53836aa3
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
c42d3467d8
Bug 812241 - Remove disabled test warnings. r=khuey
2012-11-20 16:13:04 -08:00
Ed Morley
9d769d9192
Bug 798848 - Disable test_MozEnteredDomFullscreen_event.xul on OS X for intermittent failures
2012-11-13 10:53:52 +00:00
Ed Morley
1ae94e5083
Backout 55a71c654aac (bug 798848) since wrong platform
2012-11-13 10:51:17 +00:00
Ed Morley
91078fa33b
Bug 798848 - Disable test_MozEnteredDomFullscreen_event.xul on Linux for intermittent failures
2012-11-13 10:48:02 +00:00
Boris Zbarsky
93edcc7097
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
5865858536
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
Peter Van der Beken
b17dd93f15
Fix for bug 778152 (Content window does not have an XMLHttpRequest property when accessed via an Xray wrapper in a subscript) - followup to fix problem pointed out by reviewer. r=bz.
...
--HG--
extra : rebase_source : 13271029cb0c7cd18b98fa2ed409e43f1df13e47
2012-10-29 21:55:13 +01:00
Peter Van der Beken
99782186da
Fix for bug 778152 (Content window does not have an XMLHttpRequest property when accessed via an Xray wrapper in a subscript). r=bz.
...
Switch from using the interface objects from the Xrays compartment to wrapping
interface objects and interface prototype objects in Xrays. Make dom binding
Xrays deal with both instance objects and interface and interface prototype
objects.
2012-10-09 20:50:27 +02:00
Gavin Sharp
ebb6646061
Bug 802436: fix test from bug 800817, r=smaug
...
--HG--
extra : rebase_source : be57519e1085fab2bd0c9ff6de0514715c817b72
2012-10-17 15:24:13 -07:00
Chris Jones
7f41ef3f67
Test for bug 800817. r=smaug
...
--HG--
rename : dom/tests/mochitest/chrome/file_bug799299.xul => dom/tests/mochitest/chrome/file_bug800817.xul
rename : dom/tests/mochitest/chrome/test_bug799299.xul => dom/tests/mochitest/chrome/test_bug800817.xul
2012-10-13 18:43:24 -07:00