Index: Source/modules/beacon/NavigatorBeacon.cpp |
diff --git a/Source/modules/beacon/NavigatorBeacon.cpp b/Source/modules/beacon/NavigatorBeacon.cpp |
index e02d84f79347f86348726114c3bd9864fd9fd407..48d31878acc0680b4334e363eadedfdb2cdeb666 100644 |
--- a/Source/modules/beacon/NavigatorBeacon.cpp |
+++ b/Source/modules/beacon/NavigatorBeacon.cpp |
@@ -59,7 +59,7 @@ bool NavigatorBeacon::canSendBeacon(ExecutionContext* context, const KURL& url, |
} |
// Do not allow sending Beacons over a Navigator that is detached. |
- if (!m_navigator.frame()) |
+ if (!m_navigator.frame() || !m_navigator.frame()->client()) |
return false; |
return true; |