Bobby Holley
0e4254d032
Bug 916945 - Tests. r=bz
2013-09-24 19:02:56 -07:00
Gregory Szorc
ed68c2482b
Bug 901990 - Part 2: Upgrade xpcshell manifests; r=ted
...
--HG--
rename : toolkit/mozapps/extensions/test/xpcshell-unpack/head_unpack.js => toolkit/mozapps/extensions/test/xpcshell/head_unpack.js
2013-09-24 11:50:08 -07:00
Phil Ringnalda
0e2b15772a
Merge m-c to fx-team
2013-09-22 09:16:05 -07:00
Gabor Krizsanits
5616363374
Bug 892214 - atob and btoa for Sandbox. r=bholley
2013-09-21 15:25:47 +02:00
Gabor Krizsanits
a74540b370
Bug 892214 - Rename DOMConstructors to GlobalProperties in SandboxOptions. r=bholley, r=mossop
2013-09-21 15:25:46 +02:00
Bobby Holley
9a9b886ded
Backed out changeset 86128d3eac88 (bug 916939) for breaking the web. r=me
2013-09-20 10:32:32 -07:00
Cykesiopka
b947cdc80e
Bug 914272 - Move IS_COMPONENT to mozbuild. r=joey
2013-09-19 17:29:32 -04:00
Mike Hommey
16d06af70c
Bug 917086 - Disallow DIRS, PARALLEL_DIRS and TEST_DIRS under TOOL_DIRS and TEST_TOOL_DIRS, and adapt moz.build files accordingly. r=gps
...
Also mark TOOL_DIRS/TEST_TOOL_DIRS directories in backend.mk and recurse them normally instead of forcing make -C dir libs for them.
2013-09-19 07:43:02 +09:00
Bobby Holley
b4f25f3553
Bug 916939 - Drop support for named and indexed access on cross-origin windows. r=bz
2013-09-18 08:39:48 -07:00
Bobby Holley
04cc7dffd1
Bug 916983 - Stop allowing writes for named access to cross-origin properties. r=bz
2013-09-17 09:46:30 -07:00
Bobby Holley
f8051a0c81
Bug 860494 - Tests. r=bz
2013-09-17 09:46:30 -07:00
Ryan VanderMeulen
1f1fb8a044
Merge m-c to inbound.
2013-09-11 22:20:33 -04:00
Ryan VanderMeulen
30168b484b
Merge fx-team to m-c.
2013-09-11 21:48:20 -04:00
Bobby Holley
9550f98b60
Bug 856437 - Remove LookupMethod test coverage. r=gabor
2013-09-11 11:28:20 -07:00
Mike Hordecki
2ea0a6172a
Bug 898559 - Add metadata API for add-on globals. r=bholley
2013-09-11 09:50:15 -04:00
Andrea Marchesini
b9dd502bb8
Bug 848294 - Update MessageEvent to be compatible with the spec, r=bz
2013-09-11 16:10:01 +02:00
Bobby Holley
49e92d12a3
Bug 914325 - Leave ourselves some room to make the call into chrome. r=luke
2013-09-11 15:24:09 -07:00
Ehsan Akhgari
63120f149f
Bug 913851 - Minimize the #includes in js/xpconnect; r=bholley
...
X-Git-Commit-ID: 78e6843063b303780a7dd2695dd2824a0a9c9a3c
--HG--
extra : rebase_source : 1dfcc228f43c68efbbc74f639570c227c26ef025
2013-09-09 23:14:10 +02:00
Bobby Holley
4b28d25fe5
Bug 912322 - Stop making XBL methods available to the web. r=bz
2013-09-06 09:12:56 -07:00
Phil Ringnalda
82a82c7965
Back out e46601eb7279:533dc9ea3301 (bug 912322) for Android reftest bustage
2013-09-04 21:49:16 -07:00
Bobby Holley
5d00a02f31
Bug 912322 - Stop making XBL methods available to the web. r=bz
2013-09-04 19:05:52 -07: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
b28e26644b
Bug 892203 - TextEncoder and TextDecoder for sandbox. r=bholley
2013-09-04 12:18:28 +02:00
Gabor Krizsanits
a58d3406fb
Bug 892203 - DOMConstructors for SandboxOptions. r=bholley
2013-09-04 12:16:04 +02:00
Masatoshi Kimura
b56a94440f
Bug 910751 - Hide UserDataHandler from content. r=smaug
2013-08-30 20:39:37 +09:00
Bobby Holley
e5550b2f93
Bug 908019 - Split up watchdog tests to run in parallel. r=mrbkap
...
This speeds up local xpcshell-test runs by ~6 seconds.
2013-08-29 09:32:25 -07:00
Bobby Holley
a899450297
Bug 732665 - Tests. r=luke
2013-08-28 11:04:16 -07:00
Brian O'Keefe
4f68eb9b02
Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal
2013-08-15 09:02:09 -04:00
Geoff Brown
220e4a5f85
Bug 865006 - (4) Add more xpcshell tests for android; r=jmaher
2013-08-25 10:58:31 -06:00
Kyle Huey
450b0c5f42
Bug 903772: Part 9 - Use a different class in the weakmap test now that the implementation of TextDecoder has changed. r=peterv
2013-08-22 22:17:10 -07:00
Ms2ger
8bfa279bb1
Merge m-c to inbound
2013-08-22 10:38:48 +02:00
Ms2ger
3a227519f8
Bug 903796 - Remove remaining traces of GeoPositionError; r=jst
2013-08-22 08:30:28 +02:00
Nicholas Nethercote
42ccf38dcd
Bug 905017 (part 1) - Minimize inclusions of JS engine headers in .h and .idl files. r=billm.
...
--HG--
extra : rebase_source : 984c61ab12f46be0509b1ce0d458d9a6e5841c64
2013-08-17 15:50:18 -07:00
Masatoshi Kimura
431087ee79
Bug 856424 - Unpref Components for content. r=bholley
2013-08-20 02:44:31 +09:00
Gabor Krizsanits
5861d82dd2
Bug 877673 - Part2: Export helpers for sandbox. r=bholley
2013-08-19 11:46:36 +02:00
Gregory Szorc
c089ae373d
Bug 850380 - Derecursify and optimize XPIDL processing and move into precompile tier; r=glandium
2013-08-14 08:40:25 -07:00
Ryan VanderMeulen
64b2bc7dd9
Backed out changesets 1fa1f28c6edf and e74f694f31c4 (bug 850380) for PGO bustage on a CLOSED TREE.
2013-08-14 15:12:20 -04:00
Brian O'Keefe
3fd496e231
Bug 896177 - Remove more config.mk includes; r=gps
2013-07-17 16:07:14 -04:00
Gregory Szorc
9f99cee9a1
Bug 850380 - Derecursify and optimize XPIDL processing and move into precompile tier; r=glandium
2013-08-14 08:40:25 -07:00
Masatoshi Kimura
2712c73776
Bug 899388 - Part 3: Remove XUL-related interfaces and ChromeWindow from content. r=bz
2013-08-09 23:35:54 +09:00
Peter Van der Beken
30b93d7d6b
Bug 894448 part 2 - Remove nativeOwnership = 'nsisupports'. r=bzbarsky
2013-07-04 17:24:59 +02:00
Bobby Holley
9b761adefc
Bug 897789 - Add a fuzz factor to watchdog tests. r=Waldo
...
CLOSED TREE
2013-07-24 23:00:22 -04:00
Bobby Holley
0b7e198eed
Bug 870043 - Watchdog tests. r=mrbkap
2013-07-24 15:33:32 -07:00
Bill McCloskey
daca74ad0a
Bug 895340 - Fix error reporting of JS exceptions from C++ (r=bholley)
2013-07-23 08:32:36 -07:00
Masatoshi Kimura
1ef12167fc
Bug 895231 - Make sure the Components shim is consistent with the real Components. r=bholley
2013-07-20 07:53:51 +09:00
Luke Wagner
2a96b8369c
Bug 893434 - OdinMonkey: make accessing non-data properties a link-time validation error (r=bbouvier)
...
--HG--
extra : rebase_source : beb308b3455d0fae18a6d6d5fee744f8b59dc2f2
2013-07-17 17:22:07 -05:00
Gervase Markham
acfedfd6cb
Bug 715549 - remove last vestiges of tri-licence. DONTBUILD.
2013-07-19 16:08:33 +01:00
Boris Zbarsky
7631a999ff
Bug 838146 part 10. Turn on WebIDL bindings for Navigator. r=smaug
2013-07-12 10:37:23 -04:00
Gregory Szorc
bcf3de711c
Bug 891632 - Port NO_DIST_INSTALL to moz.build; r=joey
...
Many of the moved variables are likely not needed. moz.build should one
day validate the sandbox's output and error if "useless" variables are
present.
--HG--
extra : rebase_source : 3abdea056c18d00ede8c15b37db60532eca58630
2013-07-10 12:08:21 -07:00
Bobby Holley
9b3cb6faeb
Bug 867486 - Remove |Components| from content sandboxes. r=gabor
2013-07-08 10:05:31 -07:00
Bobby Holley
bbfa496f9b
Bug 880917 - Remove XPConnect version munging test. r=luke
...
This test calls the version() shell command, and expects it to work like an
override, rather than the dumb compartment-mutator that I'm turning it into.
Let's just kill the test.
2013-06-29 09:11:18 -06:00
Bobby Holley
c738ac15d2
Bug 885800 - Unwrap CCWs in Cu.isDeadWrapper. r=gabor
2013-06-24 10:02:08 -07:00
Ehsan Akhgari
08ed61c0f0
Bug 885583 - Enable Web Audio unconditionally across mochitests; r=roc
2013-06-23 19:23:02 -04:00
Ms2ger
5a63e5bff8
Bug 882848 - Use MOCHITEST_BROWSER_FILES more; r=gps
2013-06-23 09:16:19 +02:00
Jan Varga
4d7db5e807
Bug 884936 - Add Blob/File support to xpcshell. r=bent
2013-06-21 17:15:46 +02:00
Boris Zbarsky
4728bf4f51
Bug 882653 part 3. Make the "does not implement interface" error reporting better in WebIDL bindings. r=smaug
2013-06-17 13:07:03 -04:00
Bobby Holley
e96bda0ba9
Bug 770840 - Remove XPConnect test that explicitly runs JS on a seperate thread. v1
2013-04-12 15:34:00 -04:00
Bobby Holley
6032157247
Bug 870423 - Tests. r=bz
2013-05-28 10:29:38 -07:00
Mike Shal
994cfe0b6b
Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
...
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Masatoshi Kimura
46330f1dc1
Bug 875155 - Make bug 809674 test self-contained. r=bholley
2013-05-25 07:55:18 +09:00
Bobby Holley
346f85a57c
Bug 862380 - Tests. r=mrbkap
2013-05-22 22:27:15 -06:00
Bobby Holley
58c6661d63
Bug 874083 - Ignore domain in PrepareForWrapping prototype remapping. r=gabor, billm
2013-05-21 07:53:35 -06:00
Bobby Holley
aef9decad9
Bug 871887 - Make sure |this|-binding is correct or marquee event listeners. r=bz
2013-05-20 11:33:49 -06:00
Bobby Holley
2164e47055
Bug 872772 - Tests. r=gabor
2013-05-17 10:44:25 -07:00
Bobby Holley
f16fc9fb32
Bug 871887 - Fix marquee _setEventListener. r=bz
2013-05-15 18:59:53 -07:00
Joey Armstrong
2dbf79e9a4
bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal
2013-05-13 16:24:07 -04:00
Ryan VanderMeulen
153e36ec98
Backed out changesets 6be352955252 and 1bc459138617 (bug 770840) for Android nightly bustage (bug 870782).
...
CLOSED TREE
2013-05-10 12:38:26 -04:00
Bobby Holley
94b63dfc74
Bug 770840 - Remove XPConnect test that explicitly runs JS on a seperate thread. v1
2013-04-12 15:34:00 -04:00
Luke Wagner
b7e2927bf2
Make test_asmjs.html run faster (no bug,r=me)
...
--HG--
extra : rebase_source : 22f32a01d39e1de3ae7e2a070ee1ea01dc4b9a75
2013-05-07 16:47:18 -07:00
Bobby Holley
90cecee36b
Bug 868675 - Tests. r=gabor
2013-05-07 10:09:02 -07:00
Peter Van der Beken
01dccf283c
Bug 855971 - Switch HTMLDocument to WebIDL bindings. r=bz.
2012-12-11 21:45:36 -05:00
Ehsan Akhgari
5005320e02
Backed out 3 changesets (bug 855971, bug 820846) because of browser-chrome test failures
...
Backed out changeset a2245b038bcc (bug 855971)
Backed out changeset 2a999f8ee317 (bug 820846)
Backed out changeset 6dba144500f3 (bug 820846)
2013-05-04 19:27:20 -04:00
Peter Van der Beken
d6817f696b
Bug 855971 - Switch HTMLDocument to WebIDL bindings. r=bz.
...
--HG--
extra : rebase_source : d5ec9a80442e5b9c8df29f6d5971b61cb9b05778
2012-12-11 21:45:36 -05:00
Bobby Holley
4ff0e41f8c
Bug 829872 - Fix up tests that depend on contentDocument being non-null. r=imelven
...
These almost universally depend on some sort of special privileges, so I don't
think they're representative of any use-cases we might find on the web.
2013-05-03 14:47:10 -07:00
Bobby Holley
44f2e6b974
Bug 829872 - Tests. r=bz
2013-05-03 14:47:09 -07:00
Luke Wagner
f13efd21c6
Bug 854209 - add asm.js mochitests (r=sstangl)
2013-05-03 14:45:07 -07:00
Joey Armstrong
8e99512c32
bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS
2013-04-29 14:49:00 -04:00
Bobby Holley
6fd248fb89
Bug 865260 - Use IsXrayWrapper rather than ObjectIsNativeWrapper in nsWindowSH. r=bz
...
There are some other uses of ObjectIsNativeWrapper in other scriptable helpers
that are tempting to remove as well, but it's probably just better to wait for
that stuff to just go away. Given that the issue we're running into here is
Window-specific, there's not a pressing need to fix the other stuff.
2013-04-24 15:21:26 -07:00
Ryan VanderMeulen
5022c76c9e
Backed out changesets b9f7fd0996f0 and c0ab16b6003e (bug 860494) for mochitest failures on a CLOSED TREE.
2013-04-17 12:00:20 -04:00
Bobby Holley
746984d533
Bug 860494 - Tests. r=bz
2013-04-17 10:52:52 -04:00
Gabor Krizsanits
26880f8f17
Bug 820170 - Wrapping nodes into documents compartment. r=bholley
2013-04-17 10:11:53 +02:00
Ms2ger
d61b281c6d
Backout changeset baf184596a7b for build errors on a CLOSED TREE.
2013-04-16 19:07:38 +02:00
Gabor Krizsanits
93fd95ba5e
Bug 820170 - Wrapping nodes into documents compartment. r=bholley
2013-04-16 11:31:26 +02:00
Tom Schuster
6e22249506
Bug 861461 - Resolve this in sandbox.importFunction. r=bholley
2013-04-14 18:45:36 +02:00
Ryan VanderMeulen
b75fade323
Backed out changeset 8ce65f4eb1ba (bug 820170) for suspicion of causing bug 860903 on a CLOSED TREE.
2013-04-12 13:57:46 -04:00
Gabor Krizsanits
63583713b5
Bug 820170 - Wrapping nodes into documents compartment. r=bholley, r=enn
2013-04-11 11:59:42 +02:00
Bobby Holley
1f82d91ffb
Bug 845862 - Transitively apply waivers for accessor descriptors. r=mrbkap
2013-04-03 11:41:22 -07:00
Ehsan Akhgari
9df6dde4c7
Backed out 6 changesets (bug 843829, bug 845862) because of broken mochitest-5
...
Backed out changeset 1df3bdadb7ce (bug 843829)
Backed out changeset 64f001fe04fb (bug 843829)
Backed out changeset 57652d8f0827 (bug 843829)
Backed out changeset 2e889cd77a48 (bug 843829)
Backed out changeset 97d16e7beb27 (bug 843829)
Backed out changeset 6c6ab0e54917 (bug 845862)
Landed on a CLOSED TREE
2013-04-02 23:05:48 -04:00
Bobby Holley
1a6a1730f5
Bug 845862 - Transitively apply waivers for accessor descriptors. r=mrbkap
2013-04-02 18:51:19 -07:00
Boris Zbarsky
425b25741d
Bug 792215. Convert quickstubs to using JSNative getters and setters. r=peterv
2012-09-25 14:44:40 -04: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
Bobby Holley
39581655af
Bug 790732 - Components shim tests. r=mrbkap
2013-03-27 18:27:27 -07:00
Bobby Holley
051df3c359
Bug 790732 - Make Components console warning test pref-aware. r=mrbkap
2013-03-27 18:27:26 -07:00
Phil Ringnalda
fd8c2d8349
Back out 8e59146e161e:29acf1494fed (bug 790732) for failing in exactly the same way it failed on the tryserver
...
CLOSED TREE
2013-03-26 23:40:45 -07:00
Bobby Holley
0cd79bb341
Bug 790732 - Components shim tests. r=mrbkap
2013-03-26 22:18:56 -07:00
Bobby Holley
15b3bbb91a
Bug 790732 - Make Components console warning test pref-aware. r=mrbkap
2013-03-26 22:18:55 -07:00
Bobby Holley
90194b5e74
Bug 854510 - Convert expected assertion into a 0-1 range. r=RyanVM
2013-03-26 09:09:04 -07:00
Bobby Holley
bc6db2a364
Bug 854558 - Enforce __exposedProps__ for Sandboxes. r=gabor
2013-03-26 09:08:29 -07:00
Peter Van der Beken
81ba7f5b84
Fix for bug 853136 (Prepare some tests for HTMLDocument using a WebIDL binding). r=bholley.
...
--HG--
extra : rebase_source : 0a19404b8d40075488568e179088e3c41ee8c4e4
2013-03-14 14:50:46 +01:00
Bobby Holley
014baaf697
Bug 853571 - Tests. r=bz
2013-03-24 09:27:10 -07:00
Bobby Holley
fdbf86827c
Bug 851895 - Tests. r=mrbkap
2013-03-21 08:20:46 -07:00
Bobby Holley
28a4f94860
Bug 658909 - Tests. r=mrbkap
2013-03-21 08:20:45 -07:00
Bobby Holley
93d4b3e2bf
Bug 658909 - Implement carefully-checked unwrapping in XPCCallContext. r=mrbkap
2013-03-21 08:20:42 -07:00
Bobby Holley
3cebc24c68
Bug 853283 - Grab the window directly from the navigator in nsNavigatorSH::NewResolve. r=mrbkap
2013-03-21 08:20:41 -07:00
Ryan VanderMeulen
59aa9e54e3
Backed out changeset 55d19e574b86 (bug 853283) for Windows debug bustage on a CLOSED TREE.
2013-03-21 15:25:14 -04:00
Ryan VanderMeulen
75a33a8191
Backed out 22 changesets (bug 658909) for Windows debug bustage.
2013-03-21 15:24:54 -04:00
Ryan VanderMeulen
9bfb899cee
Backed out 3 changesets (bug 851895) for Windows debug bustage.
2013-03-21 15:24:04 -04:00
Bobby Holley
e83099fd69
Bug 851895 - Tests. r=mrbkap
2013-03-21 08:20:46 -07:00
Bobby Holley
f09db0c385
Bug 658909 - Tests. r=mrbkap
2013-03-21 08:20:45 -07:00
Bobby Holley
867314402d
Bug 658909 - Implement carefully-checked unwrapping in XPCCallContext. r=mrbkap
2013-03-21 08:20:42 -07:00
Bobby Holley
b3f7f775a5
Bug 853283 - Grab the window directly from the navigator in nsNavigatorSH::NewResolve. r=mrbkap
2013-03-21 08:20:41 -07:00
Mike Shal
9680b82df6
Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps
2013-03-19 11:47:00 -07:00
Bobby Holley
4624281c15
Bug 813901 - Tests. r=mrbkap
2013-03-17 21:44:42 -07:00
Ms2ger
0fcece12d8
Backout bug 658909 for Marionette bustage.
2013-03-17 10:44:33 +01:00
Bobby Holley
b3729e720f
Bug 658909 - Tests. r=mrbkap
2013-03-16 22:58:17 -07:00
Bobby Holley
b458ef37b2
Bug 658909 - Implement carefully-checked unwrapping in XPCCallContext. r=mrbkap
2013-03-16 22:58:14 -07:00
Bill McCloskey
a3cea08b3a
Bug 759585 - Zones (r=jonco,bhackett,njn,dvander,luke,bz,mccr8,bholley)
2013-03-16 20:36:37 -07:00
Bobby Holley
30641e3a63
Bug 849730 - Let objectClassIs through for COWs. r=mrbkap
2013-03-13 14:48:59 -07:00
Ryan VanderMeulen
2e0d51cb97
Backed out changeset e44bc308642a (bug 813901) and changeset 19f154ee6f54 (bug 850000) for bustage on a CLOSED TREE.
2013-03-13 13:22:14 -04:00
Bobby Holley
70a841abe2
Bug 813901 - Tests. r=mrbkap
2013-03-13 10:01:36 -07:00
Gregory Szorc
ed102f4876
Merge mozilla-central into build-system
2013-03-13 08:20:09 -07:00
Gregory Szorc
94e8454958
Merge mozilla-central into build-system
...
dom/interfaces/svg/Makefile.in and dom/media/Makefile.in had merge
conflicts. They were resolved by hand. The former needed 2 IDLs removed.
The latter had a context conflict for EXPORTS_NAMESPACES.
2013-03-12 13:04:55 -07:00
Gregory Szorc
7bb3ee056b
Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
...
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Bobby Holley
4b67b8b7c1
Bug 809674 - Tests. r=me
2013-03-11 14:45:21 -07:00
Bobby Holley
11c07cabce
Bug 809652 - Tests. r=jorendorff
2013-03-11 14:45:21 -07:00
Bobby Holley
1c7f0daec3
Bug 805807 - Tests. r=mrbkap
2013-03-11 14:45:20 -07:00
Ryan VanderMeulen
1ce2c3fc86
Backed out 5 changesets (bug 790732) for talos-other hangs/crashes on a CLOSED TREE.
2013-03-05 15:44:15 -05:00
Bobby Holley
cf88b2614c
Bug 790732 - Remove Components warning and Telemetry. r=mrbkap
2013-03-05 10:01:59 -08:00
Jesse Ruderman
1ecc8d3b4a
Bug 404077 followup - remove bug mention from a test. DONTBUILD
2013-03-12 12:36:08 -07:00
Boris Zbarsky
4549dd5886
Bug 776536 part 4. Turn on WebIDL bindings for NodeIterator and TreeWalker. r=peterv
...
The behavior here is a bit weird because Document is still not a
WebIDL object, so calling createNodeIterator or createTreeWalker via
an Xray will call the XPCOM versions of those methods. That means
that I can't just disable XPCOM-based wrapping for TreeWalker and
NodeIterator altogether, unfortunately, which means a web page could
try stashing a TreeWalker in something like userdata and then getting
it back and end up wrapping it as an XPCOM object the second time.
I could "fix" that by adding a wrapper cache and whatnot, I guess, if
desired... But the problem will go away once we convert Document in
any case.
2013-02-28 12:56:42 -05:00
Ryan VanderMeulen
ebcc7ae06a
Backed out 7 changesets (bug 832920, bug 776536, bug 843261) for mochitest-a11y assertions on a CLOSED TREE.
...
--HG--
rename : content/base/src/NodeIterator.cpp => content/base/src/nsNodeIterator.cpp
rename : content/base/src/NodeIterator.h => content/base/src/nsNodeIterator.h
rename : content/base/src/TreeWalker.cpp => content/base/src/nsTreeWalker.cpp
rename : content/base/src/TreeWalker.h => content/base/src/nsTreeWalker.h
2013-02-28 14:41:30 -05:00
Boris Zbarsky
30f64b6cf1
Bug 776536 part 4. Turn on WebIDL bindings for NodeIterator and TreeWalker. r=peterv
...
The behavior here is a bit weird because Document is still not a
WebIDL object, so calling createNodeIterator or createTreeWalker via
an Xray will call the XPCOM versions of those methods. That means
that I can't just disable XPCOM-based wrapping for TreeWalker and
NodeIterator altogether, unfortunately, which means a web page could
try stashing a TreeWalker in something like userdata and then getting
it back and end up wrapping it as an XPCOM object the second time.
I could "fix" that by adding a wrapper cache and whatnot, I guess, if
desired... But the problem will go away once we convert Document in
any case.
2013-02-28 12:56:42 -05:00
Ms2ger
3813557cac
Merge m-i to b-s.
2013-02-28 14:46:10 +01: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
c1b5e29e19
Bug 784841 - Part 18s: Convert /js; r=glandium
2013-02-25 12:47:22 -08:00
Bobby Holley
f84dddd71f
Bug 836301 - Hoist enter() calls from {Xray,}Wrapper::foo into Proxy::foo. r=mrbkap
2013-02-25 13:54:18 -08:00
L. David Baron
9b9f1bc887
Bug 404077: Adjust annotations of expected assertions. CLOSED TREE
2013-02-27 17:58:48 -08:00
Bobby Holley
440bea3fd7
Bug 843711 - Fix up new |Components| culprits in test suite. r=mccr8
2013-02-25 10:43:03 -08:00
Peter Van der Beken
410cee5e49
Fix for bug 844225 (Remove some DOMCI and quickstubs). r=bz.
2013-01-10 10:54:46 +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
Bobby Holley
3ee5ff0ef1
Bug 845201 - Pass mayThrow=true to iterate. r=mrbkap
...
We only want fallback behavior here if the policy decides to fail silently. If
the policy passes *bp == false, we want to just throw.
2013-02-26 16:41:55 -08:00
Masatoshi Kimura
b1f455df2c
Bug 842372 - Part 2: Hide getUserData and setUserData from content. r=bz
2013-02-23 13:46:06 +09:00
L. David Baron
57d19fbb86
Bug 404077: Annotate known assertions in mochitests.
2013-02-25 18:39:21 -08:00
Phil Ringnalda
f3f16b4069
Back out 4d301b2bcad0:e0632e639097 (bug 836301) for Windows build bustage
...
CLOSED TREE
2013-02-22 08:41:37 -08:00
Bobby Holley
1b08378825
Bug 836301 - Hoist enter() calls from {Xray,}Wrapper::foo into Proxy::foo. r=mrbkap
2013-02-22 08:14:34 -08:00
Jonathan Kew
5219b8ae03
backout cset 4ede352670cd (bug 759585) on a CLOSED TREE on suspicion of making windows reftests so slow that they timeout and burn
2013-02-22 09:36:41 +00:00
Bill McCloskey
c330d96d13
Bug 759585 - Change the granularity of collection from compartment to zone (r=jonco,bhackett,njn,dvander,mccr8,bz,luke,bholley)
2013-02-21 18:23:47 -08:00
Bobby Holley
778e86b208
Bug 839867 - Align gecko with the spec on cross-origin access to Location.hash. r=bz
...
We update the tests to cover this case. There was also a bug in the tests where
we were accidentally testing non-writable Location properties against window
rather than window.location. :-(
2013-02-11 00:05:17 +01:00
Boris Zbarsky
704f7c0de4
Bug 839116 followup. Stop depending on <html> elements having a content-visible QueryInterface in the poor CLOSED TREE. r=mrbkap
2013-02-08 15:03:07 +00:00
Peter Van der Beken
e07d1dcdb8
Fix for bug 838228 (toString on an Xray for an interface object should stringify like Function.prototype.toString). r=bz.
...
--HG--
rename : content/html/content/test/test_map_attributes_reflection.html => content/html/content/test/test_ol_attributes_reflection.html
extra : rebase_source : 9bd7efb927e4eac96569ed629ee230dbf555fb63
2013-02-01 15:33:58 +01:00
Boris Zbarsky
b77f5718fe
Bug 838518 part 2. Fix nodeiterator callers per the API change that was made. r=smaug
2013-02-06 14:22:33 +00:00
Boris Zbarsky
e4b4da3503
Bug 838518 part 1. Fix treewalker callers per the API change that was made. r=smaug
2013-02-06 14:22:33 +00:00
Andrew McCreight
8e63ed0ee6
Bug 819131 - Preserve reflector delegate weak map keys. r=billm
2012-05-25 16:07:24 +00:00
Nicholas Nethercote
84a1d83d0a
Bug 833208 (part 5) - Remove e4x support from mochitests. r=jorendorff.
...
--HG--
extra : rebase_source : a88f8ed13299c566df2297729b3a5ddf21fcaafa
2013-01-28 14:55:17 -08:00
Nicholas Nethercote
f7f94fcd8f
Bug 833208 (part 4) - Remove e4x support from xpcshell tests. r=jorendorff.
...
--HG--
extra : rebase_source : a7bd33905120f74e6c242e0c236450dd3be54436
2013-01-30 16:56:16 -08:00
Boris Zbarsky
4386972397
Add a test for WebIDL-weakmap stuff in addition to XPConnect-weakmap. No bug, no review
...
--HG--
rename : js/xpconnect/tests/mochitest/test_bug655297.html => js/xpconnect/tests/mochitest/test_bug655297-1.html
rename : js/xpconnect/tests/mochitest/test_bug655297.html => js/xpconnect/tests/mochitest/test_bug655297-2.html
2013-01-31 01:04:48 -05:00
Bobby Holley
b7fb048ffe
Bug 823348 - Tests. r=mrbkap
...
We tack these onto the tests from bug 812415, adding coverage for
nsExpandedPrincipal and making sure that the waivers are deep.
We also take the opportunity to check the asymmetric security
relationship between a principal and its corresponding nsEP.
2013-01-23 06:04:39 +01:00
Ehsan Akhgari
16e89b722a
Bug 833631 - Unprefix mozAudioContext; r=roc
...
--HG--
extra : rebase_source : 3c477a97ea842a806f6fad6f5c3a81d6e50b27c3
2013-01-22 20:12:21 -05:00
Boris Zbarsky
d53ec45102
Bug 823228 part 2. Move indexed property access on windows from nsWindowSH::GetProperty to the outer window proxy. r=bholley
2013-01-17 12:30:37 -05:00
Andrew McCreight
6f2b4df7a3
Bug 777385 - Support (some) Paris bindings objects as weak map keys. r=peterv
...
This adds support for many kinds of Paris bindings objects as weak map keys.
This patch supports nsISupports objects as well as non-cycle-collected
non-nsISupports objects. What is needed for support is to preserve any wrapper,
if the object is wrapper cached. In other cases, we don't need to do anything.
2012-11-09 10:59:02 -08:00
Chia-hung Tai
08eb1bb588
Bug 825836 - Add Blob into JS component. r=sicking
2013-01-04 15:53:25 +08:00
Boris Zbarsky
6efe50ec6e
Bug 824823 part 0. Fix a test to keep using an XPCWrappedNative element for now until bug 825053 is fixed. Verbal r=peterv
2013-01-04 12:02:13 -05:00
Boris Zbarsky
b04e54f1bc
Bug 816387 part 2. Hook up the Document WebIDL API to quickstubs. r=peterv
2012-12-23 14:34:22 -08:00
Masatoshi Kimura
4a07dc4302
Bug 804834 - Part 1: Fix tests depending on E4X for-each in content JS. r=waldo
2012-12-21 20:47:52 +09:00
Bobby Holley
96738ace0c
Bug 823120 - Fix test. r=philor
...
<script> moves up to head, and the call to document.getElementById moves into go().
2012-12-19 15:27:49 -08:00
Ed Morley
86fd28b774
Bug 820471 - Disable test_weakmaps.xul on Windows for too many intermittent failures
2012-12-17 13:21:18 +00:00
Masatoshi Kimura
816f18b1f1
Bug 818281 - Remove DOMClassInfo remnants from XMLHttpRequest. r=bz
2012-12-16 19:57:12 -05:00
Kyle Huey
947106a519
Bug 811615: Enable chrome code to create a new File object by wrapping an existing Blob and provide a custom name/type. r=sicking a=basecamp-blocking
2012-12-11 13:21:03 -08:00
Bobby Holley
2db9f70258
Bug 813901 - Validate __exposedProps__. r=mrbkap
...
This also involves modifying test_cows to deep clone in getCOW.
2012-12-07 14:49:11 -08:00
Peter Van der Beken
a428926b2d
Fix for bug 812333 (Replace Node quickstubs with new binding methods) - part 2: install Node's binding methods on the XPConnect proto. r=bz.
2012-11-22 12:09:41 +01:00
Bobby Holley
d9bcd00b8c
Bug 812415 - Use wrapperSubsumes rather than isChrome in XPCNativeWrapper.unwrap. r=mrbkap
...
The current behavior breaks same-origin Xrays in sandboxes. This makes it match
the check we do in XrayWrapper.cpp for the .wrappedJSObject property.
2012-11-21 17:55:58 -08:00
Bobby Holley
bd8a491a86
Bug 813394 - Test both |window.location| and |location| in navigated-away-from frame. r=bz
2012-11-21 13:20:05 -08:00
Bobby Holley
c28cb10555
Bug 808608 - Fix test_bug802557. r=bz
...
There are a number of fixes to this important tests, so this warrants a separate
patch.
First of all, the boundTo machinery goes away, because we no longer have same-
compartment Xrays giving us the weird bound methods.
Furthermore, now that the sensitive methods are just regular old methods
off the prototype. They'll fail correctly when used on a same-scope object,
but not for cross-scope XOWs they'll just fail in the
GetWrappedNativeOfJSObject rat's nest (when they can't unwrap the security
wrapper), so we'll just get a generic XPConnect error instead of a security
exception. I want to fix this soon, so I changed the skipMessageCheck stuff
to use todo_is.
However, _that_ caused an UNEXPECTED-PASS for the DefaultValue test (which
was the only one of the array of tests that was throwing a security exception
in step 2). So I added an annotation for that in item[2].
2012-11-21 13:20:05 -08:00
Bobby Holley
7d7d751a1e
Bug 808608 - Fix up tests to work with new behavior. r=bz,me
2012-11-21 13:20:05 -08:00
Bobby Holley
ba7fe4f990
Bug 808608 - Remove special testing for Location in test_bug505915. r=me
...
Removing test coverage isn't great. But the only reason this test is doing all
this funny stuff with Location is that it thinks that it's always wrapped in
an Xray wrapper and that we always do a dynamic security check, which is no
longer true. Moreover, it checks for very specific error messages, which are
kind of in flux right now as I'm fixing up GWNOJO. The calls are never going
to actually succeed (since location isn't a Node), so it's not really clear
how to fix up this test to do something uniquely useful in a readable way.
I've added enough Location test coverage recently that I'm comfortable removing
this part.
2012-11-21 13:20:05 -08:00
Bobby Holley
71708ef37a
Bug 808608 - Rescue expando sharing tests. r=mrbkap
...
We have a very nice and robust infrastructure for per-origin expando sharing
for Xrays. Unfortunately, the only way to currently exercise it is with
Location objects, since those are the only objects with same-origin Xrays
(cross-origin Xrays don't allow expandos at all). Sandbox wantXrays would
almost work here, but we actually make an explicit exception for sandboxes
so that they never share expandos (the 'exlusive global' stuff).
I think the infrastructure is nice and that we may want it in the future, so
I don't really want to back it out. But I also don't want to leave it in the
tree untested. So I'm adding an explicit Cu API to force DOM compartments to
use same-origin Xrays. This allows us to keep testing this stuff, which I think
is important.
2012-11-21 13:20:04 -08:00
Benjamin Peterson
682af1e5b6
Bug 795104 - Sources with a custom charset can't be lazily loaded. r=bz
2012-11-20 11:30:03 -06:00
Kannan Vijayan
a6cbed5194
Bug 803730 - Mochitest for bug.
2012-11-15 22:57:18 -05:00
Bobby Holley
f96e25a00c
Bug 569506 - Tearoff tests. r=mrbkap
2012-11-14 10:15:13 -08:00
Bobby Holley
429f1cfe90
Bug 809547 - Tests. r=bz
2012-11-07 22:40:48 -08:00
Bobby Holley
4bb1e8b3f7
Bug 802557 - Mochitests. r=bz
2012-11-07 15:43:09 -08:00
Nathan Froyd
6cd8a16138
Backout a9cfcf4b62d9 (bug 803730), a5e214d4f8b0 (bug 803730), for intermittent oranges in newly added tests
2012-11-07 14:58:29 -05:00
Kannan Vijayan
fc947af223
Bug 803730 - Add mochitest for bug.
2012-11-07 13:03:31 -05:00
Bobby Holley
5ede664aac
Bug 809318 - Fix flakey tests. r=philor
2012-11-07 09:39:32 -08:00
Bobby Holley
35a5c3a7c6
Bug 800864 - Add some more tests. r=bz
2012-11-05 17:15:53 -08:00
Bobby Holley
60c3e2181b
Bug 793969 - Tests. r=mrbkap
2012-11-05 17:10:34 -08:00
Bobby Holley
a4ce179e40
Bug 731471 - Crashtesty-mochitest. r=me
2012-11-04 07:41:01 -08:00
Bobby Holley
c351c18d32
Bug 805807 - Make Components wrapper throw on denial. r=mrbkap
...
There's really no reason to use the wishy-washy static COW Deny() here.
Also, note that the xpcshell-test wasn't testing what it thought it
was - interfaces is accessible from content code.
2012-11-02 21:47:49 -03:00
Peter Van der Beken
5f0fc13698
Test for bug 798264.
2012-10-12 12:48:25 +02:00
Ed Morley
b159aab211
Backout 23c9f61a243b & 6ca11f4b470c (bug 805807) for mochitest-1 orange in test_contextmenu.html
2012-11-02 14:12:51 +00:00
Bobby Holley
ac090a0e20
Bug 805807 - Make Components wrapper throw on denial. r=mrbkap
...
There's really no reason to use the wishy-washy static COW Deny() here.
Also, note that the xpcshell-test wasn't testing what it thought it
was - interfaces is accessible from content code.
2012-11-02 13:27:59 +01:00
Kyle Huey
1482122303
Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
...
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Vicamo Yang
8297cdabd6
Backout 67cb43bb8865: Breaks B2G Marionette
2012-10-31 16:35:11 +08:00
Bobby Holley
ce50e5bd1b
Bug 804630 - Tests for exposing prototype properties on a derived object. r=mrbkap
2012-10-30 18:29:11 +01:00
Kyle Huey
bdf47895bb
Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
2012-10-30 12:28:11 -07:00
Ed Morley
777eed8444
Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE
2012-10-30 17:02:31 +00:00