Fix an error at webRequestInternal.eventHandled

Fix an error

"webRequestInternal.eventHandled: cancel cannot be true in the presence of other keys."