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

Issue 10704225: Send an webNavigation event for navigations triggered by window.history (Closed)

Created:
8 years, 5 months ago by jochen (gone - plz use gerrit)
Modified:
8 years, 5 months ago
Reviewers:
Matt Perry
CC:
chromium-reviews, Aaron Boodman, mihaip-chromium-reviews_chromium.org
Visibility:
Public.

Description

Send an webNavigation event for navigations triggered by window.history Otherwise, we'd just see stray onCommitted events. BUG=136090 TEST=ExtensionApiTest.WebNavigationHistory Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=146961

Patch Set 1 #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+314 lines, -14 lines) Patch
M chrome/browser/extensions/api/web_navigation/web_navigation_api.cc View 2 chunks +14 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/web_navigation/web_navigation_api_constants.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/api/web_navigation/web_navigation_api_constants.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc View 3 chunks +13 lines, -0 lines 4 comments Download
M chrome/common/extensions/api/web_navigation.json View 1 chunk +24 lines, -0 lines 3 comments Download
M chrome/common/extensions/docs/examples/api/webNavigation/basic.zip View 0 chunks +-1 lines, --1 lines 0 comments Download
M chrome/common/extensions/docs/examples/api/webNavigation/basic/background.js View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/common/extensions/docs/examples/api/webNavigation/basic/navigation_collector.js View 2 chunks +36 lines, -0 lines 0 comments Download
M chrome/common/extensions/docs/extensions/webNavigation.html View 2 chunks +203 lines, -0 lines 0 comments Download
M chrome/common/extensions/docs/samples.json View 4 chunks +4 lines, -2 lines 0 comments Download
M chrome/test/data/extensions/api_test/webnavigation/framework.js View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/webnavigation/history/a.html View 1 chunk +1 line, -0 lines 0 comments Download
A + chrome/test/data/extensions/api_test/webnavigation/test_history.html View 1 chunk +1 line, -1 line 0 comments Download
A + chrome/test/data/extensions/api_test/webnavigation/test_history.js View 3 chunks +11 lines, -11 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
jochen (gone - plz use gerrit)
plz review
8 years, 5 months ago (2012-07-16 12:36:29 UTC) #1
Matt Perry
https://chromiumcodereview.appspot.com/10704225/diff/1/chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc File chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc (right): https://chromiumcodereview.appspot.com/10704225/diff/1/chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc#newcode34 chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc:34: #define MAYBE_WebNavigationHistory DISABLED_WebNavigationHistory Disabling a test before it's even ...
8 years, 5 months ago (2012-07-16 20:42:50 UTC) #2
jochen (gone - plz use gerrit)
https://chromiumcodereview.appspot.com/10704225/diff/1/chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc File chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc (right): https://chromiumcodereview.appspot.com/10704225/diff/1/chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc#newcode34 chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc:34: #define MAYBE_WebNavigationHistory DISABLED_WebNavigationHistory On 2012/07/16 20:42:50, Matt Perry wrote: ...
8 years, 5 months ago (2012-07-16 20:53:36 UTC) #3
Matt Perry
lgtm https://chromiumcodereview.appspot.com/10704225/diff/1/chrome/common/extensions/api/web_navigation.json File chrome/common/extensions/api/web_navigation.json (right): https://chromiumcodereview.appspot.com/10704225/diff/1/chrome/common/extensions/api/web_navigation.json#newcode274 chrome/common/extensions/api/web_navigation.json:274: "description": "Fired when the frame's history was updated ...
8 years, 5 months ago (2012-07-16 21:15:23 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jochen@chromium.org/10704225/1
8 years, 5 months ago (2012-07-17 06:48:02 UTC) #5
commit-bot: I haz the power
8 years, 5 months ago (2012-07-17 08:07:16 UTC) #6
Change committed as 146961

Powered by Google App Engine
This is Rietveld 408576698