mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1080361 - Add check in setPointerCapture function. r=smaug
This commit is contained in:
parent
50f66ec121
commit
43cda7a31b
@ -674,6 +674,10 @@ public:
|
||||
aError.Throw(NS_ERROR_DOM_INVALID_POINTER_ERR);
|
||||
return;
|
||||
}
|
||||
if (!IsInDoc()) {
|
||||
aError.Throw(NS_ERROR_DOM_INVALID_STATE_ERR);
|
||||
return;
|
||||
}
|
||||
if (!activeState) {
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user