- 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
GoToOffset(offset);
  return false;
}
void WebContents::FindReply(content::WebContents* web_contents,
                            int request_id,
                            int number_of_matches,
                            const gfx::Rect& selection_rect,
                            int active_match_ordinal,
                            bool final_update) {
  v8::Locker locker(isolate());
  v8::HandleScope handle_scope(isolate());
  mate::Dictionary result = mate::Dictionary::CreateEmpty(isolate());
  if (number_of_matches == -1) {
    result.Set("requestId", request_id);
    result.Set("selectionArea", selection_rect);
    result.Set("finalUpdate", final_update);
    result.Set("activeMatchOrdinal", active_match_ordinal);
    Emit("found-in-page", result);
  } else if (final_update) {
    result.Set("requestId", request_id);
    result.Set("matches", number_of_matches);
    result.Set("finalUpdate", final_update);
    Emit("found-in-page", result);
  }
}
bool WebContents::CheckMediaAccessPermission(