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 295035 17276193146d1d03e9c4ce17412d933990ce031b
parent 295034 53a8ea3e003f535b99a7899933b20a89b3169c3d
child 295036 21b8c95e507a158485a12eed3dc23e4ee8f4711d
push id5245
push userraliiev@mozilla.com
push dateThu, 29 Oct 2015 11:30:51 +0000
treeherdermozilla-beta@dac831dc1bd0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1182214
milestone43.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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);