- Electron version: 1.3.3
- Operating system: Windows

I have noticed that a `webview` will emit the `did-navigate-in-page` event when an IFRAME included in the page finishes loading.

Is this the desired behavior? The documentation implies that this event shall only trigger when the main frame's URL hash changes. In any case, a flag `isMainFrame` would be helpful here.

atom/browser/api/atom_api_web_contents.cc
web_contents()->PasteAndMatchStyle();
}
void WebContents::Delete() {
  web_contents()->Delete();
}
void WebContents::SelectAll() {
  web_contents()->SelectAll();
}
void WebContents::Unselect() {
  web_contents()->Unselect();
}
void WebContents::Replace(const base::string16& word) {
  web_contents()->Replace(word);
}
void WebContents::ReplaceMisspelling(const base::string16& word) {
  web_contents()->ReplaceMisspelling(word);
}
uint32_t WebContents::FindInPage(mate::Arguments* args) {
  uint32_t request_id = GetNextRequestId();
  base::string16 search_text;
  blink::WebFindOptions options;
  if (!args->GetNext(&search_text) || search_text.empty()) {
    args->ThrowError("Must provide a non-empty search content");
    return 0;
  }
  args->GetNext(&options);
  web_contents()->Find(request_id, search_text, options);
  return request_id;
}
void WebContents::StopFindInPage(content::StopFindAction action) {