mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1206491 - Fix a JavaScript error in about:cache page. r=mayhemmer
This commit is contained in:
parent
1e11b76039
commit
a71fb37eb9
@ -10,7 +10,8 @@ var storage = searchParams.get('storage');
|
||||
var context = searchParams.get('context');
|
||||
|
||||
// The context is in a format as used by the HTTP cache v2 back end
|
||||
var [context, isAnon, isInBrowser, appId, isPrivate] = context.match(/(a,)?(b,)?(i\d+,)?(p,)?/);
|
||||
if (context)
|
||||
var [context, isAnon, isInBrowser, appId, isPrivate] = context.match(/(a,)?(b,)?(i\d+,)?(p,)?/);
|
||||
if (appId)
|
||||
appId = appId.match(/i(\d+),/)[1];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user