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
Kyle Huey
aa1997a51a
Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
2012-10-30 08:26:12 -07:00
Ryan VanderMeulen
dd87cc277e
Bug 799917 - Backout for various regressions.
2012-10-28 08:49:20 -04:00
Bobby Holley
39688c3cc6
Bug 801576 - Android bustage fix. r=me
2012-10-24 14:18:39 +02:00
Bobby Holley
add541742c
Bug 801576 - Add tests for the same-origin policy. r=mrbkap
2012-10-24 12:04:19 +02:00
Peter Van der Beken
0fca6b2112
Fix for bug 801083 (Remove old proxy-based list bindings). r=bz.
2012-10-13 14:50:24 +02:00
foudfou
96e3df5cd9
Bug 799537 - Sort xpconnect chrome mochitests in tests/chrome. r=bholley
2012-10-19 23:16:07 +02:00
foudfou
f830f40097
Bug 799537 - Move xpconnect chrome mochitests in tests/mochitest to tests/chrome. r=bholley
...
--HG--
rename : js/xpconnect/tests/mochitest/test_bug361111.xul => js/xpconnect/tests/chrome/test_bug361111.xul
rename : js/xpconnect/tests/mochitest/test_bug760131.html => js/xpconnect/tests/chrome/test_bug760131.html
2012-10-19 22:44:26 +02:00
Bobby Holley
18c36e53ac
Bug 802968 - Fix racy test behavior. r=me DONTBUILD
...
--HG--
extra : rebase_source : 631b1d7d8efc625725b9a733c8e065030ff795e1
2012-10-18 14:41:13 +02:00
Bill McCloskey
513173337d
Bug 798678 - Weakmap key preservation test (r=mccr8)
2012-10-17 18:22:54 -07:00
Bill McCloskey
0d30c52e22
Bug 798678 - Refactor wrapper preservation for weakmaps (r=mccr8)
2012-10-08 18:22:47 -07:00
Bobby Holley
a0bafb7cc3
Bug 801241 - Properly handle |false| return false from JS_DescribeScriptedCaller. r=bz
2012-10-17 19:44:30 +02:00
Bobby Holley
fcedab455b
Bug 792280 - Only censor function.caller for non-same-origin calls. r=luke
2012-10-17 17:56:49 +02:00
Aryeh Gregor
45b3e80460
Bug 799917 - Make document.characterSet always lowercase; r=bz,f=hsivonen,smontagu
2012-10-14 10:13:19 +02:00
Bobby Holley
c30bf840f9
Bug 799348 - When creating a new content window, create the surrounding chrome docshell as system. r=bz
2012-10-11 19:44:20 +02:00
foudfou
3a23c1b328
Bug 793433 - Fix crash when nsAppShellService::RegisterTopLevelWindow called with invalid arguments. r=bholley
...
--HG--
extra : rebase_source : 2f3be0e474c727ea5a58177809bf3af1f34477ec
2012-10-09 11:56:58 +02:00
Bobby Holley
54d2fc8eec
Bug 761695 - Put Proxy and DOM expandos on the expando object, rather than the holder. r=peterv
2012-10-05 18:59:24 +02:00
Bobby Holley
02d3f31738
Bug 795275 - Warn about content access to |Components|. r=mrbkap
2012-10-03 11:44:18 +02:00
Bobby Holley
9f03f90fb7
Bug 792036 - Automated fixups. r=mccr8
...
find /files/mozilla/build/d/_tests/testing/mochitest/tests/ | egrep "\.(xhtml|html|xml|js)$" | grep -v SimpleTest | grep -vi mochikit | grep -v simpleThread | grep -v test_ipc_messagemanager_blob.html | grep -v "indexedDB/test" | xargs grep -l Components | xargs grep -L enablePrivilege | perl -pe 's#.*mochitest/tests/##' | xargs perl -p -i.bakkk -e 's/Components\.interfaces(\s|;|\.|\[)/SpecialPowers\.Ci$1/g, s/SpecialPowers\.wrap\(Components\)\.(.)(lasses|tils|nterfaces|esults)/SpecialPowers.C$1/g, s/(?<![\.a-zA-Z])Components/SpecialPowers\.Components/g, s/window\.Components/window\.SpecialPowers\.Components/g'
2012-09-24 14:46:29 +02:00
Bobby Holley
7f912ddc79
Bug 792036 - Fix up tests to avoid relying on the existence of window.Components (MANUAL). r=mccr8
...
These are the manual fixes that the ensuing auto-generation can't deal with. Some of them
just fix up formatting (such as Components.\nFoo, so that subsequent auto-generation can
work better).
2012-09-24 14:46:28 +02:00
Bobby Holley
2edff93f2c
Bug 792036 - Fix sandbox xpcshell tests. r=gabor
...
I want gabor to look at these.
2012-09-24 14:46:28 +02:00
Gabor Krizsanits
8d1cf92e96
Bug 785096 - part2: Removing XPCCallContext dependency from XPCVariant; r=bholley
2012-09-20 15:03:28 +02:00
Eddy Bruel
bff8be71da
Bug 720619 - Attempt a puncture for the [[DefaultValue]] trap; r=bholley
2012-09-11 21:42:01 +02:00
Bobby Holley
f1fd4b30db
Bug 789713 - Ignore domain when computing whether to share non-PreCreate WNs cross-compartment. r=mrbkap
2012-09-11 10:23:20 -07:00
Andrew Sutherland
6801aff464
Bug 786639 - XPCChromeObjectWrapper __exposedProps__ should expose the content of typed arrays like UInt8Array. r=bholley
2012-09-05 14:05:32 -07:00
Nicolas Chaim Echeverria
e5e437fa6c
Bug 726125: Certificates of signed extensions were getting validated on each startup. r=taras, sr=bzbarsky
2012-08-30 16:58:55 -04:00
Luke Wagner
a688f5b795
Bug 749371 - Break JS_ClearScope into two not-as-bad functions (r=mrbkap)
2012-08-23 11:23:28 -07:00
Gabor Krizsanits
a4a418d2ac
Bug 763897 - Incorrect behaviour of mozMatchesSelector.call through xray; r=bholley
2012-08-27 15:15:20 +02:00
Gabor Krizsanits
56e99a4fb8
Bug 738244 - Supporting DOM specific collection properties through xray wrappers; r=mrbkap
2012-08-27 15:06:34 +02:00
Boris Zbarsky
31276eb444
Bug 753517 part 4. Set up auto-generation of CSS2Properties.webidl from nsCSSPropList.h and enable Paris bindings for CSSStyleDeclaration and CSS2Properties. r=khuey,peterv,dbaron
2012-08-23 21:08:09 -07:00
Bobby Holley
16ae087b54
Bug 780370 - Remap objects from standard prototypes even if they're explicitly exposed. r=mrbkap
2012-08-23 19:07:14 -07:00
Andrew McCreight
c661c10ad3
Bug 761620 - Throw an exception for unpreservable weak map keys. r=billm
2012-08-08 11:05:58 -07:00
Ehsan Akhgari
0fd9123eac
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Bobby Holley
625511572e
Bug 784233 - Relax __exposedProps__ check for sandboxes until we can repack AMO addons. r=gal
2012-08-21 10:27:08 -07:00
Bobby Holley
da84660fd1
Backed out changeset 61e9eaf9aae2
...
--HG--
extra : rebase_source : 30fb2e7a057482412d29a96f8b8e98135beb6a79
2012-08-20 21:07:07 -07:00
Bobby Holley
e4a6e10695
Bug 784233 - Relax __exposedProps__ check for sandboxes until we can repack AMO addons. r=gal
2012-08-20 21:03:44 -07:00
Gabor Krizsanits
2c957b446e
Bug 777705 - Default policy for expanded principals. r=mrbkap
2012-08-20 11:22:34 -07:00
Bobby Holley
4a569927e2
Bug 553102 - Make content-> access default to deny if __exposedProps__ is not defined. r=mrbkap
2012-08-17 23:14:55 -07:00
Gabor Krizsanits
beaf6f99b2
Bug 779821 - safe XHR creation for sandboxes
2012-08-15 11:00:21 +02:00