1<!DOCTYPE html>
2<!--
3@license
4Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
5This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
6The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
7The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
8Code distributed by Google as part of the polymer project is also
9subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
10-->
11<title>Chrome Dev Tools emulation</title>
12<script>
13  // define user agent to be Safari 9
14  Object.defineProperty(navigator, 'userAgent', { value: 'Mozilla/5.0 (iPhone; CPU iPhone OS 9_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13B143 Safari/601.1' });
15</script>
16<script src="test-flags.js"></script>
17<script src="../node_modules/wct-browser-legacy/browser.js"></script>
18<script src="../node_modules/@webcomponents/shadydom/shadydom.min.js"></script>
19<script src="module/generated/style-settings.js"></script>
20<script>
21  suite('Chrome Devtools', () => {
22    test('Emaulating iOS, native css variables are tied to native shadowdom support', () => {
23      if (!window.ShadyDOM || !window.ShadyDOM.inUse) {
24        assert.isTrue(window.StyleSettings.nativeCssVariables);
25      }
26    });
27  })
28</script>