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

Unified Diff: chrome/test/data/layout_tests/layout_test_controller.html

Issue 8480035: Mock implementation of overridePreference. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/layout_tests/layout_test_controller.html
diff --git a/chrome/test/data/layout_tests/layout_test_controller.html b/chrome/test/data/layout_tests/layout_test_controller.html
index e2bf813195ed0e9617001cfbfd6d2667d1615cf0..198c3853340a4032ffa22b4453762299c510a441 100644
--- a/chrome/test/data/layout_tests/layout_test_controller.html
+++ b/chrome/test/data/layout_tests/layout_test_controller.html
@@ -17,6 +17,12 @@ function LayoutTestController() {
setTimeout(layoutTestController.DelayedNotifyDone1, 0);
};
+ this.overridePreference = function () {
+ // WebSocket tests call this function by preference name
+ // 'WebKitHixie76WebSocketProtocolEnabled' to switch its protocol version.
+ // In Chromium, the value must be 0 because it doesn't support old one.
+ };
+
this.DelayedNotifyDone1 = function () {
setTimeout(layoutTestController.DelayedNotifyDone2, 0);
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698