|
|
Created:
4 years, 4 months ago by nasko Modified:
4 years, 4 months ago CC:
chromium-reviews, nasko+codewatch_chromium.org, mlamouri+watch-content_chromium.org, jam, darin-cc_chromium.org, creis+watch_chromium.org, site-isolation-reviews_chromium.org Base URL:
https://chromium.googlesource.com/chromium/src.git@master Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionDon't mark navigations as in-page when DSNs are mismatched.
This CL implements a TODO by creis@ to ensure that the renderer doesn't
classify history navigations as in-page if the document sequence number
of the current document and the one being navigated to are mismatched.
BUG=628677, 630103
Committed: https://crrev.com/cf477b509f7a5a3409ac1f2aecf9513d7c82c5b3
Cr-Commit-Position: refs/heads/master@{#413353}
Patch Set 1 #
Total comments: 1
Messages
Total messages: 23 (12 generated)
The CQ bit was checked by nasko@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
nasko@chromium.org changed reviewers: + avi@chromium.org
Hey Avi, Can you review this CL for me? I will not land it immediately, but since you will be out for the rest of the week, it will be good to have it reviewed. I plan on landing it on Friday and see if it helps with the origin/URL mismatch issues. Thanks in advance! Nasko
LGTM; land when you are satisfied this is the right thing to do.
The CQ bit was checked by nasko@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_androi...)
The CQ bit was checked by nasko@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_androi...)
The CQ bit was checked by nasko@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Committed patchset #1 (id:1)
Message was sent while issue was closed.
Description was changed from ========== Don't mark navigations as in-page when DSNs are mismatched. This CL implements a TODO by creis@ to ensure that the renderer doesn't classify history navigations as in-page if the document sequence number of the current document and the one being navigated to are mismatched. BUG=628677, 630103 ========== to ========== Don't mark navigations as in-page when DSNs are mismatched. This CL implements a TODO by creis@ to ensure that the renderer doesn't classify history navigations as in-page if the document sequence number of the current document and the one being navigated to are mismatched. BUG=628677, 630103 Committed: https://crrev.com/cf477b509f7a5a3409ac1f2aecf9513d7c82c5b3 Cr-Commit-Position: refs/heads/master@{#413353} ==========
Message was sent while issue was closed.
Patchset 1 (id:??) landed as https://crrev.com/cf477b509f7a5a3409ac1f2aecf9513d7c82c5b3 Cr-Commit-Position: refs/heads/master@{#413353}
Message was sent while issue was closed.
creis@chromium.org changed reviewers: + creis@chromium.org
Message was sent while issue was closed.
Thanks for adding this! I'm curious if it helps. One concern about the NOTREACHED below, which we should probably fix in a followup CL. https://codereview.chromium.org/2253233002/diff/1/content/renderer/render_fra... File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/2253233002/diff/1/content/renderer/render_fra... content/renderer/render_frame_impl.cc:5541: NOTREACHED(); I don't think we can have a NOTREACHED in this case, due to races where the renderer process navigates to a different document (e.g., synchronous commit to about:blank) just as the browser is telling it to go back in-page. I bet we could even write a test for that case. :) My TODO to add a NOTREACHED was for the "no current history item" case, when the browser should know better than to treat it as in-page. We should still do that.
Message was sent while issue was closed.
A revert of this CL (patchset #1 id:1) has been created in https://codereview.chromium.org/2287933002/ by nasko@chromium.org. The reason for reverting is: Reverting post branch point for another attempt at diagnosing the remaining cases where origin and URL are mismatched.. |