Commit Graph

545 Commits

Author SHA1 Message Date
Ed Morley
117feef833 Backed out changeset 6d172e86ce2e (bug 1022002) for tipping Android 2.3 reftest-6 runtimes over the max time limit 2014-06-10 15:08:49 +01:00
Gijs Kruitbosch
3d2c220651 Bug 1022002 - make cloneInto create functions that clone their arguments, r=bholley 2014-06-09 19:09:51 +01:00
Bobby Holley
a652a1bba2 Bug 1021312 - Followup to fix incorrect test. r=me on a CLOSED TREE 2014-06-06 13:49:38 -07:00
Wes Kocher
0ea1bf7eb5 Backed out 2 changesets (bug 1021312, bug 1020460) for apparently causing jsreftest orange on a CLOSED TREE
Backed out changeset eca7bdeb0c6e (bug 1020460)
Backed out changeset 965578443062 (bug 1021312)
2014-06-06 15:00:10 -07:00
Bobby Holley
518f1c8a2b Bug 1021312 - Followup to fix incorrect test. r=me 2014-06-06 13:49:38 -07:00
Bobby Holley
ceedb2c411 Bug 1021258 - Restore the __proto__ mutation warning for __proto__ sets. r=luke 2014-06-06 12:21:36 +01:00
Bobby Holley
833a04ca14 Bug 987111 - Tests. r=gabor 2014-06-05 22:32:39 -07:00
Bobby Holley
eb1adb7e90 Bug 987111 - Add test coverage to make sure we don't add new Xrayable functionality without auditing it. r=gabor 2014-06-05 22:32:37 -07:00
Bobby Holley
66bc41a41a Bug 1021312 - Tests. r=mccr8 2014-06-05 22:32:36 -07:00
Wes Kocher
9ae67107e8 Backed out changeset 8b809afd1cea (bug 1021258) for Android m8 bustage on a CLOSED TREE 2014-06-05 18:23:22 -07:00
Bobby Holley
8269d88340 Bug 1021258 - Restore the __proto__ mutation warning for __proto__ sets. r=luke 2014-06-05 16:24:07 -07:00
Wes Kocher
a0fb5a53d9 Backed out 13 changesets (bug 987111) for disagreeing with some patch from b-i or fx-team in tonight's merge to hopefully fix a CLOSED TREE
Backed out changeset d4e390ceac27 (bug 987111)
Backed out changeset 5f88b5ef9496 (bug 987111)
Backed out changeset cdfd24ddf448 (bug 987111)
Backed out changeset 7883150e5471 (bug 987111)
Backed out changeset 407c7ca82ada (bug 987111)
Backed out changeset e7140ccf7e09 (bug 987111)
Backed out changeset 0a4d18d6306f (bug 987111)
Backed out changeset e7b7548867d9 (bug 987111)
Backed out changeset 944d128f135a (bug 987111)
Backed out changeset 33860f30fc4f (bug 987111)
Backed out changeset 518a915fb81b (bug 987111)
Backed out changeset 7576a51cf72e (bug 987111)
Backed out changeset 1a8dc1af9de6 (bug 987111)
2014-06-04 22:12:50 -07:00
Bobby Holley
febfb58743 Bug 987111 - Tests. r=gabor 2014-06-04 15:12:27 -07:00
Bobby Holley
096e8dd973 Bug 987111 - Add test coverage to make sure we don't add new Xrayable functionality without auditing it. r=gabor 2014-06-04 15:12:26 -07:00
Bobby Holley
0636aa6770 Bug 972987 - Implement Xrays to self-hosted methods and properties. r=till,gabor 2014-06-02 13:55:20 -07:00
Bobby Holley
cbd5c13ca0 Bug 1015380 - Fix up tests that will break with Object Xrays. r=gabor 2014-05-28 11:14:27 -07:00
Peter Van der Beken
3f55868a69 Bug 789261 - Enable WebIDL bindings for Window. r=bz.
--HG--
extra : rebase_source : 4ee28872adf9d03d9dc28880426383224359fd78
2014-04-08 20:48:37 +02:00
Peter Van der Beken
3c18fdf069 Backout 82e3d6f25c5f (bug 789261). 2014-05-25 18:50:27 +02:00
Peter Van der Beken
fd17683306 Bug 789261 - Enable WebIDL bindings for Window. r=bz.
--HG--
extra : rebase_source : 4c515e4a41e622f195a81904e1f896c492831440
2014-04-08 20:48:37 +02:00
Bobby Holley
9cad68a527 Bug 997440 - Use the WrappedJS's global as an entry global. r=bz
This basically means that baseURI will be relative to global in which the code
is defined, which seems reasonable.
2014-05-20 22:52:20 -07:00
Bobby Holley
239818f4e1 Bug 997440 - Fix an XPConnect test bug. r=bz
This failure is currently being silently squelched on trunk.
2014-05-20 22:52:19 -07:00
Wes Kocher
bd1a784c76 Backed out changeset c744c837c732 (bug 789261) for Gaia-unit test bustage on a CLOSED TREE 2014-05-19 15:20:43 -07:00
Peter Van der Beken
c9832d2f31 Bug 789261 - Enable WebIDL bindings for Window. r=bz.
--HG--
extra : rebase_source : ae0d50133962c86ecdb7bf60f5ec8d359f681ac0
2014-04-08 20:48:37 +02:00
Peter Van der Beken
11c7284be9 Bug 1010955 - Fix tests so they'll work with Window on WebIDL bindings. r=bz.
--HG--
rename : content/media/webspeech/synth/ipc/test/test_ipc.html => content/media/webspeech/synth/ipc/test/file_ipc.html
2014-02-15 22:12:35 +01:00
Carsten "Tomcat" Book
2fb1104640 Backed out changeset 46c16792274f (bug 1010955) for suspicion of causing memory leaks on a CLOSED TREE 2014-05-19 15:02:58 +02:00
Peter Van der Beken
a74f42c6f9 Bug 1010955 - Fix tests so they'll work with Window on WebIDL bindings. r=bz.
--HG--
rename : content/media/webspeech/synth/ipc/test/test_ipc.html => content/media/webspeech/synth/ipc/test/file_ipc.html
extra : rebase_source : c7dc7fc44717ad6bf5381ecb8a537bf698ee962e
2014-02-15 22:12:35 +01:00
Girish Sharma
50fa2456f1 Bug 1004487 - Add Cu.isModuleLoaded method to know if a resource has been loaded via Cu.import, r=bholley 2014-05-15 23:52:45 +05:30
Bobby Holley
9086fb6ef0 Bug 1008006 - Use a helper to avoid repeated computations of various dependencies. r=gabor 2014-05-12 14:37:46 -07:00
Brian Grinstead
57fe62ba5f Bug 1002280 - ID starting with numeric value crashes the devtools DOM inspector;r=jwalker,bholley 2014-05-09 09:58:26 -05:00
Ehsan Akhgari
00c59e88cf Bug 1005706 - Remove the manual install rules from js/xpconnect/tests/components/js/Makefile.in; r=mshal 2014-05-05 21:28:10 -04:00
Bobby Holley
3ff83a1058 Bug 1005806 - HTMLInputElement.controllers should be [ChromeOnly]. r=bz 2014-05-05 10:49:24 -07:00
Ehsan Akhgari
7f2132298a Bug 1002313 - Fix the test for bug 503926 so that it doesn't rely on nsIDOMNode being scriptable; r=bzbarsky 2014-04-28 19:58:34 -04:00
Birunthan Mohanathas
ff8ce9bd42 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Bobby Holley
b0a46a20d7 Bug 1001094 - Give nsJSID classinfo. r=mrbkap 2014-04-24 13:23:27 -07:00
Ehsan Akhgari
323eb451e8 Bug 998738 - Kill nsIDOMXPathNamespace (and window.XPathNamespace); r=smaug 2014-04-24 12:07:44 -04:00
Bobby Holley
415f46fd09 Bug 990353 - Make discardSource a Sandbox option and use it (even in Desktop) for the precompilation scope. r=luke 2014-04-22 14:08:29 -07:00
Bobby Holley
b04a43d9d7 Bug 990353 - Tests. r=bent 2014-04-22 14:08:28 -07:00
Bobby Holley
ce783bfe79 Bug 990353 - Give tests/chrome its own moz.build file, like tests/mochitest. r=mshal
We also add a mochitest.ini file, which will eventually be used for http-served
files that are associated with chrome mochitests.
2014-04-22 14:08:28 -07:00
Bobby Holley
65765653a9 Bug 998083 - Introduce Cu.getObjectPrincipal and kill nsIScriptSecurityManager::GetObjectPrincipal. r=gabor 2014-04-19 10:39:59 -07:00
Phil Ringnalda
380621d27b Back out 8 changesets (bug 990353) for gaia-integration bustage
CLOSED TREE

Backed out changeset f6b3c03454a4 (bug 990353)
Backed out changeset 6e1f9b821ae0 (bug 990353)
Backed out changeset 2926ad6c594f (bug 990353)
Backed out changeset 74b75c155205 (bug 990353)
Backed out changeset 394e09fe2da2 (bug 990353)
Backed out changeset 0fdd36b19a51 (bug 990353)
Backed out changeset 0792729890cc (bug 990353)
Backed out changeset 487e6f72fcf7 (bug 990353)
2014-04-19 08:37:32 -07:00
Bobby Holley
bad6050c41 Bug 990353 - Tests. r=bent 2014-04-18 23:46:27 -07:00
Bobby Holley
8b91401a8c Bug 990353 - Give tests/chrome its own moz.build file, like tests/mochitest. r=mshal
We also add a mochitest.ini file, which will eventually be used for http-served
files that are associated with chrome mochitests.
2014-04-18 23:46:27 -07:00
Gabor Krizsanits
bc997f54ab Bug 996069 - Part3: Stop inheriting nsEP when window.open is called. r=bz 2014-04-16 22:29:57 +02:00
Bobby Holley
db7038119f Bug 993423 - Don't hoist <svg:use> content into the XBL scope. r=smaug 2014-04-14 20:38:54 -07:00
Olli Pettay
f2b59ae546 Bug 688580 - Run deferred scripts before DOMContentLoaded; r=hsivonen 2014-04-12 11:02:21 +02:00
Peter Van der Beken
a12d286723 Bug 984497 - Use SpecialPowers more and change SpecialPower usage to deal with Window on WebIDL bindings. r=bz.
--HG--
rename : content/media/webspeech/synth/test/test_setup.html => content/media/webspeech/synth/test/file_setup.html
rename : content/media/webspeech/synth/test/test_speech_queue.html => content/media/webspeech/synth/test/file_speech_queue.html
rename : content/media/webspeech/synth/test/test_speech_simple.html => content/media/webspeech/synth/test/file_speech_simple.html
extra : rebase_source : 687daf9d78e69fe6ae21f7c1a26503cf88a18b97
2014-02-15 22:12:34 +01:00
Peter Van der Beken
7741df1efa Back out 75c95dac7fe0 (bug 984497) and f1b0d3d13755 (bug 990475) to fix bustage on a CLOSED TREE.
--HG--
extra : rebase_source : a63315cd428faeb95464f6ad76946d1c0c6d36c3
2014-04-07 22:18:53 +02:00
Peter Van der Beken
8cf720bdb0 Bug 984497 - Use SpecialPowers more and change SpecialPower usage to deal with Window on WebIDL bindings. r=bz.
--HG--
rename : content/media/webspeech/synth/test/test_setup.html => content/media/webspeech/synth/test/file_setup.html
rename : content/media/webspeech/synth/test/test_speech_queue.html => content/media/webspeech/synth/test/file_speech_queue.html
rename : content/media/webspeech/synth/test/test_speech_simple.html => content/media/webspeech/synth/test/file_speech_simple.html
extra : rebase_source : 3662ae8b0f35fefb250c9cd048e848d662863855
2014-02-15 22:12:34 +01:00
Mark Hammond
cd2c8e6c5b Bug 987404 - Disable failing mochitest-browser tests in e10s. r=ted. 2014-04-02 10:53:55 +11:00
Masatoshi Kimura
62ca863526 Bug 988122 - Expose Promise on non-window non-worker globals. r=bholley sr=bz 2014-03-29 15:55:53 +09:00
Gabor Krizsanits
b368adf53a Bug 985472 - cloneInto for sandbox. r=bholley 2014-03-25 16:21:56 +01:00
Gabor Krizsanits
8e3d1d7a05 Bug 966609 - nsWrapperCache for SandboxPrivate. r=bholley 2014-03-24 16:00:52 +01:00
Bobby Holley
a9c7ecee69 Bug 986542 - Don't categorically disable script for detached docshells. r=bz 2014-03-23 12:54:18 -03:00
Phil Ringnalda
bd5dc6100a Merge m-c to m-i 2014-03-23 08:43:23 -07:00
Bobby Holley
65bdef473a Bug 975042 - Tests. r=peterv
We try to make this test machinery reusable for future Xrayable JS objects.
2014-03-23 11:02:14 -03:00
Bobby Holley
c3ea2d36c4 Bug 975042 - Update expando sharing tests to test the Xray-to-JS case. r=peterv 2014-03-23 11:02:14 -03:00
Bobby Holley
a36edc6394 Bug 975042 - Enable JS Xray for the Date object. r=peterv 2014-03-23 11:02:14 -03:00
Bobby Holley
0a3a4dab47 Bug 975042 - Remove the special COW support for Date. r=peterv
As soon as Date is on Xrays, this stuff won't work anyway. Henceforth, content
access to chrome Date objects is forbidden, and APIs should use something like
|new contentWindow.Date()| for any Date object they wish to expose to content.
2014-03-23 11:02:12 -03:00
Dave Townsend
363d510707 Bug 986107: Make new sandboxes inherit the metadata of the creating sandbox by default. r=bholley 2014-03-21 19:57:42 -07:00
Carsten "Tomcat" Book
9468864ecc Backed out changeset f787c0fa465e (bug 975042) for B2G ICS Emulator M7 Orange on a CLOSED TREE 2014-03-21 08:48:40 +01:00
Carsten "Tomcat" Book
f8212b78d2 Backed out changeset 1b62c8f1c211 (bug 975042) 2014-03-21 08:47:41 +01:00
Carsten "Tomcat" Book
d8d768555c Backed out changeset 16da792be5f8 (bug 975042) 2014-03-21 08:47:40 +01:00
Carsten "Tomcat" Book
dbdb175c96 Backed out changeset 767ce92ebaf1 (bug 975042) 2014-03-21 08:47:36 +01:00
Boris Zbarsky
b138bfaeec Bug 980962. Fix in-tree consumers to not construct typed arrays without "new". r=jorendorff 2014-03-20 23:19:42 -04:00
Bobby Holley
35f8f8d688 Bug 975042 - Tests. r=peterv
We try to make this test machinery reusable for future Xrayable JS objects.
2014-03-20 23:47:25 -03:00
Bobby Holley
fb059d76d6 Bug 975042 - Update expando sharing tests to test the Xray-to-JS case. r=peterv 2014-03-20 23:47:25 -03:00
Bobby Holley
b28a8e3b81 Bug 975042 - Enable JS Xray for the Date object. r=peterv 2014-03-20 23:47:24 -03:00
Bobby Holley
ba01d93b50 Bug 975042 - Remove the special COW support for Date. r=peterv
As soon as Date is on Xrays, this stuff won't work anyway. Henceforth, content
access to chrome Date objects is forbidden, and APIs should use something like
|new contentWindow.Date()| for any Date object they wish to expose to content.
2014-03-20 23:47:23 -03:00
Bobby Holley
abb31827e1 Bug 976704 - Make opaque security wrappers non-callable. r=gabor,sr=mrbkap 2014-03-18 19:23:45 -03:00
Brian Hackett
ecdbf6f6c8 Bug 972817 - Enable type inference unconditionally, r=jandem. 2014-03-18 09:05:16 -06:00
Vaibhav Agarwal
74d0d984a3 Bug 971132 - B2G mochitests should use the new manifest format for runtests; r=jmaher 2014-03-13 10:40:10 -04:00
Gabor Krizsanits
79c86a04cc Bug 980023 - Localstorage access with nsEp. r=bholley 2014-03-11 08:41:55 +01:00
Jason Orendorff
c4905dda94 Bug 977287, part 1 - Rename the "operation callback" to "interrupt callback". r=luke. 2014-03-10 16:28:43 -05:00
Bobby Holley
8e3b6aa7ec Bug 960108 - Ignore saved frame chains and contexts in JS::DescribeStack. r=bz 2014-03-05 20:15:35 -08:00
Bobby Holley
cb7d95a386 Bug 960820 - Ignore contexts and saved frame chains for exception stack, and rely on the principal check. r=luke,mrbkap sr=bz
It would be nice to update the JS shell tests to make sure the principal check
works, but we can't do that without bug 969273. So we add an XPConnect test that
verifies the filtering behavior.
2014-03-05 08:18:06 -08:00
Bobby Holley
992eba1b46 Bug 976151 - Anti eval/Function() check during wrapping should use |subsumes|. r=gabor 2014-02-25 08:38:33 -08:00
Bobby Holley
bb7e5e5083 Bug 968003 - Return null for frameElement with a cross-origin parent. r=bz 2014-02-14 22:39:34 -08:00
Bobby Holley
263626e418 Bug 968335 - Tests. r=bz 2014-02-14 22:36:44 -08:00
Phil Ringnalda
d66d0a8ba2 Back out 4fc776ee6852:6a0ebe4ddd01 (bug 968335) and e7d697004921 (bug 923904) for b2g emulator build bustage
CLOSED TREE
2014-02-14 18:35:30 -08:00
Bobby Holley
11ba09a104 Bug 968335 - Tests. r=bz 2014-02-14 16:13:38 -08:00
Andrea Marchesini
7184ae68ee Bug 964293 - Implement Cu.cloneInto() method, r=bholley 2014-01-30 04:45:48 -08:00
Bobby Holley
a204c95cc9 Bug 965082 - Tests. r=mrbkap,r=gabor 2014-01-29 13:07:13 -08:00
Bobby Holley
b9bffb1af9 Bug 961054 - Don't invoke SetLastResult until the completion of an XPCWN method call. r=mrbkap 2014-01-21 08:25:29 -08:00
Bobby Holley
034c444dc2 Bug 794943 - Make window.controllers [ChromeOnly], and remove nsISecurityCheckedComponent from nsXULControllers. r=bz 2014-01-16 15:45:40 -08:00
Tom Schuster
e64b35e141 Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence 2014-01-09 18:39:36 +01:00
Bobby Holley
30bfce6ebe Bug 951948 - Remove Components wrappers. r=mrbkap
We fix up the tests here to test the new behavior, and fix some bugs in the test
while we're at it.
2014-01-14 18:49:30 -08:00
Bobby Holley
124166a288 Bug 951948 - Get rid of manual nsIClassInfo and nsIXPCScriptable implementations for nsXPCComponents. r=mrbkap
The macro-driven ClassInfo stuff doesn't do getClassDescription, so we need to
change that test.
2014-01-14 18:49:29 -08:00
Ryan VanderMeulen
f427c884c8 Backed out 6 changesets (bug 939294) for B2G bustage on a CLOSED TREE.
Backed out changeset 8c3aa9973da0 (bug 939294)
Backed out changeset 37098c13e59e (bug 939294)
Backed out changeset 7c9ade6c871c (bug 939294)
Backed out changeset fed59539afc1 (bug 939294)
Backed out changeset 89e9d3fa16fc (bug 939294)
Backed out changeset c97e58ebc5f4 (bug 939294)
2014-01-09 14:17:39 -05:00
Tom Schuster
2e0669fb59 Bug 939294 - Handlify XPConnect. r=gabor 2014-01-09 18:39:36 +01:00
Gabor Krizsanits
2d18c11e26 Bug 952192 - getObjectPrincipal should be script callable. r=bholley 2014-01-09 15:28:46 +01:00
Carsten "Tomcat" Book
fc7c23e4aa Backed out changeset 18eeafedd180 (bug 952192) XPC Shell Bustage on a CLOSED TREE 2014-01-09 12:53:22 +01:00
Gabor Krizsanits
db12b3ec81 Bug 952192 - getObjectPrincipal should be script callable. r=bholley 2014-01-09 11:31:33 +01:00
Luke Wagner
1e6e357a4d Bug 944821 - Support more than 1 cached asm.js module per origin (r=janv)
--HG--
rename : js/xpconnect/tests/mochitest/file_asmjs.js => dom/asmjscache/test/file_slow.js
rename : js/xpconnect/tests/mochitest/test_asmjs2.html => dom/asmjscache/test/test_cachingBasic.html
rename : js/xpconnect/tests/mochitest/test_asmjs.html => dom/asmjscache/test/test_slow.html
rename : js/xpconnect/tests/mochitest/test_asmjs3.html => dom/asmjscache/test/test_workers.html
extra : rebase_source : 14efc458193762f5be99dfff78d353a63f3fc45a
2013-12-04 22:32:52 -06:00
Ehsan Akhgari
ebd358dfd7 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
J. Ryan Stinnett
440369fc24 Bug 946813 - Part 1: Expose invisibleToDebugger as a sandbox flag. r=bholley
--HG--
extra : rebase_source : 7d4963efc10423bb3e451da0eb1f6a03d7531831
2013-12-19 17:31:05 -06:00
Masatoshi Kimura
42658447da Bug 949292 - Stop exposing LoadStatus on the global object. r=bz 2013-12-14 16:31:10 +09:00
Bobby Holley
cfdc7a64b4 Bug 937317 - Tests. r=bz 2013-12-11 17:51:59 -08:00
Gabor Krizsanits
a4dc9c6eea Bug 943357 - Name argument of exportFunction should be optional. r=bholley 2013-12-10 09:56:19 +01:00
Luke Wagner
9a1e82e4f9 Bug 941830 - Extend asm.js compiled code caching to Workers (r=bent)
--HG--
extra : rebase_source : 4fed947b2fa76e26054d8293cec31433ceb61c8d
2013-12-03 13:31:30 -06:00
Luke Wagner
c4f69baa02 Bug 942276 - Improve test_asmjs2.html once caching is deterministic (r=me)
--HG--
extra : rebase_source : 36d1b607bda300f455d4086fe1bd8c7ca3834e77
2013-11-29 14:58:56 -06:00