Masatoshi Kimura
ad384dbcf6
Bug 856424 - Unpref Components for content. r=bholley
2013-08-20 02:44:31 +09:00
Gabor Krizsanits
5e531c269c
Bug 877673 - Part2: Export helpers for sandbox. r=bholley
2013-08-19 11:46:36 +02:00
Gregory Szorc
df453f8483
Bug 850380 - Derecursify and optimize XPIDL processing and move into precompile tier; r=glandium
2013-08-14 08:40:25 -07:00
Ryan VanderMeulen
fab2c2a3c8
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
263f163332
Bug 896177 - Remove more config.mk includes; r=gps
2013-07-17 16:07:14 -04:00
Gregory Szorc
d87c91cf0c
Bug 850380 - Derecursify and optimize XPIDL processing and move into precompile tier; r=glandium
2013-08-14 08:40:25 -07:00
Masatoshi Kimura
9da15f76e5
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
f3d03f59de
Bug 894448 part 2 - Remove nativeOwnership = 'nsisupports'. r=bzbarsky
2013-07-04 17:24:59 +02:00
Bobby Holley
ba2b09a6d5
Bug 897789 - Add a fuzz factor to watchdog tests. r=Waldo
...
CLOSED TREE
2013-07-24 23:00:22 -04:00
Bobby Holley
7f34ef8467
Bug 870043 - Watchdog tests. r=mrbkap
2013-07-24 15:33:32 -07:00
Bill McCloskey
050814f5b7
Bug 895340 - Fix error reporting of JS exceptions from C++ (r=bholley)
2013-07-23 08:32:36 -07:00
Masatoshi Kimura
769fcf1170
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
972a7ce908
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
5103d820f9
Bug 715549 - remove last vestiges of tri-licence. DONTBUILD.
2013-07-19 16:08:33 +01:00
Boris Zbarsky
2e1a03a7a3
Bug 838146 part 10. Turn on WebIDL bindings for Navigator. r=smaug
2013-07-12 10:37:23 -04:00
Gregory Szorc
19850b9b8e
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
ce5879ea33
Bug 867486 - Remove |Components| from content sandboxes. r=gabor
2013-07-08 10:05:31 -07:00
Bobby Holley
05ff64f03e
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
c50e85f8d8
Bug 885800 - Unwrap CCWs in Cu.isDeadWrapper. r=gabor
2013-06-24 10:02:08 -07:00
Ehsan Akhgari
2144715779
Bug 885583 - Enable Web Audio unconditionally across mochitests; r=roc
2013-06-23 19:23:02 -04:00
Ms2ger
f63886acfe
Bug 882848 - Use MOCHITEST_BROWSER_FILES more; r=gps
2013-06-23 09:16:19 +02:00
Jan Varga
5621983a23
Bug 884936 - Add Blob/File support to xpcshell. r=bent
2013-06-21 17:15:46 +02:00
Boris Zbarsky
5b3cb06a12
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
3eee30d40b
Bug 770840 - Remove XPConnect test that explicitly runs JS on a seperate thread. v1
2013-04-12 15:34:00 -04:00
Bobby Holley
51c4d0224a
Bug 870423 - Tests. r=bz
2013-05-28 10:29:38 -07:00
Mike Shal
5169c0a913
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
bf3edb05d3
Bug 875155 - Make bug 809674 test self-contained. r=bholley
2013-05-25 07:55:18 +09:00
Bobby Holley
d73a980e09
Bug 862380 - Tests. r=mrbkap
2013-05-22 22:27:15 -06:00
Bobby Holley
0906eb3ba9
Bug 874083 - Ignore domain in PrepareForWrapping prototype remapping. r=gabor, billm
2013-05-21 07:53:35 -06:00
Bobby Holley
9891ac1aa1
Bug 871887 - Make sure |this|-binding is correct or marquee event listeners. r=bz
2013-05-20 11:33:49 -06:00
Bobby Holley
b6d7d007be
Bug 872772 - Tests. r=gabor
2013-05-17 10:44:25 -07:00
Bobby Holley
bf482503be
Bug 871887 - Fix marquee _setEventListener. r=bz
2013-05-15 18:59:53 -07:00
Joey Armstrong
26736a0ee2
bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal
2013-05-13 16:24:07 -04:00
Ryan VanderMeulen
e9058c72dc
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
85783779fe
Bug 770840 - Remove XPConnect test that explicitly runs JS on a seperate thread. v1
2013-04-12 15:34:00 -04:00
Luke Wagner
1186c0f94c
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
b714aad3a8
Bug 868675 - Tests. r=gabor
2013-05-07 10:09:02 -07:00
Peter Van der Beken
dfbadfdb0e
Bug 855971 - Switch HTMLDocument to WebIDL bindings. r=bz.
2012-12-11 21:45:36 -05:00
Ehsan Akhgari
75c12cc4b0
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
1c3055ed84
Bug 855971 - Switch HTMLDocument to WebIDL bindings. r=bz.
...
--HG--
extra : rebase_source : d5ec9a80442e5b9c8df29f6d5971b61cb9b05778
2012-12-11 21:45:36 -05:00
Bobby Holley
a852984d89
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
f3f2af8bf6
Bug 829872 - Tests. r=bz
2013-05-03 14:47:09 -07:00
Luke Wagner
17413b0bc4
Bug 854209 - add asm.js mochitests (r=sstangl)
2013-05-03 14:45:07 -07:00
Joey Armstrong
321d063783
bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS
2013-04-29 14:49:00 -04:00
Bobby Holley
acac520e2e
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
040af911d4
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
0fcaa3f3cd
Bug 860494 - Tests. r=bz
2013-04-17 10:52:52 -04:00
Gabor Krizsanits
66e6c6755e
Bug 820170 - Wrapping nodes into documents compartment. r=bholley
2013-04-17 10:11:53 +02:00
Ms2ger
c16f555360
Backout changeset baf184596a7b for build errors on a CLOSED TREE.
2013-04-16 19:07:38 +02:00
Gabor Krizsanits
8749ed3364
Bug 820170 - Wrapping nodes into documents compartment. r=bholley
2013-04-16 11:31:26 +02:00
Tom Schuster
6ae8c9253f
Bug 861461 - Resolve this in sandbox.importFunction. r=bholley
2013-04-14 18:45:36 +02:00
Ryan VanderMeulen
7b5cb126eb
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
35c3d355eb
Bug 820170 - Wrapping nodes into documents compartment. r=bholley, r=enn
2013-04-11 11:59:42 +02:00
Bobby Holley
38f05e866f
Bug 845862 - Transitively apply waivers for accessor descriptors. r=mrbkap
2013-04-03 11:41:22 -07:00
Ehsan Akhgari
eadd54865e
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
c6e721524b
Bug 845862 - Transitively apply waivers for accessor descriptors. r=mrbkap
2013-04-02 18:51:19 -07:00
Boris Zbarsky
0745baf88c
Bug 792215. Convert quickstubs to using JSNative getters and setters. r=peterv
2012-09-25 14:44:40 -04: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
Bobby Holley
c876f38aa7
Bug 790732 - Components shim tests. r=mrbkap
2013-03-27 18:27:27 -07:00
Bobby Holley
65e5ff9ff4
Bug 790732 - Make Components console warning test pref-aware. r=mrbkap
2013-03-27 18:27:26 -07:00
Phil Ringnalda
6463b16c25
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
324bac32c7
Bug 790732 - Components shim tests. r=mrbkap
2013-03-26 22:18:56 -07:00
Bobby Holley
89264d7aee
Bug 790732 - Make Components console warning test pref-aware. r=mrbkap
2013-03-26 22:18:55 -07:00
Bobby Holley
28b2d974b3
Bug 854510 - Convert expected assertion into a 0-1 range. r=RyanVM
2013-03-26 09:09:04 -07:00
Bobby Holley
0cdff77326
Bug 854558 - Enforce __exposedProps__ for Sandboxes. r=gabor
2013-03-26 09:08:29 -07:00
Peter Van der Beken
9a1b39f5e4
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
62743abe48
Bug 853571 - Tests. r=bz
2013-03-24 09:27:10 -07:00
Bobby Holley
1b5cf28332
Bug 851895 - Tests. r=mrbkap
2013-03-21 08:20:46 -07:00
Bobby Holley
7b89d994f6
Bug 658909 - Tests. r=mrbkap
2013-03-21 08:20:45 -07:00
Bobby Holley
b945d5623d
Bug 658909 - Implement carefully-checked unwrapping in XPCCallContext. r=mrbkap
2013-03-21 08:20:42 -07:00
Bobby Holley
da800d21ef
Bug 853283 - Grab the window directly from the navigator in nsNavigatorSH::NewResolve. r=mrbkap
2013-03-21 08:20:41 -07:00
Ryan VanderMeulen
24149ccf41
Backed out changeset 55d19e574b86 (bug 853283) for Windows debug bustage on a CLOSED TREE.
2013-03-21 15:25:14 -04:00
Ryan VanderMeulen
318dfacf98
Backed out 22 changesets (bug 658909) for Windows debug bustage.
2013-03-21 15:24:54 -04:00
Ryan VanderMeulen
bc1fb5dbbc
Backed out 3 changesets (bug 851895) for Windows debug bustage.
2013-03-21 15:24:04 -04:00
Bobby Holley
9b58500952
Bug 851895 - Tests. r=mrbkap
2013-03-21 08:20:46 -07:00
Bobby Holley
a702987369
Bug 658909 - Tests. r=mrbkap
2013-03-21 08:20:45 -07:00
Bobby Holley
9a8ea3591c
Bug 658909 - Implement carefully-checked unwrapping in XPCCallContext. r=mrbkap
2013-03-21 08:20:42 -07:00
Bobby Holley
8e9287775b
Bug 853283 - Grab the window directly from the navigator in nsNavigatorSH::NewResolve. r=mrbkap
2013-03-21 08:20:41 -07:00
Mike Shal
7ecea60097
Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps
2013-03-19 11:47:00 -07:00
Bobby Holley
a133332670
Bug 813901 - Tests. r=mrbkap
2013-03-17 21:44:42 -07:00
Ms2ger
57f408ca00
Backout bug 658909 for Marionette bustage.
2013-03-17 10:44:33 +01:00
Bobby Holley
4724712dda
Bug 658909 - Tests. r=mrbkap
2013-03-16 22:58:17 -07:00
Bobby Holley
47f71c387a
Bug 658909 - Implement carefully-checked unwrapping in XPCCallContext. r=mrbkap
2013-03-16 22:58:14 -07:00
Bill McCloskey
c7ddf51a4f
Bug 759585 - Zones (r=jonco,bhackett,njn,dvander,luke,bz,mccr8,bholley)
2013-03-16 20:36:37 -07:00
Bobby Holley
510b8a85e9
Bug 849730 - Let objectClassIs through for COWs. r=mrbkap
2013-03-13 14:48:59 -07:00
Ryan VanderMeulen
06be39f3ec
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
6ab9134c42
Bug 813901 - Tests. r=mrbkap
2013-03-13 10:01:36 -07:00
Gregory Szorc
426ac0cdd3
Merge mozilla-central into build-system
2013-03-13 08:20:09 -07:00
Gregory Szorc
de55b5242b
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
c865547d94
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
a2e37fc5a7
Bug 809674 - Tests. r=me
2013-03-11 14:45:21 -07:00
Bobby Holley
237fcbb44b
Bug 809652 - Tests. r=jorendorff
2013-03-11 14:45:21 -07:00
Bobby Holley
ac18e568ff
Bug 805807 - Tests. r=mrbkap
2013-03-11 14:45:20 -07:00
Ryan VanderMeulen
ed6506d74a
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
1b0d5f1edc
Bug 790732 - Remove Components warning and Telemetry. r=mrbkap
2013-03-05 10:01:59 -08:00
Jesse Ruderman
a332c4ce0d
Bug 404077 followup - remove bug mention from a test. DONTBUILD
2013-03-12 12:36:08 -07:00
Boris Zbarsky
8cfff048ee
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
c952e87e03
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
08d376c598
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
8fedd090cc
Merge m-i to b-s.
2013-02-28 14:46:10 +01: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
c832d55dac
Bug 784841 - Part 18s: Convert /js; r=glandium
2013-02-25 12:47:22 -08:00
Bobby Holley
59d3c6c36d
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
b71f255ba0
Bug 404077: Adjust annotations of expected assertions. CLOSED TREE
2013-02-27 17:58:48 -08:00
Bobby Holley
07f2fa5d3f
Bug 843711 - Fix up new |Components| culprits in test suite. r=mccr8
2013-02-25 10:43:03 -08:00
Peter Van der Beken
3f112891fb
Fix for bug 844225 (Remove some DOMCI and quickstubs). r=bz.
2013-01-10 10:54:46 +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
Bobby Holley
2b5b1bffe9
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
cd9eabebe7
Bug 842372 - Part 2: Hide getUserData and setUserData from content. r=bz
2013-02-23 13:46:06 +09:00
L. David Baron
a8ee400190
Bug 404077: Annotate known assertions in mochitests.
2013-02-25 18:39:21 -08:00
Phil Ringnalda
7529e0b16b
Back out 4d301b2bcad0:e0632e639097 (bug 836301) for Windows build bustage
...
CLOSED TREE
2013-02-22 08:41:37 -08:00
Bobby Holley
bdcb37109c
Bug 836301 - Hoist enter() calls from {Xray,}Wrapper::foo into Proxy::foo. r=mrbkap
2013-02-22 08:14:34 -08:00
Jonathan Kew
9c8145baf7
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
a133579459
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
047d41c0d3
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
a615d54fc7
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
ce4e224f4b
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
c5497770e8
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
1ee4c73471
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
b6b93daa9e
Bug 819131 - Preserve reflector delegate weak map keys. r=billm
2012-05-25 09:07:24 -07:00
Nicholas Nethercote
c349516181
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
6c3a8a3184
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
fb9ecce4ea
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
4bd7c14e71
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
35865c44e0
Bug 833631 - Unprefix mozAudioContext; r=roc
...
--HG--
extra : rebase_source : 3c477a97ea842a806f6fad6f5c3a81d6e50b27c3
2013-01-22 20:12:21 -05:00
Boris Zbarsky
06072bf404
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
b32a806834
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
fda0d9b634
Bug 825836 - Add Blob into JS component. r=sicking
2013-01-04 15:53:25 +08:00
Boris Zbarsky
76c95fb6ab
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
b39b127157
Bug 816387 part 2. Hook up the Document WebIDL API to quickstubs. r=peterv
2012-12-23 14:34:22 -08:00
Masatoshi Kimura
4b5034efa3
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
a382d6628d
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
804adf7a93
Bug 820471 - Disable test_weakmaps.xul on Windows for too many intermittent failures
2012-12-17 13:21:18 +00:00
Masatoshi Kimura
b92c391adc
Bug 818281 - Remove DOMClassInfo remnants from XMLHttpRequest. r=bz
2012-12-16 19:57:12 -05:00
Kyle Huey
452869c48c
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
8d249e9c73
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
47915af064
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
26b63d0f22
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
bd2ae43bd9
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
b639984487
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
abee0881bb
Bug 808608 - Fix up tests to work with new behavior. r=bz,me
2012-11-21 13:20:05 -08:00
Bobby Holley
234ba415b6
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
3eb5b58cea
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
2726941d91
Bug 795104 - Sources with a custom charset can't be lazily loaded. r=bz
2012-11-20 11:30:03 -06:00
Kannan Vijayan
96d5dc12c8
Bug 803730 - Mochitest for bug.
2012-11-15 22:57:18 -05:00
Bobby Holley
6a7c5df33e
Bug 569506 - Tearoff tests. r=mrbkap
2012-11-14 10:15:13 -08:00