Bug 1264526 - process ARIA owns relocations for in-the-document accessibles only, r=yzen

This commit is contained in:
Alexander Surkov
2016-04-14 13:45:16 -04:00
parent ee737616d3
commit be30eb4873
2 changed files with 30 additions and 3 deletions

View File

@@ -390,7 +390,9 @@ NotificationController::WillRefresh(mozilla::TimeStamp aTime)
// Process relocation list.
for (uint32_t idx = 0; idx < mRelocations.Length(); idx++) {
mDocument->DoARIAOwnsRelocation(mRelocations[idx]);
if (mRelocations[idx]->IsInDocument()) {
mDocument->DoARIAOwnsRelocation(mRelocations[idx]);
}
}
mRelocations.Clear();