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

Unified Diff: third_party/WebKit/Source/devtools/scripts/CurrentBrowserVersion.js

Issue 2300403003: DevTools: patch browser's Chrome version into Chrome user agents for emulation (Closed)
Patch Set: Removed old stuff Created 4 years, 3 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: third_party/WebKit/Source/devtools/scripts/CurrentBrowserVersion.js
diff --git a/chrome/test/data/extensions/api_test/executescript/http204/at_document_end.js b/third_party/WebKit/Source/devtools/scripts/CurrentBrowserVersion.js
similarity index 68%
copy from chrome/test/data/extensions/api_test/executescript/http204/at_document_end.js
copy to third_party/WebKit/Source/devtools/scripts/CurrentBrowserVersion.js
index 5b0e04991e627c97943dd6628ec098aaf692abec..9a5054c8f9dfc8894716ef6139fcb86f1aabe3c0 100644
--- a/chrome/test/data/extensions/api_test/executescript/http204/at_document_end.js
+++ b/third_party/WebKit/Source/devtools/scripts/CurrentBrowserVersion.js
@@ -2,4 +2,4 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-window.documentEnd = window.documentEnd ? documentEnd + 1 : 1;
+WebInspector.BrowserVersionInfo._version = "@MAJOR@.@MINOR@.@BUILD@.@PATCH@";

Powered by Google App Engine
This is Rietveld 408576698