Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(72)

Issue 2172123004: Add check for mismatching item and document sequence numbers. (Closed)

Created:
4 years, 5 months ago by nasko
Modified:
4 years, 5 months ago
Reviewers:
Charlie Reis
CC:
chromium-reviews, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, 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.

Description

Add check for mismatching item and document sequence numbers. When a PageState update is received from the renderer process, it must be for the current session history entry. This means that the sequence numbers associated with the FrameNavigationEntry should match the ones coming from the renderer process. This CL is adding explicit check for this and a DumpWithoutCrashing to help diagnose what cases can cause a mismatch. BUG=628677 Committed: https://crrev.com/e3e35c2d36325c10840b60d2a7cb2a7fe1c6cd14 Cr-Commit-Position: refs/heads/master@{#407316}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fixing the comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -0 lines) Patch
M content/browser/web_contents/web_contents_impl.cc View 1 3 chunks +21 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (8 generated)
nasko
Hey Charlie, Can you review this CL for me? It adds a check for the ...
4 years, 5 months ago (2016-07-22 22:33:57 UTC) #2
Charlie Reis
LGTM with nit. I'm guessing the compile error is unrelated? https://codereview.chromium.org/2172123004/diff/1/content/browser/web_contents/web_contents_impl.cc File content/browser/web_contents/web_contents_impl.cc (right): https://codereview.chromium.org/2172123004/diff/1/content/browser/web_contents/web_contents_impl.cc#newcode4485 ...
4 years, 5 months ago (2016-07-22 22:46:11 UTC) #3
nasko
https://codereview.chromium.org/2172123004/diff/1/content/browser/web_contents/web_contents_impl.cc File content/browser/web_contents/web_contents_impl.cc (right): https://codereview.chromium.org/2172123004/diff/1/content/browser/web_contents/web_contents_impl.cc#newcode4485 content/browser/web_contents/web_contents_impl.cc:4485: return; On 2016/07/22 22:46:11, Charlie Reis wrote: > I'm ...
4 years, 5 months ago (2016-07-22 23:02:34 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2172123004/20001
4 years, 5 months ago (2016-07-23 00:21:38 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 5 months ago (2016-07-23 00:25:53 UTC) #12
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/e3e35c2d36325c10840b60d2a7cb2a7fe1c6cd14 Cr-Commit-Position: refs/heads/master@{#407316}
4 years, 5 months ago (2016-07-23 00:28:44 UTC) #14
nasko
4 years, 4 months ago (2016-07-26 19:00:52 UTC) #15
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/2187633002/ by nasko@chromium.org.

The reason for reverting is: Reverting this change as it has resulted in much
higher number of reports than anticipated. We have enough data to investigate
and can reland a modified version if needed..

Powered by Google App Engine
This is Rietveld 408576698