Bug 1182214 - Follow-up to fix Presentation.displayedAccessibles getter. r=me CLOSED TREE
authorEitan Isaacson <eitan@monotonous.org>
Mon, 14 Sep 2015 13:34:26 -0700
changeset 262452 17276193146d1d03e9c4ce17412d933990ce031b
parent 262451 53a8ea3e003f535b99a7899933b20a89b3169c3d
child 262453 21b8c95e507a158485a12eed3dc23e4ee8f4711d
push id15180
push userkwierso@gmail.com
push dateTue, 15 Sep 2015 00:28:33 +0000
treeherderfx-team@e543c88468c0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1182214
milestone43.0a1
Bug 1182214 - Follow-up to fix Presentation.displayedAccessibles getter. r=me CLOSED TREE
accessible/jsat/Presentation.jsm
--- a/accessible/jsat/Presentation.jsm
+++ b/accessible/jsat/Presentation.jsm
@@ -686,16 +686,17 @@ this.Presentation = { // jshint ignore:l
     };
     this.presenters = [new P() for (P of presenterMap[Utils.MozBuildApp])]; // jshint ignore:line
     return this.presenters;
   },
 
   get displayedAccessibles() {
     delete this.displayedAccessibles;
     this.displayedAccessibles = new WeakMap();
+    return this.displayedAccessibles;
   },
 
   pivotChanged: function Presentation_pivotChanged(
     aPosition, aOldPosition, aReason, aStartOffset, aEndOffset, aIsUserInput) {
     let context = new PivotContext(
       aPosition, aOldPosition, aStartOffset, aEndOffset);
     this.displayedAccessibles.set(context.accessible.document.window, context);