browser(firefox): make call argument properties configurable (#1558)

This commit is contained in:
Dmitry Gozman 2020-03-26 15:52:24 -07:00 committed by GitHub
parent aad82e00bd
commit 9d0f465ebe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View File

@ -1 +1 @@
1059
1060

View File

@ -3901,10 +3901,10 @@ index 0000000000000000000000000000000000000000..643fcfeb7d1084c2a5eb99031d0f626e
+
diff --git a/juggler/content/Runtime.js b/juggler/content/Runtime.js
new file mode 100644
index 0000000000000000000000000000000000000000..56eff8002ee0313ebe5a67bf3191eb8ff8b3a5df
index 0000000000000000000000000000000000000000..9ed30684e25c7943a72b37d4289ce1f4629428e0
--- /dev/null
+++ b/juggler/content/Runtime.js
@@ -0,0 +1,536 @@
@@ -0,0 +1,537 @@
+"use strict";
+// Note: this file should be loadabale with eval() into worker environment.
+// Avoid Components.*, ChromeUtils and global const variables.
@ -4359,6 +4359,7 @@ index 0000000000000000000000000000000000000000..56eff8002ee0313ebe5a67bf3191eb8f
+ const properties = {};
+ for (let [key, value] of Object.entries(obj)) {
+ properties[key] = {
+ configurable: true,
+ writable: true,
+ enumerable: true,
+ value: this._toDebugger(value),