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.
1 parent 05bc85f commit f064f04Copy full SHA for f064f04
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