summaryrefslogtreecommitdiff
path: root/js/src/tests/js1_8_5/extensions/clone-transferables.js
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-05-02 11:07:35 -0700
committerwolfbeast <mcwerewolf@gmail.com>2018-06-07 08:52:09 +0200
commit7bae162ed278ccd852dec80199c4c635f06d2945 (patch)
tree04820ea1ba44b247afe55a0f3454b347675916bb /js/src/tests/js1_8_5/extensions/clone-transferables.js
parent1e70501a2cb56e96fe4094c1670f5e176c0bbb7b (diff)
downloadaura-central-7bae162ed278ccd852dec80199c4c635f06d2945.tar.gz
Refactor structured clone JSAPI to prevent mismatched scopes.
Roll-up of bugs 1442722, 1455071, 1433642, 1456604 and 1458320.
Diffstat (limited to 'js/src/tests/js1_8_5/extensions/clone-transferables.js')
-rw-r--r--js/src/tests/js1_8_5/extensions/clone-transferables.js12
1 files changed, 8 insertions, 4 deletions
diff --git a/js/src/tests/js1_8_5/extensions/clone-transferables.js b/js/src/tests/js1_8_5/extensions/clone-transferables.js
index 673684b95..9aad27208 100644
--- a/js/src/tests/js1_8_5/extensions/clone-transferables.js
+++ b/js/src/tests/js1_8_5/extensions/clone-transferables.js
@@ -3,11 +3,15 @@
// http://creativecommons.org/licenses/publicdomain/
function* buffer_options() {
- for (var scope of ["SameProcessSameThread", "SameProcessDifferentThread", "DifferentProcess"]) {
- for (var size of [0, 8, 16, 200, 1000, 4096, 8192, 65536]) {
- yield { scope, size };
+ for (var scope of ["SameProcessSameThread",
+ "SameProcessDifferentThread",
+ "DifferentProcess",
+ "DifferentProcessForIndexedDB"])
+ {
+ for (var size of [0, 8, 16, 200, 1000, 4096, 8192, 65536]) {
+ yield { scope, size };
+ }
}
- }
}