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

Side by Side Diff: appengine/config_service/ui/bower_components/webcomponentsjs/tests/force-polyfills.html

Issue 2923973003: Added base template for config ui. (Closed)
Patch Set: Created 3 years, 6 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
OLDNEW
(Empty)
1 <!doctype html>
2 <!--
3 @license
4 Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
5 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt
6 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
7 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt
8 Code distributed by Google as part of the polymer project is also
9 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt
10 -->
11 <html>
12
13 <head>
14 <title>Force polyfills</title>
15 <meta charset="UTF-8">
16 <script>
17 window.ShadyDOM = {
18 force: true
19 };
20 if (window.customElements) customElements.forcePolyfill = true;
21 window.webComponentsReadyCount = 0;
22 window.addEventListener('WebComponentsReady', function() {
23 window.webComponentsReadyCount++;
24 });
25 </script>
26 <script src="../webcomponents-loader.js"></script>
27 <script src="../../web-component-tester/browser.js"></script>
28 </head>
29
30 <body>
31 <script>
32 suite('Force polyfill', function() {
33 test('expected boot', function() {
34 assert.equal(window.webComponentsReadyCount, 1, 'failed to fire WebCompo nentsReady');
35 });
36 });
37 </script>
38 </body>
39
40 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698