ozone: evdev: Sync caps lock LED state to evdev
[chromium-blink-merge.git] / ui / file_manager / image_loader / cache_unittest.js
blob1db4c4831dd6ff46efdb940b6ea0d62c7bc345f2
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 'use strict';
7 function testCreateCacheKey() {
8 var key = Cache.createKey({url: 'http://example.com/image.jpg'});
9 assertTrue(!!key);
12 function testNotCreateCacheKey() {
13 var key = Cache.createKey({url: 'data:xxx'});
14 assertFalse(!!key);
16 var key = Cache.createKey({url: 'DaTa:xxx'});
17 assertFalse(!!key);