We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e9c7047 + f064f04 commit b3889d7Copy full SHA for b3889d7
common/content/util.js
@@ -406,6 +406,11 @@ const Util = Module("util", {
406
null
407
);
408
409
+ if (services.get("vc").compare(Application.version, "33") >= 0
410
+ && Cu.isXrayWrapper(result)) {
411
+ result = result.wrappedJSObject;
412
+ }
413
+
414
result.__iterator__ = asIterator
415
? function () { let elem; while ((elem = this.iterateNext())) yield elem; }
416
: function () { for (let i = 0; i < this.snapshotLength; i++) yield this.snapshotItem(i); };
0 commit comments