HomePhabricator

mw.storage: Fix broken test (incompatible with Chrome 45)

This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

mw.storage: Fix broken test (incompatible with Chrome 45)

The localStorage global is read-only which Chrome 45 enforces.

Simplify things by dropping mediaWiki.storage.isStorageEnabled, and
by wrapping each operation with a try / catch.

Bug: T113413
Change-Id: Iecbdeb050b9a69febd3388898d98293a84588a94
(cherry picked from commit 430a0d3984fe188531175a295a24906d472abe42)

Details

Provenance
KrinkleAuthored on
ChangeId
Iecbdeb050b9a69febd3388898d98293a84588a94

Commit No Longer Exists

This commit no longer exists in the repository.