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

Side by Side Diff: chrome/browser/idbbindingutilities_browsertest.cc

Issue 7400030: Disable part of InProcessBrowserTest.InjectIDBKey to prepare for upstream changes. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Address comments. Created 9 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/utf_string_conversions.h" 5 #include "base/utf_string_conversions.h"
6 #include "chrome/browser/browser_process.h" 6 #include "chrome/browser/browser_process.h"
7 #include "chrome/test/in_process_browser_test.h" 7 #include "chrome/test/in_process_browser_test.h"
8 #include "chrome/test/ui_test_utils.h" 8 #include "chrome/test/ui_test_utils.h"
9 #include "content/browser/renderer_host/resource_dispatcher_host.h" 9 #include "content/browser/renderer_host/resource_dispatcher_host.h"
10 #include "content/browser/utility_process_host.h" 10 #include "content/browser/utility_process_host.h"
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 // {foo: 'zoo', bar: 'myNewKey'} 331 // {foo: 'zoo', bar: 'myNewKey'}
332 const char16 expected_data[] = {0x353, 0x6f66, 0x536f, 0x7a03, 0x6f6f, 0x353, 332 const char16 expected_data[] = {0x353, 0x6f66, 0x536f, 0x7a03, 0x6f6f, 0x353,
333 0x6162, 0x5372, 0x6d08, 0x4e79, 0x7765, 333 0x6162, 0x5372, 0x6d08, 0x4e79, 0x7765,
334 0x654b, 0x7b79, 0x2}; 334 0x654b, 0x7b79, 0x2};
335 SerializedScriptValue expected_value(false, false, 335 SerializedScriptValue expected_value(false, false,
336 string16(expected_data, 336 string16(expected_data,
337 arraysize(expected_data))); 337 arraysize(expected_data)));
338 338
339 ScopedIDBKeyPathHelper scoped_helper; 339 ScopedIDBKeyPathHelper scoped_helper;
340 scoped_helper.SetExpectedValue(expected_value); 340 scoped_helper.SetExpectedValue(expected_value);
341 scoped_helper.CheckInjectValue(key, value, UTF8ToUTF16("bar")); 341 // TODO(lukezarko@gmail.com): re-enable this after the changes described at
342 // https://bugs.webkit.org/show_bug.cgi?id=63481 land.
343 // scoped_helper.CheckInjectValue(key, value, UTF8ToUTF16("bar"));
342 344
343 scoped_helper.SetExpectedValue(SerializedScriptValue()); // Expect null. 345 scoped_helper.SetExpectedValue(SerializedScriptValue()); // Expect null.
344 scoped_helper.CheckInjectValue(key, value, UTF8ToUTF16("bad.key.path")); 346 scoped_helper.CheckInjectValue(key, value, UTF8ToUTF16("bad.key.path"));
345 } 347 }
OLDNEW
« 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