Page MenuHomePhabricator

D19832.diff
No OneTemporary

D19832.diff

diff --git a/resources/celerity/map.php b/resources/celerity/map.php
--- a/resources/celerity/map.php
+++ b/resources/celerity/map.php
@@ -213,7 +213,7 @@
'rsrc/externals/javelin/core/__tests__/install.js' => 'c432ee85',
'rsrc/externals/javelin/core/__tests__/stratcom.js' => '88bf7313',
'rsrc/externals/javelin/core/__tests__/util.js' => 'e251703d',
- 'rsrc/externals/javelin/core/init.js' => '638a4e2b',
+ 'rsrc/externals/javelin/core/init.js' => '8d83d2a1',
'rsrc/externals/javelin/core/init_node.js' => 'c234aded',
'rsrc/externals/javelin/core/install.js' => '05270951',
'rsrc/externals/javelin/core/util.js' => '93cc50d6',
@@ -694,7 +694,7 @@
'javelin-install' => '05270951',
'javelin-json' => '69adf288',
'javelin-leader' => '7f243deb',
- 'javelin-magical-init' => '638a4e2b',
+ 'javelin-magical-init' => '8d83d2a1',
'javelin-mask' => '8a41885b',
'javelin-quicksand' => '6b8ef10b',
'javelin-reactor' => '2b8de964',
diff --git a/webroot/rsrc/externals/javelin/core/init.js b/webroot/rsrc/externals/javelin/core/init.js
--- a/webroot/rsrc/externals/javelin/core/init.js
+++ b/webroot/rsrc/externals/javelin/core/init.js
@@ -214,8 +214,13 @@
'mouseup'
];
- if (window.localStorage) {
- window_events.push('storage');
+ try {
+ if (window.localStorage) {
+ window_events.push('storage');
+ }
+ } catch (storage_exception) {
+ // See PHI985. In Firefox, accessing "window.localStorage" may throw an
+ // exception if cookies are disabled.
}
for (ii = 0; ii < window_events.length; ++ii) {

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 30, 10:55 AM (20 h, 14 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6808848
Default Alt Text
D19832.diff (1 KB)

Event Timeline