Bug 1696323 - Return early when attempting to focus a remote iframe whose BrowsingContext is already the focused one. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D112534
This commit is contained in:
@@ -28,6 +28,11 @@
|
||||
|
||||
using namespace mozilla::ipc;
|
||||
|
||||
mozilla::LazyLogModule gBrowserChildFocusLog("BrowserChildFocus");
|
||||
|
||||
#define LOGBROWSERCHILDFOCUS(args) \
|
||||
MOZ_LOG(gBrowserChildFocusLog, mozilla::LogLevel::Debug, args)
|
||||
|
||||
namespace mozilla::dom {
|
||||
|
||||
BrowserBridgeChild::BrowserBridgeChild(BrowsingContext* aBrowsingContext,
|
||||
@@ -77,6 +82,8 @@ void BrowserBridgeChild::NavigateByKey(bool aForward,
|
||||
}
|
||||
|
||||
void BrowserBridgeChild::Activate(uint64_t aActionId) {
|
||||
LOGBROWSERCHILDFOCUS(
|
||||
("BrowserBridgeChild::Activate actionid: %" PRIu64, aActionId));
|
||||
Unused << SendActivate(aActionId);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user