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

Issue 380213003: Harden WebNavigation API against invalid navigation callbacks (Closed)

Created:
6 years, 5 months ago by jochen (gone - plz use gerrit)
Modified:
6 years, 5 months ago
Reviewers:
Ilya Sherman, marja
CC:
asvitkine+watch_chromium.org, chromium-apps-reviews_chromium.org, chromium-reviews, extensions-reviews_chromium.org
Project:
chromium
Visibility:
Public.

Description

Harden WebNavigation API against invalid navigation callbacks Apparently, we get "DidCommitProvisionalLoad" events for frames where we didn't see the start of the provisional load. While debugging this, make the API more resillient against these kind of failures. Also, consistently DCHECK() in such cases and add a user metrics action. BUG=392718 R=marja@chromium.org,asvitkine@chromium.org

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -23 lines) Patch
M chrome/browser/extensions/api/web_navigation/frame_navigation_state.cc View 9 chunks +55 lines, -16 lines 0 comments Download
M chrome/browser/extensions/api/web_navigation/web_navigation_api.cc View 3 chunks +15 lines, -7 lines 0 comments Download
M tools/metrics/actions/actions.xml View 1 chunk +8 lines, -0 lines 1 comment Download

Messages

Total messages: 7 (0 generated)
jochen (gone - plz use gerrit)
6 years, 5 months ago (2014-07-10 13:15:00 UTC) #1
jochen (gone - plz use gerrit)
+isherman
6 years, 5 months ago (2014-07-10 13:29:12 UTC) #2
marja
lgtm
6 years, 5 months ago (2014-07-10 13:32:00 UTC) #3
Ilya Sherman
https://codereview.chromium.org/380213003/diff/1/tools/metrics/actions/actions.xml File tools/metrics/actions/actions.xml (right): https://codereview.chromium.org/380213003/diff/1/tools/metrics/actions/actions.xml#newcode2520 tools/metrics/actions/actions.xml:2520: </action> Do you need timestamps for this metric? If ...
6 years, 5 months ago (2014-07-11 01:16:01 UTC) #4
jochen (gone - plz use gerrit)
On 2014/07/11 at 01:16:01, isherman wrote: > https://codereview.chromium.org/380213003/diff/1/tools/metrics/actions/actions.xml > File tools/metrics/actions/actions.xml (right): > > https://codereview.chromium.org/380213003/diff/1/tools/metrics/actions/actions.xml#newcode2520 ...
6 years, 5 months ago (2014-07-11 09:04:14 UTC) #5
Ilya Sherman
On 2014/07/11 09:04:14, jochen wrote: > On 2014/07/11 at 01:16:01, isherman wrote: > > > ...
6 years, 5 months ago (2014-07-11 23:09:56 UTC) #6
jochen (gone - plz use gerrit)
6 years, 5 months ago (2014-07-15 11:47:25 UTC) #7
closing this CL as dcheng@ wrote an alternative fix

Powered by Google App Engine
This is Rietveld 408576698