Merge pull request #19913 from Snuffleupagus/openAction-array-validate
Improve validation in the `Catalog.prototype.openAction` getter
This commit is contained in:
commit
5f4bfe1fb9
@ -1029,7 +1029,7 @@ class Catalog {
|
|||||||
} else if (resultObj.action) {
|
} else if (resultObj.action) {
|
||||||
openAction.action = resultObj.action;
|
openAction.action = resultObj.action;
|
||||||
}
|
}
|
||||||
} else if (Array.isArray(obj)) {
|
} else if (isValidExplicitDest(obj)) {
|
||||||
openAction.dest = obj;
|
openAction.dest = obj;
|
||||||
}
|
}
|
||||||
return shadow(
|
return shadow(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user