diff --git a/layout/generic/nsSubDocumentFrame.cpp b/layout/generic/nsSubDocumentFrame.cpp index 6974a9c4392d..bef82daaa668 100644 --- a/layout/generic/nsSubDocumentFrame.cpp +++ b/layout/generic/nsSubDocumentFrame.cpp @@ -718,6 +718,11 @@ nsSubDocumentFrame::AttributeChanged(PRInt32 aNameSpaceID, return NS_OK; } + if (mFrameLoader->GetRemoteBrowser()) { + // TODO: Implement ContentShellAdded for remote browsers (bug 658304) + return NS_OK; + } + // Note: This logic duplicates a lot of logic in // nsFrameLoader::EnsureDocShell. We should fix that.