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

Unified Diff: chrome/test/data/extensions/api_test/webnavigation/framework.js

Issue 10823169: Another attempt at fixing dead frames being tracked by webNavigation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch for landing Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/extensions/api_test/webnavigation/framework.js
diff --git a/chrome/test/data/extensions/api_test/webnavigation/framework.js b/chrome/test/data/extensions/api_test/webnavigation/framework.js
index 5652dc1d90e147675dce01352ebe968ff3d3b30f..1cc871ef26e743a7dc0f9626bc5b6cf7bc5a239c 100644
--- a/chrome/test/data/extensions/api_test/webnavigation/framework.js
+++ b/chrome/test/data/extensions/api_test/webnavigation/framework.js
@@ -98,7 +98,7 @@ function captureEvent(name, details) {
return;
}
// Strip query parameter as it is hard to predict.
- details.url = details.url.replace(new RegExp('\\?.*'), '');
+ details.url = details.url.replace(new RegExp('\\?[^#]*'), '');
}
// normalize details.
if ('timeStamp' in details) {

Powered by Google App Engine
This is Rietveld 408576698