summaryrefslogtreecommitdiff
path: root/waterfox/0001-testStructuredClone.cpp-Remove-testStructuredClone_i.patch
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2022-07-19 09:28:52 -0400
committerB. Stack <bgstack15@gmail.com>2022-07-19 09:28:52 -0400
commit01e941ae9182d706a362d31d4238fdaf82783043 (patch)
tree9ef62314ec2aae0e2da3f108f0e6a02cfde7c5e2 /waterfox/0001-testStructuredClone.cpp-Remove-testStructuredClone_i.patch
parentMerge branch 'notepadnext-bump' into 'master' (diff)
downloadstackrpms-01e941ae9182d706a362d31d4238fdaf82783043.tar.gz
stackrpms-01e941ae9182d706a362d31d4238fdaf82783043.tar.bz2
stackrpms-01e941ae9182d706a362d31d4238fdaf82783043.zip
wf 2022.06 rc1
Diffstat (limited to 'waterfox/0001-testStructuredClone.cpp-Remove-testStructuredClone_i.patch')
-rw-r--r--waterfox/0001-testStructuredClone.cpp-Remove-testStructuredClone_i.patch10
1 files changed, 4 insertions, 6 deletions
diff --git a/waterfox/0001-testStructuredClone.cpp-Remove-testStructuredClone_i.patch b/waterfox/0001-testStructuredClone.cpp-Remove-testStructuredClone_i.patch
index 75ec736..f82eee5 100644
--- a/waterfox/0001-testStructuredClone.cpp-Remove-testStructuredClone_i.patch
+++ b/waterfox/0001-testStructuredClone.cpp-Remove-testStructuredClone_i.patch
@@ -14,7 +14,7 @@ diff --git a/js/src/jsapi-tests/testStructuredClone.cpp b/js/src/jsapi-tests/tes
index 1a0fada..a01afcc 100644
--- a/js/src/jsapi-tests/testStructuredClone.cpp
+++ b/js/src/jsapi-tests/testStructuredClone.cpp
-@@ -9,24 +9,6 @@
+@@ -9,22 +9,6 @@
using namespace js;
@@ -22,15 +22,13 @@ index 1a0fada..a01afcc 100644
-// Skip test, since it will abort with an assert in buf->Init(7).
-#else
-BEGIN_TEST(testStructuredClone_invalidLength) {
-- auto buf = js::MakeUnique<JSStructuredCloneData>(
-- JS::StructuredCloneScope::DifferentProcess);
+- auto buf = js::MakeUnique<JSStructuredCloneData>(0, 0, 7);
- CHECK(buf);
-- CHECK(buf->Init(7));
+- CHECK(buf->Init(0, 7));
- RootedValue clone(cx);
-- JS::CloneDataPolicy policy;
- CHECK(!JS_ReadStructuredClone(cx, *buf, JS_STRUCTURED_CLONE_VERSION,
- JS::StructuredCloneScope::DifferentProcess,
-- &clone, policy, nullptr, nullptr));
+- &clone, nullptr, nullptr));
- return true;
-}
-END_TEST(testStructuredClone_invalidLength)
bgstack15