From bfdff26f9fd9a13b2ef13d297559c4e8340fd515 Mon Sep 17 00:00:00 2001 From: Blake Kaplan Date: Fri, 3 Dec 2010 19:00:23 -0800 Subject: [PATCH] Bug 614757 - Properly deep wrap via call/construct. r=gal --HG-- extra : rebase_source : a46e4a24a62d3738f8161f1623bb619cc28bdb79 --- js/src/xpconnect/tests/chrome/Makefile.in | 1 + .../xpconnect/tests/chrome/test_bug614757.xul | 36 +++++++++++++++++++ .../xpconnect/wrappers/CrossOriginWrapper.cpp | 15 ++++++++ .../xpconnect/wrappers/CrossOriginWrapper.h | 4 +++ 4 files changed, 56 insertions(+) create mode 100644 js/src/xpconnect/tests/chrome/test_bug614757.xul diff --git a/js/src/xpconnect/tests/chrome/Makefile.in b/js/src/xpconnect/tests/chrome/Makefile.in index 82d73b62791e..6b55bbfe719e 100644 --- a/js/src/xpconnect/tests/chrome/Makefile.in +++ b/js/src/xpconnect/tests/chrome/Makefile.in @@ -59,6 +59,7 @@ _CHROME_FILES = \ test_bug571849.xul \ test_bug601803.xul \ test_bug610390.xul \ + test_bug614757.xul \ $(NULL) # Disabled until this test gets updated to test the new proxy based diff --git a/js/src/xpconnect/tests/chrome/test_bug614757.xul b/js/src/xpconnect/tests/chrome/test_bug614757.xul new file mode 100644 index 000000000000..f9a35f04ef10 --- /dev/null +++ b/js/src/xpconnect/tests/chrome/test_bug614757.xul @@ -0,0 +1,36 @@ + + + + + + + + + + + Mozilla Bug 614757 + + + +