diff --git a/README.md b/README.md index 0e1a403..23dcc3a 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ webcomponents.js ================ -A suite of polyfills supporting the HTML web components specs: +A suite of polyfills supporting the [Web Components](http://webcomponents.org) specs: **Custom Elements**: allows authors to define their own custom tags ([spec](https://w3c.github.io/webcomponents/spec/custom/)). @@ -14,7 +14,7 @@ This also folds in polyfills for `MutationObserver` and `WeakMap`. ## Releases -Pre-built (concatenated & minified) versions of the polyfills are maintained in the [tagged versions](https://github.com/Polymer/webcomponentsjs/releases) of this repo. There are two variants: +Pre-built (concatenated & minified) versions of the polyfills are maintained in the [tagged versions](https://github.com/webcomponents/webcomponentsjs/releases) of this repo. There are two variants: `webcomponents.js` includes all of the polyfills. diff --git a/bower.json b/bower.json index 1ea8934..473f8b1 100644 --- a/bower.json +++ b/bower.json @@ -1,7 +1,7 @@ { "name": "webcomponentsjs", "main": "webcomponents.js", - "version": "0.4.2", + "version": "0.5.1-1", "homepage": "http://webcomponents.org", "authors": [ "The Polymer Authors" diff --git a/package.json b/package.json index a7c3a93..e8c495c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "webcomponents.js", - "version": "0.5.1", + "version": "0.5.1-1", "description": "webcomponents.js", "main": "gulpfile.js", "directories": { @@ -8,7 +8,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/Polymer/webcomponentsjs.git" + "url": "https://github.com/webcomponents/webcomponentsjs.git" }, "author": "The Polymer Authors", "license": { @@ -16,7 +16,7 @@ "url": "http://polymer.github.io/LICENSE.txt" }, "bugs": { - "url": "https://github.com/Polymer/webcomponentsjs/issues" + "url": "https://github.com/webcomponents/webcomponentsjs/issues" }, "homepage": "http://webcomponents.org", "devDependencies": { diff --git a/src/CustomElements/CustomElements.js b/src/CustomElements/CustomElements.js index d71629d..8ef94e6 100644 --- a/src/CustomElements/CustomElements.js +++ b/src/CustomElements/CustomElements.js @@ -1,4 +1,5 @@ -/* +/** + * @license * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt diff --git a/src/CustomElements/base.js b/src/CustomElements/base.js index a971763..e0177a5 100644 --- a/src/CustomElements/base.js +++ b/src/CustomElements/base.js @@ -1,4 +1,5 @@ -/* +/** + * @license * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt @@ -32,7 +33,7 @@ scope.hasNative = Boolean(document.registerElement); // NOTE: For consistent timing, use native custom elements only when not // polyfilling other key related web components features. -scope.useNative = !flags.register && scope.hasNative && +scope.useNative = !flags.register && scope.hasNative && !window.ShadowDOMPolyfill && (!window.HTMLImports || HTMLImports.useNative); -})(CustomElements); \ No newline at end of file +})(CustomElements); diff --git a/src/CustomElements/boot.js b/src/CustomElements/boot.js index dd56d43..3eab0b6 100644 --- a/src/CustomElements/boot.js +++ b/src/CustomElements/boot.js @@ -1,4 +1,5 @@ -/* +/** + * @license * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt @@ -12,6 +13,8 @@ var useNative = scope.useNative; var initializeModules = scope.initializeModules; +var isIE = /Trident/.test(navigator.userAgent); + // If native, setup stub api and bail. // NOTE: we fire `WebComponentsReady` under native for api compatibility if (useNative) { @@ -31,8 +34,8 @@ if (useNative) { }; } else { - // Initialize polyfill modules. Note, polyfill modules are loaded but not - // executed; this is a convenient way to control which modules run when + // Initialize polyfill modules. Note, polyfill modules are loaded but not + // executed; this is a convenient way to control which modules run when // the polyfill is required and allows the polyfill to load even when it's // not needed. initializeModules(); @@ -65,7 +68,7 @@ function bootstrap() { //CustomElements.parser.parse(elt.import); }; } - // set internal 'ready' flag, now document.registerElement will trigger + // set internal 'ready' flag, now document.registerElement will trigger // synchronous upgrades CustomElements.ready = true; // async to ensure *native* custom elements upgrade prior to this @@ -85,7 +88,8 @@ function bootstrap() { } // CustomEvent shim for IE -if (typeof window.CustomEvent !== 'function') { +// NOTE: we explicitly test for IE since Safari has an type `object` CustomEvent +if (isIE && (typeof window.CustomEvent !== 'function')) { window.CustomEvent = function(inType, params) { params = params || {}; var e = document.createEvent('CustomEvent'); @@ -105,7 +109,7 @@ if (document.readyState === 'complete' || scope.flags.eager) { } else if (document.readyState === 'interactive' && !window.attachEvent && (!window.HTMLImports || window.HTMLImports.ready)) { bootstrap(); -// When loading at other readyStates, wait for the appropriate DOM event to +// When loading at other readyStates, wait for the appropriate DOM event to // bootstrap. } else { var loadEvent = window.HTMLImports && !HTMLImports.ready ? diff --git a/src/CustomElements/observe.js b/src/CustomElements/observe.js index 6530f7f..23c3146 100644 --- a/src/CustomElements/observe.js +++ b/src/CustomElements/observe.js @@ -1,4 +1,5 @@ -/* +/** + * @license * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt @@ -101,9 +102,9 @@ function attached(element) { // multiple times so we protect against extra processing here. function _attached(element) { // track element for insertion if it's upgraded and cares about insertion - if (element.__upgraded__ && + if (element.__upgraded__ && (element.attachedCallback || element.detachedCallback)) { - // bail if the element is already marked as attached and proceed only + // bail if the element is already marked as attached and proceed only // if it's actually in the document at this moment. if (!element.__attached && inDocument(element)) { element.__attached = true; @@ -118,7 +119,7 @@ function _attached(element) { Manage nodes detached from document trees */ -// manage lifecycle on detached node and it's subtree; process detached +// manage lifecycle on detached node and it's subtree; process detached // for the node and entire subtree function detachedNode(node) { detached(node); @@ -141,9 +142,9 @@ function detached(element) { // multiple times so we protect against extra processing here. function _detached(element) { // track element for removal if it's upgraded and cares about removal - if (element.__upgraded__ && + if (element.__upgraded__ && (element.attachedCallback || element.detachedCallback)) { - // bail if the element is already marked as not attached and proceed only + // bail if the element is already marked as not attached and proceed only // if it's actually *not* in the document at this moment. if (element.__attached && !inDocument(element)) { element.__attached = false; @@ -187,7 +188,7 @@ function watchShadow(node) { Here's an example: - (1) In this case, recursion is required to see `child`: + (1) In this case, recursion is required to see `child`: node.innerHTML = '
' @@ -233,7 +234,7 @@ function handler(mutations) { /* - When elements are added to the dom, upgrade and attached/detached may be + When elements are added to the dom, upgrade and attached/detached may be asynchronous. `CustomElements.takeRecords` can be called to process any pending upgrades and attached/detached callbacks synchronously. */ @@ -280,7 +281,7 @@ function upgradeDocument(doc) { /* This method is intended to be called when the document tree (including imports) -has pending custom elements to upgrade. It can be called multiple times and +has pending custom elements to upgrade. It can be called multiple times and should do nothing if no elements are in need of upgrade. */ function upgradeDocumentTree(doc) { diff --git a/src/CustomElements/register.js b/src/CustomElements/register.js index 246de07..45d9fc2 100644 --- a/src/CustomElements/register.js +++ b/src/CustomElements/register.js @@ -1,4 +1,5 @@ -/* +/** + * @license * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt diff --git a/src/CustomElements/traverse.js b/src/CustomElements/traverse.js index 8dbada5..e8e8a43 100644 --- a/src/CustomElements/traverse.js +++ b/src/CustomElements/traverse.js @@ -1,4 +1,5 @@ -/* +/** + * @license * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt diff --git a/src/CustomElements/upgrade.js b/src/CustomElements/upgrade.js index 2ce0b75..47e18bd 100644 --- a/src/CustomElements/upgrade.js +++ b/src/CustomElements/upgrade.js @@ -1,4 +1,5 @@ -/* +/** + * @license * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt @@ -66,7 +67,7 @@ function upgradeWithDefinition(element, definition) { return element; } -// Set __proto__ on supported platforms and use a mixin strategy when +// Set __proto__ on supported platforms and use a mixin strategy when // this is not supported; e.g. on IE10. function implementPrototype(element, definition) { // prototype swizzling is best diff --git a/src/HTMLImports/HTMLImports.js b/src/HTMLImports/HTMLImports.js index 317cae4..2b76f5d 100644 --- a/src/HTMLImports/HTMLImports.js +++ b/src/HTMLImports/HTMLImports.js @@ -1,4 +1,5 @@ -/* +/** + * @license * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt diff --git a/src/HTMLImports/Loader.js b/src/HTMLImports/Loader.js index e5c2a1c..b413d30 100644 --- a/src/HTMLImports/Loader.js +++ b/src/HTMLImports/Loader.js @@ -1,4 +1,5 @@ -/* +/** + * @license * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt @@ -14,8 +15,8 @@ var flags = scope.flags; // This loader supports a dynamic list of urls // and an oncomplete callback that is called when the loader is done. -// NOTE: The polyfill currently does *not* need this dynamism or the -// onComplete concept. Because of this, the loader could be simplified +// NOTE: The polyfill currently does *not* need this dynamism or the +// onComplete concept. Because of this, the loader could be simplified // quite a bit. var Loader = function(onLoad, onComplete) { this.cache = {}; @@ -132,4 +133,4 @@ Loader.prototype = { // exports scope.Loader = Loader; -}); \ No newline at end of file +}); diff --git a/src/HTMLImports/Observer.js b/src/HTMLImports/Observer.js index 128cdde..4b75091 100644 --- a/src/HTMLImports/Observer.js +++ b/src/HTMLImports/Observer.js @@ -1,4 +1,5 @@ -/* +/** + * @license * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt diff --git a/src/HTMLImports/base.js b/src/HTMLImports/base.js index f181bbc..f4c9fbe 100644 --- a/src/HTMLImports/base.js +++ b/src/HTMLImports/base.js @@ -1,4 +1,5 @@ -/* +/** + * @license * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt @@ -45,9 +46,9 @@ var currentScriptDescriptor = { get: function() { var script = HTMLImports.currentScript || document.currentScript || // NOTE: only works when called in synchronously executing code. - // readyState should check if `loading` but IE10 is + // readyState should check if `loading` but IE10 is // interactive when scripts run so we cheat. - (document.readyState !== 'complete' ? + (document.readyState !== 'complete' ? document.scripts[document.scripts.length - 1] : null); return wrap(script); }, @@ -64,16 +65,16 @@ Object.defineProperty(rootDocument, '_currentScript', currentScriptDescriptor); code in either an `HTMLImportsLoaded` hander or after load time in an `HTMLImports.whenReady(callback)` call. - NOTE: This module also supports these apis under the native implementation. - Therefore, if this file is loaded, the same code can be used under both + NOTE: This module also supports these apis under the native implementation. + Therefore, if this file is loaded, the same code can be used under both the polyfill and native implementation. */ var isIE = /Trident|Edge/.test(navigator.userAgent); -// call a callback when all HTMLImports in the document at call time +// call a callback when all HTMLImports in the document at call time // (or at least document ready) have loaded. -// 1. ensure the document is in a ready state (has dom), then +// 1. ensure the document is in a ready state (has dom), then // 2. watch for loading of imports and call callback when done function whenReady(callback, doc) { doc = doc || rootDocument; @@ -95,7 +96,7 @@ function isDocumentReady(doc) { function whenDocumentReady(callback, doc) { if (!isDocumentReady(doc)) { var checkReady = function() { - if (doc.readyState === 'complete' || + if (doc.readyState === 'complete' || doc.readyState === requiredReadyState) { doc.removeEventListener(READY_EVENT, checkReady); whenDocumentReady(callback, doc); @@ -115,7 +116,7 @@ function markTargetLoaded(event) { function watchImportsLoad(callback, doc) { var imports = doc.querySelectorAll('link[rel=import]'); var loaded = 0, l = imports.length; - function checkDone(d) { + function checkDone(d) { if ((loaded == l) && callback) { callback(); } @@ -143,15 +144,15 @@ function watchImportsLoad(callback, doc) { // all imports (see below). // However, we cannot rely on this entirely without watching the entire document // for import links. For perf reasons, currently only head is watched. -// Instead, we fallback to checking if the import property is available -// and the document is not itself loading. +// Instead, we fallback to checking if the import property is available +// and the document is not itself loading. function isImportLoaded(link) { - return useNative ? link.__loaded || + return useNative ? link.__loaded || (link.import && link.import.readyState !== 'loading') : link.__importParsed; } -// TODO(sorvell): Workaround for +// TODO(sorvell): Workaround for // https://www.w3.org/Bugs/Public/show_bug.cgi?id=25007, should be removed when // this bug is addressed. // (1) Install a mutation observer to see when HTMLImports have loaded @@ -159,7 +160,7 @@ function isImportLoaded(link) { // imports for loading. // // NOTE: The workaround has restricted functionality: (1) it's only compatible -// with imports that are added to document.head since the mutation observer +// with imports that are added to document.head since the mutation observer // watches only head for perf reasons, (2) it requires this script // to run before any imports have completed loading. if (useNative) { @@ -174,7 +175,7 @@ if (useNative) { function handleImports(nodes) { for (var i=0, l=nodes.length, n; (i ::content(div) { background: red; } - + could become: - + + \ No newline at end of file diff --git a/tests/HTMLImports/html/imports/styles.css b/tests/HTMLImports/html/imports/styles.css index 48b1fd6..db41ba8 100644 --- a/tests/HTMLImports/html/imports/styles.css +++ b/tests/HTMLImports/html/imports/styles.css @@ -1,4 +1,4 @@ -/* +/** * @license * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt diff --git a/tests/HTMLImports/html/load-404.html b/tests/HTMLImports/html/load-404.html index f306fde..4b34925 100644 --- a/tests/HTMLImports/html/load-404.html +++ b/tests/HTMLImports/html/load-404.html @@ -1,3 +1,4 @@ + - load ready 404 test @@ -24,7 +24,7 @@ - + diff --git a/tests/HTMLImports/html/template-script.html b/tests/HTMLImports/html/template-script.html index 5fa9aa0..7706d91 100644 --- a/tests/HTMLImports/html/template-script.html +++ b/tests/HTMLImports/html/template-script.html @@ -1,3 +1,4 @@ + - template script test diff --git a/tests/HTMLImports/runner.html b/tests/HTMLImports/runner.html index a459fc6..9df8016 100644 --- a/tests/HTMLImports/runner.html +++ b/tests/HTMLImports/runner.html @@ -1,8 +1,12 @@ - + HTMLImports Tests diff --git a/tests/HTMLImports/tests.js b/tests/HTMLImports/tests.js index 3c6eb13..83f0879 100644 --- a/tests/HTMLImports/tests.js +++ b/tests/HTMLImports/tests.js @@ -1,7 +1,11 @@ -/* - * Copyright 2013 The Polymer Authors. All rights reserved. - * Use of this source code is governed by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ (function() { @@ -18,6 +22,7 @@ htmlSuite('HTMLImports', function() { htmlTest('html/dedupe.html'); htmlTest('html/dynamic.html'); htmlTest('html/csp.html'); + htmlTest('html/customevent-detail.html'); htmlTest('html/encoding.html'); htmlTest('html/HTMLImportsLoaded-native.html'); // NOTE: The MO polyfill does not function on disconnected documents @@ -27,4 +32,4 @@ htmlSuite('HTMLImports', function() { } }); -})(); \ No newline at end of file +})(); diff --git a/tests/MutationObservers/attributes.js b/tests/MutationObservers/attributes.js index 73d697b..5666fbb 100644 --- a/tests/MutationObservers/attributes.js +++ b/tests/MutationObservers/attributes.js @@ -1,7 +1,11 @@ -/* - * Copyright 2012 The Polymer Authors. All rights reserved. - * Use of this source code is governed by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('JsMutationObserver attributes', function() { @@ -273,4 +277,4 @@ suite('JsMutationObserver attributes', function() { }); }); -}); \ No newline at end of file +}); diff --git a/tests/MutationObservers/callback.js b/tests/MutationObservers/callback.js index b3083c7..224d780 100644 --- a/tests/MutationObservers/callback.js +++ b/tests/MutationObservers/callback.js @@ -1,7 +1,11 @@ -/* - * Copyright 2012 The Polymer Authors. All rights reserved. - * Use of this source code is governed by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('JsMutationObserver callback', function() { @@ -69,4 +73,4 @@ suite('JsMutationObserver callback', function() { div.setAttribute('a', 'A'); }); -}); \ No newline at end of file +}); diff --git a/tests/MutationObservers/characterData.js b/tests/MutationObservers/characterData.js index 498dc05..76bb480 100644 --- a/tests/MutationObservers/characterData.js +++ b/tests/MutationObservers/characterData.js @@ -1,7 +1,11 @@ -/* - * Copyright 2012 The Polymer Authors. All rights reserved. - * Use of this source code is governed by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('JsMutationObserver characterData', function() { @@ -103,4 +107,4 @@ suite('JsMutationObserver characterData', function() { }); }); -}); \ No newline at end of file +}); diff --git a/tests/MutationObservers/childList.js b/tests/MutationObservers/childList.js index 8ff4e4f..a54f915 100644 --- a/tests/MutationObservers/childList.js +++ b/tests/MutationObservers/childList.js @@ -1,7 +1,11 @@ -/* - * Copyright 2012 The Polymer Authors. All rights reserved. - * Use of this source code is governed by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('JsMutationObserver childList', function() { @@ -374,4 +378,4 @@ suite('JsMutationObserver childList', function() { }); }); -}); \ No newline at end of file +}); diff --git a/tests/MutationObservers/mixed.js b/tests/MutationObservers/mixed.js index eae6a60..8f9a64a 100644 --- a/tests/MutationObservers/mixed.js +++ b/tests/MutationObservers/mixed.js @@ -1,7 +1,11 @@ -/* - * Copyright 2012 The Polymer Authors. All rights reserved. - * Use of this source code is governed by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('JsMutationObserver mixed types', function() { @@ -33,4 +37,4 @@ suite('JsMutationObserver mixed types', function() { }); }); -}); \ No newline at end of file +}); diff --git a/tests/MutationObservers/runner.html b/tests/MutationObservers/runner.html index 983f3e7..ea8c3bc 100644 --- a/tests/MutationObservers/runner.html +++ b/tests/MutationObservers/runner.html @@ -1,11 +1,15 @@ - + - + diff --git a/tests/MutationObservers/transient.js b/tests/MutationObservers/transient.js index 7dda83e..0a226d0 100644 --- a/tests/MutationObservers/transient.js +++ b/tests/MutationObservers/transient.js @@ -1,7 +1,11 @@ -/* - * Copyright 2012 The Polymer Authors. All rights reserved. - * Use of this source code is governed by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('JsMutationObserver transient', function() { diff --git a/tests/ShadowCSS/html/before-content.html b/tests/ShadowCSS/html/before-content.html index 9f6fa91..7c32c12 100644 --- a/tests/ShadowCSS/html/before-content.html +++ b/tests/ShadowCSS/html/before-content.html @@ -1,11 +1,12 @@ - + @@ -50,7 +51,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN - - + + diff --git a/tests/ShadowCSS/html/colon-host.html b/tests/ShadowCSS/html/colon-host.html index 5970a68..22a80de 100644 --- a/tests/ShadowCSS/html/colon-host.html +++ b/tests/ShadowCSS/html/colon-host.html @@ -1,11 +1,12 @@ - + @@ -62,7 +63,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN display: block; background: red; } - + :host(.foo) { background: black; color: white; @@ -112,7 +113,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
padding: 20px
- + - +

Expected: red background

- +

Expected: red background

Expected: green background

- +

Expected: black background

- +

Expected: black background

- +

Expected: red background with white text

Expected: red background with white text

- +

Expected: red background with black text and orange border

- +

Expected: red background with black text and orange border and 20px padding

@@ -172,59 +173,59 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN - + - + - + - + - + - + - + - + diff --git a/tests/ShadowCSS/html/imports/sheet1.css b/tests/ShadowCSS/html/imports/sheet1.css index de04d15..98f59bb 100644 --- a/tests/ShadowCSS/html/imports/sheet1.css +++ b/tests/ShadowCSS/html/imports/sheet1.css @@ -1,4 +1,4 @@ -/* +/** * @license * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt @@ -10,4 +10,4 @@ .red { background: red; -} \ No newline at end of file +} diff --git a/tests/ShadowCSS/html/imports/sheet2.css b/tests/ShadowCSS/html/imports/sheet2.css index 2df2088..db55f4c 100644 --- a/tests/ShadowCSS/html/imports/sheet2.css +++ b/tests/ShadowCSS/html/imports/sheet2.css @@ -1,4 +1,4 @@ -/* +/** * @license * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt @@ -10,4 +10,4 @@ .blue { background: blue; -} \ No newline at end of file +} diff --git a/tests/ShadowCSS/html/polyfill-directive.html b/tests/ShadowCSS/html/polyfill-directive.html index 665043d..ed8517e 100644 --- a/tests/ShadowCSS/html/polyfill-directive.html +++ b/tests/ShadowCSS/html/polyfill-directive.html @@ -1,11 +1,12 @@ - + @@ -31,7 +32,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
Green?
Red?
- + - + - - + + diff --git a/tests/ShadowCSS/html/pseudo-scoping-strict.html b/tests/ShadowCSS/html/pseudo-scoping-strict.html index 5612f94..2209ae7 100644 --- a/tests/ShadowCSS/html/pseudo-scoping-strict.html +++ b/tests/ShadowCSS/html/pseudo-scoping-strict.html @@ -1,11 +1,12 @@ - + @@ -49,7 +50,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN background: green; } - div::before { + div::before { background: blue; content: 'zonk'; } @@ -58,7 +59,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN div { font-size: 50px; } - } + }
20px / 50px
@@ -83,7 +84,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN register('x-inner', '', HTMLElement.prototype); register('x-foo', '', HTMLElement.prototype); register('x-button', 'button', HTMLButtonElement.prototype, ['x-button']); - + document.addEventListener('WebComponentsReady', function() { setTimeout(function() { var foo = document.querySelector('x-foo'); @@ -108,15 +109,15 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN .shadowRoot.querySelector('div'); var xButtonDivStyle = getComputedStyle(xButtonDiv); chai.assert.equal(xButtonDivStyle.backgroundColor, 'rgb(255, 0, 0)', - 'type extension is properly shimmed'); + 'type extension is properly shimmed'); chai.assert.equal(xButtonDivStyle.fontSize, '50px', - 'media query for type extension is properly shimmed'); + 'media query for type extension is properly shimmed'); done(); }); }); - - + + diff --git a/tests/ShadowCSS/html/pseudo-scoping.html b/tests/ShadowCSS/html/pseudo-scoping.html index a47c8a3..3561b87 100644 --- a/tests/ShadowCSS/html/pseudo-scoping.html +++ b/tests/ShadowCSS/html/pseudo-scoping.html @@ -1,11 +1,12 @@ - + @@ -40,7 +41,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN background: green; } - div::before { + div::before { background: blue; content: 'zonk'; } @@ -49,7 +50,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN div { font-size: 50px; } - } + }
20px / 50px
@@ -72,7 +73,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN - - + + diff --git a/tests/ShadowCSS/html/register.js b/tests/ShadowCSS/html/register.js index 1f7b21e..a122ad8 100644 --- a/tests/ShadowCSS/html/register.js +++ b/tests/ShadowCSS/html/register.js @@ -1,4 +1,5 @@ -/* +/** + * @license * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt @@ -52,13 +53,13 @@ function templateForName(name) { return document.querySelector('#' + name); } - + function shim(templates, names) { var n = names[names.length-1]; var template = templateForName(n); WebComponents.ShadowCSS.shimStyling(template ? template.content : null, n, extendsRegistry[n]); } - + scope.register = register; })(window); diff --git a/tests/ShadowCSS/html/style-import.html b/tests/ShadowCSS/html/style-import.html index 87a92db..f97e8f1 100644 --- a/tests/ShadowCSS/html/style-import.html +++ b/tests/ShadowCSS/html/style-import.html @@ -1,11 +1,12 @@ diff --git a/tests/ShadowCSS/runner.html b/tests/ShadowCSS/runner.html index 6a9a669..835fd86 100644 --- a/tests/ShadowCSS/runner.html +++ b/tests/ShadowCSS/runner.html @@ -1,8 +1,12 @@ - + ShadowCSS Tests diff --git a/tests/ShadowCSS/tests.js b/tests/ShadowCSS/tests.js index b74f8c0..d3435ba 100644 --- a/tests/ShadowCSS/tests.js +++ b/tests/ShadowCSS/tests.js @@ -1,4 +1,5 @@ -/* +/** + * @license * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt diff --git a/tests/ShadowDOM/html/document-body-inner-html.html b/tests/ShadowDOM/html/document-body-inner-html.html index 3ffd0af..5f9b510 100644 --- a/tests/ShadowDOM/html/document-body-inner-html.html +++ b/tests/ShadowDOM/html/document-body-inner-html.html @@ -1,3 +1,4 @@ + - diff --git a/tests/ShadowDOM/html/document-body-shadow-root.html b/tests/ShadowDOM/html/document-body-shadow-root.html index 0473ce9..8033278 100644 --- a/tests/ShadowDOM/html/document-body-shadow-root.html +++ b/tests/ShadowDOM/html/document-body-shadow-root.html @@ -1,4 +1,13 @@ - + + diff --git a/tests/ShadowDOM/html/document-write.html b/tests/ShadowDOM/html/document-write.html index dc138b8..19189db 100644 --- a/tests/ShadowDOM/html/document-write.html +++ b/tests/ShadowDOM/html/document-write.html @@ -1,3 +1,4 @@ + - diff --git a/tests/ShadowDOM/html/head-then-body.html b/tests/ShadowDOM/html/head-then-body.html index cce34d1..fb7287c 100644 --- a/tests/ShadowDOM/html/head-then-body.html +++ b/tests/ShadowDOM/html/head-then-body.html @@ -1,3 +1,4 @@ + - diff --git a/tests/ShadowDOM/html/on-load-test.html b/tests/ShadowDOM/html/on-load-test.html index 4411083..837ddaa 100644 --- a/tests/ShadowDOM/html/on-load-test.html +++ b/tests/ShadowDOM/html/on-load-test.html @@ -1,3 +1,4 @@ + - diff --git a/tests/ShadowDOM/html/on-unload-test.html b/tests/ShadowDOM/html/on-unload-test.html index 49cae4c..d1b5dc7 100644 --- a/tests/ShadowDOM/html/on-unload-test.html +++ b/tests/ShadowDOM/html/on-unload-test.html @@ -1,4 +1,13 @@ - + + diff --git a/tests/ShadowDOM/js/ChildNodeInterface.js b/tests/ShadowDOM/js/ChildNodeInterface.js index 274f922..1fac5b6 100644 --- a/tests/ShadowDOM/js/ChildNodeInterface.js +++ b/tests/ShadowDOM/js/ChildNodeInterface.js @@ -1,7 +1,11 @@ -/* - * Copyright 2013 The Polymer Authors. All rights reserved. - * Use of this source code is goverened by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('ChildNodeInterface', function() { diff --git a/tests/ShadowDOM/js/Comment.js b/tests/ShadowDOM/js/Comment.js index f63c6b1..faccb81 100644 --- a/tests/ShadowDOM/js/Comment.js +++ b/tests/ShadowDOM/js/Comment.js @@ -1,7 +1,11 @@ -/* - * Copyright 2013 The Polymer Authors. All rights reserved. - * Use of this source code is goverened by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('Comment', function() { diff --git a/tests/ShadowDOM/js/DOMTokenList.js b/tests/ShadowDOM/js/DOMTokenList.js index 0ee2262..68152c9 100644 --- a/tests/ShadowDOM/js/DOMTokenList.js +++ b/tests/ShadowDOM/js/DOMTokenList.js @@ -1,7 +1,11 @@ -/* - * Copyright 2014 The Polymer Authors. All rights reserved. - * Use of this source code is goverened by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('DOMTokenList', function() { diff --git a/tests/ShadowDOM/js/Document.js b/tests/ShadowDOM/js/Document.js index 7e44fbb..0dcbfe4 100644 --- a/tests/ShadowDOM/js/Document.js +++ b/tests/ShadowDOM/js/Document.js @@ -1,7 +1,11 @@ -/* - * Copyright 2013 The Polymer Authors. All rights reserved. - * Use of this source code is goverened by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ htmlSuite('Document', function() { diff --git a/tests/ShadowDOM/js/Element.js b/tests/ShadowDOM/js/Element.js index 01af583..a7b4a21 100644 --- a/tests/ShadowDOM/js/Element.js +++ b/tests/ShadowDOM/js/Element.js @@ -1,7 +1,11 @@ -/* - * Copyright 2013 The Polymer Authors. All rights reserved. - * Use of this source code is goverened by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('Element', function() { diff --git a/tests/ShadowDOM/js/FormData.js b/tests/ShadowDOM/js/FormData.js index b9be8f9..f4b0677 100644 --- a/tests/ShadowDOM/js/FormData.js +++ b/tests/ShadowDOM/js/FormData.js @@ -1,7 +1,11 @@ -/* - * Copyright 2014 The Polymer Authors. All rights reserved. - * Use of this source code is goverened by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('FormData', function() { diff --git a/tests/ShadowDOM/js/HTMLAudioElement.js b/tests/ShadowDOM/js/HTMLAudioElement.js index f35cb4e..5ff676a 100644 --- a/tests/ShadowDOM/js/HTMLAudioElement.js +++ b/tests/ShadowDOM/js/HTMLAudioElement.js @@ -1,7 +1,11 @@ -/* - * Copyright 2013 The Polymer Authors. All rights reserved. - * Use of this source code is goverened by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('HTMLAudioElement', function() { diff --git a/tests/ShadowDOM/js/HTMLBodyElement.js b/tests/ShadowDOM/js/HTMLBodyElement.js index a8d4b49..08b8dcc 100644 --- a/tests/ShadowDOM/js/HTMLBodyElement.js +++ b/tests/ShadowDOM/js/HTMLBodyElement.js @@ -1,7 +1,11 @@ -/* - * Copyright 2013 The Polymer Authors. All rights reserved. - * Use of this source code is goverened by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ htmlSuite('HTMLBodyElement', function() { diff --git a/tests/ShadowDOM/js/HTMLButtonElement.js b/tests/ShadowDOM/js/HTMLButtonElement.js index 8988a0f..f09525c 100644 --- a/tests/ShadowDOM/js/HTMLButtonElement.js +++ b/tests/ShadowDOM/js/HTMLButtonElement.js @@ -1,7 +1,11 @@ -/* - * Copyright 2013 The Polymer Authors. All rights reserved. - * Use of this source code is goverened by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('HTMLButtonElement', function() { diff --git a/tests/ShadowDOM/js/HTMLCanvasElement.js b/tests/ShadowDOM/js/HTMLCanvasElement.js index b6ae9db..d8de9d5 100644 --- a/tests/ShadowDOM/js/HTMLCanvasElement.js +++ b/tests/ShadowDOM/js/HTMLCanvasElement.js @@ -1,7 +1,11 @@ -/* - * Copyright 2013 The Polymer Authors. All rights reserved. - * Use of this source code is goverened by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('HTMLCanvasElement', function() { diff --git a/tests/ShadowDOM/js/HTMLContentElement.js b/tests/ShadowDOM/js/HTMLContentElement.js index 25b944c..ba0734e 100644 --- a/tests/ShadowDOM/js/HTMLContentElement.js +++ b/tests/ShadowDOM/js/HTMLContentElement.js @@ -1,7 +1,11 @@ -/* - * Copyright 2012 The Polymer Authors. All rights reserved. - * Use of this source code is goverened by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('HTMLContentElement', function() { @@ -52,7 +56,8 @@ suite('HTMLContentElement', function() { df.appendChild(document.createTextNode(' ')); root.appendChild(df); - assertArrayEqual(content.getDistributedNodes().length, 3); + assert.equal(content.getDistributedNodes().length, 7); + assertArrayEqual(content.getDistributedNodes(), host.childNodes); }); test('getDistributedNodes add content deep inside tree', function() { @@ -237,4 +242,4 @@ suite('HTMLContentElement', function() { assert.equal(HTMLContentElement, document.createElement('content').constructor); }); -}); \ No newline at end of file +}); diff --git a/tests/ShadowDOM/js/HTMLElement.js b/tests/ShadowDOM/js/HTMLElement.js index e8c2859..f6d30a3 100644 --- a/tests/ShadowDOM/js/HTMLElement.js +++ b/tests/ShadowDOM/js/HTMLElement.js @@ -1,7 +1,11 @@ -/* - * Copyright 2013 The Polymer Authors. All rights reserved. - * Use of this source code is goverened by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('HTMLElement', function() { diff --git a/tests/ShadowDOM/js/HTMLFieldSetElement.js b/tests/ShadowDOM/js/HTMLFieldSetElement.js index 4cefe75..522a833 100644 --- a/tests/ShadowDOM/js/HTMLFieldSetElement.js +++ b/tests/ShadowDOM/js/HTMLFieldSetElement.js @@ -1,7 +1,11 @@ -/* - * Copyright 2013 The Polymer Authors. All rights reserved. - * Use of this source code is goverened by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('HTMLFieldSetElement', function() { diff --git a/tests/ShadowDOM/js/HTMLFormElement.js b/tests/ShadowDOM/js/HTMLFormElement.js index cfb58ce..0a08aff 100644 --- a/tests/ShadowDOM/js/HTMLFormElement.js +++ b/tests/ShadowDOM/js/HTMLFormElement.js @@ -1,7 +1,11 @@ -/* - * Copyright 2014 The Polymer Authors. All rights reserved. - * Use of this source code is governed by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('HTMLFormElement', function() { diff --git a/tests/ShadowDOM/js/HTMLHeadElement.js b/tests/ShadowDOM/js/HTMLHeadElement.js index ebf0202..cfa8866 100644 --- a/tests/ShadowDOM/js/HTMLHeadElement.js +++ b/tests/ShadowDOM/js/HTMLHeadElement.js @@ -1,7 +1,11 @@ -/* - * Copyright 2013 The Polymer Authors. All rights reserved. - * Use of this source code is goverened by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('HTMLHeadElement', function() { diff --git a/tests/ShadowDOM/js/HTMLHtmlElement.js b/tests/ShadowDOM/js/HTMLHtmlElement.js index 023f46e..be2e8a6 100644 --- a/tests/ShadowDOM/js/HTMLHtmlElement.js +++ b/tests/ShadowDOM/js/HTMLHtmlElement.js @@ -1,7 +1,11 @@ -/* - * Copyright 2013 The Polymer Authors. All rights reserved. - * Use of this source code is goverened by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('HTMLHtmlElement', function() { diff --git a/tests/ShadowDOM/js/HTMLImageElement.js b/tests/ShadowDOM/js/HTMLImageElement.js index adac85b..08bb725 100644 --- a/tests/ShadowDOM/js/HTMLImageElement.js +++ b/tests/ShadowDOM/js/HTMLImageElement.js @@ -1,7 +1,11 @@ -/* - * Copyright 2013 The Polymer Authors. All rights reserved. - * Use of this source code is goverened by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('HTMLImageElement', function() { diff --git a/tests/ShadowDOM/js/HTMLInputElement.js b/tests/ShadowDOM/js/HTMLInputElement.js index 8eb1b9e..6d0317d 100644 --- a/tests/ShadowDOM/js/HTMLInputElement.js +++ b/tests/ShadowDOM/js/HTMLInputElement.js @@ -1,7 +1,11 @@ -/* - * Copyright 2013 The Polymer Authors. All rights reserved. - * Use of this source code is goverened by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('HTMLInputElement', function() { diff --git a/tests/ShadowDOM/js/HTMLKeygenElement.js b/tests/ShadowDOM/js/HTMLKeygenElement.js index 5b34059..f71a380 100644 --- a/tests/ShadowDOM/js/HTMLKeygenElement.js +++ b/tests/ShadowDOM/js/HTMLKeygenElement.js @@ -1,7 +1,11 @@ -/* - * Copyright 2013 The Polymer Authors. All rights reserved. - * Use of this source code is goverened by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('HTMLKeygenElement', function() { diff --git a/tests/ShadowDOM/js/HTMLLabelElement.js b/tests/ShadowDOM/js/HTMLLabelElement.js index b55155e..04570ab 100644 --- a/tests/ShadowDOM/js/HTMLLabelElement.js +++ b/tests/ShadowDOM/js/HTMLLabelElement.js @@ -1,7 +1,11 @@ -/* - * Copyright 2013 The Polymer Authors. All rights reserved. - * Use of this source code is goverened by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('HTMLLabelElement', function() { diff --git a/tests/ShadowDOM/js/HTMLLegendElement.js b/tests/ShadowDOM/js/HTMLLegendElement.js index 804a40b..76f215f 100644 --- a/tests/ShadowDOM/js/HTMLLegendElement.js +++ b/tests/ShadowDOM/js/HTMLLegendElement.js @@ -1,7 +1,11 @@ -/* - * Copyright 2013 The Polymer Authors. All rights reserved. - * Use of this source code is goverened by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('HTMLLegendElement', function() { diff --git a/tests/ShadowDOM/js/HTMLObjectElement.js b/tests/ShadowDOM/js/HTMLObjectElement.js index f774554..9c6b75f 100644 --- a/tests/ShadowDOM/js/HTMLObjectElement.js +++ b/tests/ShadowDOM/js/HTMLObjectElement.js @@ -1,7 +1,11 @@ -/* - * Copyright 2013 The Polymer Authors. All rights reserved. - * Use of this source code is goverened by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('HTMLObjectElement', function() { diff --git a/tests/ShadowDOM/js/HTMLOptionElement.js b/tests/ShadowDOM/js/HTMLOptionElement.js index 66acf89..ee11c6b 100644 --- a/tests/ShadowDOM/js/HTMLOptionElement.js +++ b/tests/ShadowDOM/js/HTMLOptionElement.js @@ -1,7 +1,11 @@ -/* - * Copyright 2013 The Polymer Authors. All rights reserved. - * Use of this source code is goverened by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('HTMLOptionElement', function() { diff --git a/tests/ShadowDOM/js/HTMLOutputElement.js b/tests/ShadowDOM/js/HTMLOutputElement.js index fec297d..6a77412 100644 --- a/tests/ShadowDOM/js/HTMLOutputElement.js +++ b/tests/ShadowDOM/js/HTMLOutputElement.js @@ -1,7 +1,11 @@ -/* - * Copyright 2013 The Polymer Authors. All rights reserved. - * Use of this source code is goverened by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('HTMLOutputElement', function() { diff --git a/tests/ShadowDOM/js/HTMLSelectElement.js b/tests/ShadowDOM/js/HTMLSelectElement.js index 0ffaa94..b13f960 100644 --- a/tests/ShadowDOM/js/HTMLSelectElement.js +++ b/tests/ShadowDOM/js/HTMLSelectElement.js @@ -1,7 +1,11 @@ -/* - * Copyright 2013 The Polymer Authors. All rights reserved. - * Use of this source code is goverened by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('HTMLSelectElement', function() { diff --git a/tests/ShadowDOM/js/HTMLShadowElement.js b/tests/ShadowDOM/js/HTMLShadowElement.js index 83c56e7..71c2398 100644 --- a/tests/ShadowDOM/js/HTMLShadowElement.js +++ b/tests/ShadowDOM/js/HTMLShadowElement.js @@ -1,7 +1,11 @@ -/* - * Copyright 2013 The Polymer Authors. All rights reserved. - * Use of this source code is goverened by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('HTMLShadowElement', function() { diff --git a/tests/ShadowDOM/js/HTMLTableElement.js b/tests/ShadowDOM/js/HTMLTableElement.js index 8acb306..943cb93 100644 --- a/tests/ShadowDOM/js/HTMLTableElement.js +++ b/tests/ShadowDOM/js/HTMLTableElement.js @@ -1,7 +1,11 @@ -/* - * Copyright 2014 The Polymer Authors. All rights reserved. - * Use of this source code is goverened by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('HTMLTableElement', function() { diff --git a/tests/ShadowDOM/js/HTMLTableRowElement.js b/tests/ShadowDOM/js/HTMLTableRowElement.js index a07d326..333c8d3 100644 --- a/tests/ShadowDOM/js/HTMLTableRowElement.js +++ b/tests/ShadowDOM/js/HTMLTableRowElement.js @@ -1,7 +1,11 @@ -/* - * Copyright 2014 The Polymer Authors. All rights reserved. - * Use of this source code is goverened by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('HTMLTableRowElement', function() { diff --git a/tests/ShadowDOM/js/HTMLTableSectionElement.js b/tests/ShadowDOM/js/HTMLTableSectionElement.js index 3c56265..3ffe537 100644 --- a/tests/ShadowDOM/js/HTMLTableSectionElement.js +++ b/tests/ShadowDOM/js/HTMLTableSectionElement.js @@ -1,7 +1,11 @@ -/* - * Copyright 2014 The Polymer Authors. All rights reserved. - * Use of this source code is goverened by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('HTMLTableSectionElement', function() { diff --git a/tests/ShadowDOM/js/HTMLTemplateElement.js b/tests/ShadowDOM/js/HTMLTemplateElement.js index 82a4a43..b31bce7 100644 --- a/tests/ShadowDOM/js/HTMLTemplateElement.js +++ b/tests/ShadowDOM/js/HTMLTemplateElement.js @@ -1,7 +1,11 @@ -/* - * Copyright 2013 The Polymer Authors. All rights reserved. - * Use of this source code is goverened by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('HTML Template Element', function() { @@ -153,4 +157,4 @@ suite('HTML Template Element', function() { document.createElement('template').constructor); }); -}); \ No newline at end of file +}); diff --git a/tests/ShadowDOM/js/HTMLTextAreaElement.js b/tests/ShadowDOM/js/HTMLTextAreaElement.js index 9063e80..c37fb49 100644 --- a/tests/ShadowDOM/js/HTMLTextAreaElement.js +++ b/tests/ShadowDOM/js/HTMLTextAreaElement.js @@ -1,7 +1,11 @@ -/* - * Copyright 2013 The Polymer Authors. All rights reserved. - * Use of this source code is goverened by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('HTMLTextAreaElement', function() { diff --git a/tests/ShadowDOM/js/MutationObserver.js b/tests/ShadowDOM/js/MutationObserver.js index 8dc3edf..5609bdd 100644 --- a/tests/ShadowDOM/js/MutationObserver.js +++ b/tests/ShadowDOM/js/MutationObserver.js @@ -1,7 +1,11 @@ -/* - * Copyright 2013 The Polymer Authors. All rights reserved. - * Use of this source code is goverened by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('MutationObserver', function() { diff --git a/tests/ShadowDOM/js/MutationObserver/attributes.js b/tests/ShadowDOM/js/MutationObserver/attributes.js index 0bc5ae8..426e646 100644 --- a/tests/ShadowDOM/js/MutationObserver/attributes.js +++ b/tests/ShadowDOM/js/MutationObserver/attributes.js @@ -1,7 +1,11 @@ -/* - * Copyright 2012 The Polymer Authors. All rights reserved. - * Use of this source code is governed by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('MutationObserver', function() { @@ -277,4 +281,4 @@ suite('MutationObserver', function() { }); -}); \ No newline at end of file +}); diff --git a/tests/ShadowDOM/js/MutationObserver/callback.js b/tests/ShadowDOM/js/MutationObserver/callback.js index 7f84844..6c25621 100644 --- a/tests/ShadowDOM/js/MutationObserver/callback.js +++ b/tests/ShadowDOM/js/MutationObserver/callback.js @@ -1,7 +1,11 @@ -/* - * Copyright 2012 The Polymer Authors. All rights reserved. - * Use of this source code is governed by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('MutationObserver', function() { @@ -73,4 +77,4 @@ suite('MutationObserver', function() { }); -}); \ No newline at end of file +}); diff --git a/tests/ShadowDOM/js/MutationObserver/characterData.js b/tests/ShadowDOM/js/MutationObserver/characterData.js index cc462b2..317c1e6 100644 --- a/tests/ShadowDOM/js/MutationObserver/characterData.js +++ b/tests/ShadowDOM/js/MutationObserver/characterData.js @@ -1,7 +1,11 @@ -/* - * Copyright 2012 The Polymer Authors. All rights reserved. - * Use of this source code is governed by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('MutationObserver', function() { @@ -97,4 +101,4 @@ suite('MutationObserver', function() { }); -}); \ No newline at end of file +}); diff --git a/tests/ShadowDOM/js/MutationObserver/childList.js b/tests/ShadowDOM/js/MutationObserver/childList.js index fe54c68..13e69aa 100644 --- a/tests/ShadowDOM/js/MutationObserver/childList.js +++ b/tests/ShadowDOM/js/MutationObserver/childList.js @@ -1,7 +1,11 @@ -/* - * Copyright 2013 The Polymer Authors. All rights reserved. - * Use of this source code is goverened by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('MutationObserver', function() { diff --git a/tests/ShadowDOM/js/MutationObserver/mixed.js b/tests/ShadowDOM/js/MutationObserver/mixed.js index afc75a9..830c0d2 100644 --- a/tests/ShadowDOM/js/MutationObserver/mixed.js +++ b/tests/ShadowDOM/js/MutationObserver/mixed.js @@ -1,7 +1,11 @@ -/* - * Copyright 2012 The Polymer Authors. All rights reserved. - * Use of this source code is governed by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('MutationObserver', function() { @@ -37,4 +41,4 @@ suite('MutationObserver', function() { }); -}); \ No newline at end of file +}); diff --git a/tests/ShadowDOM/js/MutationObserver/options.js b/tests/ShadowDOM/js/MutationObserver/options.js index bea4c5d..be26821 100644 --- a/tests/ShadowDOM/js/MutationObserver/options.js +++ b/tests/ShadowDOM/js/MutationObserver/options.js @@ -1,7 +1,11 @@ -/* - * Copyright 2012 The Polymer Authors. All rights reserved. - * Use of this source code is governed by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('MutationObserver', function() { @@ -107,4 +111,4 @@ suite('MutationObserver', function() { }); -}); \ No newline at end of file +}); diff --git a/tests/ShadowDOM/js/MutationObserver/shadow-root.js b/tests/ShadowDOM/js/MutationObserver/shadow-root.js index 0fc68c1..33e32f3 100644 --- a/tests/ShadowDOM/js/MutationObserver/shadow-root.js +++ b/tests/ShadowDOM/js/MutationObserver/shadow-root.js @@ -1,7 +1,11 @@ -/* - * Copyright 2013 The Polymer Authors. All rights reserved. - * Use of this source code is governed by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('MutationObserver', function() { @@ -102,4 +106,4 @@ suite('MutationObserver', function() { }); -}); \ No newline at end of file +}); diff --git a/tests/ShadowDOM/js/MutationObserver/transient.js b/tests/ShadowDOM/js/MutationObserver/transient.js index ffc718a..af3198d 100644 --- a/tests/ShadowDOM/js/MutationObserver/transient.js +++ b/tests/ShadowDOM/js/MutationObserver/transient.js @@ -1,7 +1,11 @@ -/* - * Copyright 2012 The Polymer Authors. All rights reserved. - * Use of this source code is governed by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('MutationObserver', function() { @@ -303,4 +307,4 @@ suite('MutationObserver', function() { }); -}); \ No newline at end of file +}); diff --git a/tests/ShadowDOM/js/Node.js b/tests/ShadowDOM/js/Node.js index 8a8e9c6..a0b9dbe 100644 --- a/tests/ShadowDOM/js/Node.js +++ b/tests/ShadowDOM/js/Node.js @@ -1,7 +1,11 @@ -/* - * Copyright 2013 The Polymer Authors. All rights reserved. - * Use of this source code is goverened by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('Node', function() { diff --git a/tests/ShadowDOM/js/ParentNodeInterface.js b/tests/ShadowDOM/js/ParentNodeInterface.js index 35ac61c..72b3d6c 100644 --- a/tests/ShadowDOM/js/ParentNodeInterface.js +++ b/tests/ShadowDOM/js/ParentNodeInterface.js @@ -1,7 +1,11 @@ -/* - * Copyright 2013 The Polymer Authors. All rights reserved. - * Use of this source code is goverened by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('ParentNodeInterface', function() { diff --git a/tests/ShadowDOM/js/Range.js b/tests/ShadowDOM/js/Range.js index 80c3779..c180ffa 100644 --- a/tests/ShadowDOM/js/Range.js +++ b/tests/ShadowDOM/js/Range.js @@ -1,7 +1,11 @@ -/* - * Copyright 2013 The Polymer Authors. All rights reserved. - * Use of this source code is goverened by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('Range', function() { diff --git a/tests/ShadowDOM/js/SVGElement.js b/tests/ShadowDOM/js/SVGElement.js index fb1dd46..3c889f4 100644 --- a/tests/ShadowDOM/js/SVGElement.js +++ b/tests/ShadowDOM/js/SVGElement.js @@ -1,7 +1,11 @@ -/* - * Copyright 2014 The Polymer Authors. All rights reserved. - * Use of this source code is goverened by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('SVGElement', function() { diff --git a/tests/ShadowDOM/js/SVGElementInstance.js b/tests/ShadowDOM/js/SVGElementInstance.js index 4d2f666..9f3aa44 100644 --- a/tests/ShadowDOM/js/SVGElementInstance.js +++ b/tests/ShadowDOM/js/SVGElementInstance.js @@ -1,7 +1,11 @@ -/* - * Copyright 2014 The Polymer Authors. All rights reserved. - * Use of this source code is goverened by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('SVGElementInstance', function() { diff --git a/tests/ShadowDOM/js/Selection.js b/tests/ShadowDOM/js/Selection.js index 1b29b7e..8ac191e 100644 --- a/tests/ShadowDOM/js/Selection.js +++ b/tests/ShadowDOM/js/Selection.js @@ -1,7 +1,11 @@ -/* - * Copyright 2014 The Polymer Authors. All rights reserved. - * Use of this source code is goverened by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('Selection', function() { diff --git a/tests/ShadowDOM/js/ShadowRoot.js b/tests/ShadowDOM/js/ShadowRoot.js index ce28ef6..62478fd 100644 --- a/tests/ShadowDOM/js/ShadowRoot.js +++ b/tests/ShadowDOM/js/ShadowRoot.js @@ -1,6 +1,12 @@ -// Copyright 2013 The Polymer Authors. All rights reserved. -// Use of this source code is goverened by a BSD-style -// license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt + */ suite('ShadowRoot', function() { diff --git a/tests/ShadowDOM/js/Text.js b/tests/ShadowDOM/js/Text.js index b97eea2..b8a0b44 100644 --- a/tests/ShadowDOM/js/Text.js +++ b/tests/ShadowDOM/js/Text.js @@ -1,7 +1,11 @@ -/* - * Copyright 2013 The Polymer Authors. All rights reserved. - * Use of this source code is goverened by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('Text', function() { diff --git a/tests/ShadowDOM/js/TouchEvent.js b/tests/ShadowDOM/js/TouchEvent.js index 795fddb..9e9e246 100644 --- a/tests/ShadowDOM/js/TouchEvent.js +++ b/tests/ShadowDOM/js/TouchEvent.js @@ -1,7 +1,11 @@ -/* - * Copyright 2014 The Polymer Authors. All rights reserved. - * Use of this source code is goverened by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ htmlSuite('Events', function() { diff --git a/tests/ShadowDOM/js/TreeScope.js b/tests/ShadowDOM/js/TreeScope.js index b6025e0..b903f19 100644 --- a/tests/ShadowDOM/js/TreeScope.js +++ b/tests/ShadowDOM/js/TreeScope.js @@ -1,7 +1,11 @@ /** - * Copyright 2014 The Polymer Authors. All rights reserved. - * Use of this source code is goverened by a BSD-style - * license that can be found in the LICENSE file. + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('TreeScope', function() { diff --git a/tests/ShadowDOM/js/Window.js b/tests/ShadowDOM/js/Window.js index 67853e5..c939095 100644 --- a/tests/ShadowDOM/js/Window.js +++ b/tests/ShadowDOM/js/Window.js @@ -1,7 +1,11 @@ -/* - * Copyright 2013 The Polymer Authors. All rights reserved. - * Use of this source code is goverened by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('Window', function() { diff --git a/tests/ShadowDOM/js/XMLHttpRequest.js b/tests/ShadowDOM/js/XMLHttpRequest.js index 7ade23c..b9697ca 100644 --- a/tests/ShadowDOM/js/XMLHttpRequest.js +++ b/tests/ShadowDOM/js/XMLHttpRequest.js @@ -1,7 +1,11 @@ -/* - * Copyright 2014 The Polymer Authors. All rights reserved. - * Use of this source code is goverened by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('XMLHttpRequest', function() { diff --git a/tests/ShadowDOM/js/build-json.js b/tests/ShadowDOM/js/build-json.js index 7632085..e848234 100644 --- a/tests/ShadowDOM/js/build-json.js +++ b/tests/ShadowDOM/js/build-json.js @@ -1,7 +1,11 @@ -/* - * Copyright 2014 The Polymer Authors. All rights reserved. - * Use of this source code is goverened by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('build.json', function() { diff --git a/tests/ShadowDOM/js/createTable.js b/tests/ShadowDOM/js/createTable.js index e3d59b4..67ae68e 100644 --- a/tests/ShadowDOM/js/createTable.js +++ b/tests/ShadowDOM/js/createTable.js @@ -1,7 +1,11 @@ -/* - * Copyright 2014 The Polymer Authors. All rights reserved. - * Use of this source code is governed by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ function createTable() { diff --git a/tests/ShadowDOM/js/custom-element.js b/tests/ShadowDOM/js/custom-element.js index 210ccad..fc5bdcd 100644 --- a/tests/ShadowDOM/js/custom-element.js +++ b/tests/ShadowDOM/js/custom-element.js @@ -1,7 +1,11 @@ -/* - * Copyright 2013 The Polymer Authors. All rights reserved. - * Use of this source code is goverened by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('Custom Element', function() { @@ -27,4 +31,4 @@ suite('Custom Element', function() { 'plain custom element has custom function'); }); -}); \ No newline at end of file +}); diff --git a/tests/ShadowDOM/js/events.js b/tests/ShadowDOM/js/events.js index 0fb55c6..df0ec7c 100644 --- a/tests/ShadowDOM/js/events.js +++ b/tests/ShadowDOM/js/events.js @@ -1,7 +1,11 @@ -/* - * Copyright 2013 The Polymer Authors. All rights reserved. - * Use of this source code is goverened by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ htmlSuite('Events', function() { diff --git a/tests/ShadowDOM/js/microtask.js b/tests/ShadowDOM/js/microtask.js index 179057b..c09a536 100644 --- a/tests/ShadowDOM/js/microtask.js +++ b/tests/ShadowDOM/js/microtask.js @@ -1,7 +1,11 @@ -/* - * Copyright 2013 The Polymer Authors. All rights reserved. - * Use of this source code is goverened by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('Microtask', function() { diff --git a/tests/ShadowDOM/js/paralleltrees.js b/tests/ShadowDOM/js/paralleltrees.js index 10a1561..a9c6971 100644 --- a/tests/ShadowDOM/js/paralleltrees.js +++ b/tests/ShadowDOM/js/paralleltrees.js @@ -1,7 +1,11 @@ -/* - * Copyright 2012 The Polymer Authors. All rights reserved. - * Use of this source code is goverened by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('Parallel Trees', function() { @@ -1330,4 +1334,4 @@ suite('Parallel Trees', function() { assert.equal(div.firstChild.tagName, 'B'); }); -}); \ No newline at end of file +}); diff --git a/tests/ShadowDOM/js/reprojection.js b/tests/ShadowDOM/js/reprojection.js index 85b38b1..4d01aa1 100644 --- a/tests/ShadowDOM/js/reprojection.js +++ b/tests/ShadowDOM/js/reprojection.js @@ -1,7 +1,11 @@ -/* - * Copyright 2012 The Polymer Authors. All rights reserved. - * Use of this source code is goverened by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('Shadow DOM reprojection', function() { diff --git a/tests/ShadowDOM/js/rerender.js b/tests/ShadowDOM/js/rerender.js index 6b13a7e..cb350ae 100644 --- a/tests/ShadowDOM/js/rerender.js +++ b/tests/ShadowDOM/js/rerender.js @@ -1,7 +1,11 @@ -/* - * Copyright 2012 The Polymer Authors. All rights reserved. - * Use of this source code is goverened by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('Shadow DOM rerender', function() { @@ -642,4 +646,4 @@ suite('Shadow DOM rerender', function() { ShadowDOMPolyfill.originalRemoveChild = originalRemoveChild; } }); -}); \ No newline at end of file +}); diff --git a/tests/ShadowDOM/js/test.js b/tests/ShadowDOM/js/test.js index 18244b8..c1cc475 100644 --- a/tests/ShadowDOM/js/test.js +++ b/tests/ShadowDOM/js/test.js @@ -1,7 +1,11 @@ -/* - * Copyright 2012 The Polymer Authors. All rights reserved. - * Use of this source code is governed by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('Shadow DOM', function() { diff --git a/tests/ShadowDOM/js/wrappers.js b/tests/ShadowDOM/js/wrappers.js index ca7f47a..0b1307e 100644 --- a/tests/ShadowDOM/js/wrappers.js +++ b/tests/ShadowDOM/js/wrappers.js @@ -1,7 +1,11 @@ -/* - * Copyright 2013 The Polymer Authors. All rights reserved. - * Use of this source code is goverened by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ suite('Wrapper creation', function() { diff --git a/tests/ShadowDOM/manual/before-unload.html b/tests/ShadowDOM/manual/before-unload.html index be594d4..8fc25bc 100644 --- a/tests/ShadowDOM/manual/before-unload.html +++ b/tests/ShadowDOM/manual/before-unload.html @@ -1,3 +1,4 @@ + -

Drag the div below the image. When dragging the image should be used as the diff --git a/tests/ShadowDOM/runner.html b/tests/ShadowDOM/runner.html index c0c3012..71f7a20 100644 --- a/tests/ShadowDOM/runner.html +++ b/tests/ShadowDOM/runner.html @@ -1,8 +1,12 @@ - + ShadowDOM Tests diff --git a/tests/ShadowDOM/runner.min.html b/tests/ShadowDOM/runner.min.html index c930518..8f0571e 100644 --- a/tests/ShadowDOM/runner.min.html +++ b/tests/ShadowDOM/runner.min.html @@ -1,8 +1,12 @@ - + diff --git a/tests/ShadowDOM/tests.js b/tests/ShadowDOM/tests.js index 1fa13f4..9e0fd59 100644 --- a/tests/ShadowDOM/tests.js +++ b/tests/ShadowDOM/tests.js @@ -1,7 +1,11 @@ -/* - * Copyright 2013 The Polymer Authors. All rights reserved. - * Use of this source code is governed by a BSD-style - * license that can be found in the LICENSE file. +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ var assert = chai.assert; diff --git a/tests/Template/html/Template.html b/tests/Template/html/Template.html new file mode 100644 index 0000000..31f5749 --- /dev/null +++ b/tests/Template/html/Template.html @@ -0,0 +1,38 @@ + + + + + Template Test + + + + + + + + + + diff --git a/tests/Template/runner.html b/tests/Template/runner.html new file mode 100644 index 0000000..3bd02d7 --- /dev/null +++ b/tests/Template/runner.html @@ -0,0 +1,32 @@ + + +HTMLImports Tests + + + + + + + + + + + +

+ + + + + diff --git a/tests/Template/tests.js b/tests/Template/tests.js new file mode 100644 index 0000000..f681af9 --- /dev/null +++ b/tests/Template/tests.js @@ -0,0 +1,16 @@ +/** + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt + */ +(function() { + +htmlSuite('Template', function() { + htmlTest('html/Template.html'); +}); + +})(); diff --git a/tests/WeakMap/runner.html b/tests/WeakMap/runner.html index 0f04d6f..07af152 100644 --- a/tests/WeakMap/runner.html +++ b/tests/WeakMap/runner.html @@ -1,8 +1,12 @@ - + WeakMap tests diff --git a/tests/WebComponents/html/ce-import.html b/tests/WebComponents/html/ce-import.html index 2a39092..ab566f0 100644 --- a/tests/WebComponents/html/ce-import.html +++ b/tests/WebComponents/html/ce-import.html @@ -1,11 +1,12 @@ - + diff --git a/tests/WebComponents/html/ce-upgrade-order.html b/tests/WebComponents/html/ce-upgrade-order.html index e58fce0..17aefc9 100644 --- a/tests/WebComponents/html/ce-upgrade-order.html +++ b/tests/WebComponents/html/ce-upgrade-order.html @@ -1,12 +1,13 @@ + - diff --git a/tests/WebComponents/html/ce-upgradedocumenttree.html b/tests/WebComponents/html/ce-upgradedocumenttree.html index 4701abc..b6091d7 100644 --- a/tests/WebComponents/html/ce-upgradedocumenttree.html +++ b/tests/WebComponents/html/ce-upgradedocumenttree.html @@ -1,11 +1,12 @@ - + @@ -30,7 +31,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN } if (CustomElements.useNative || HTMLImports.useNative) { - done(); + done(); } else { window.addEventListener('WebComponentsReady', function() { CustomElements.ready = false; diff --git a/tests/WebComponents/html/dev-loader-swizzled.html b/tests/WebComponents/html/dev-loader-swizzled.html index a65a15d..87f5c89 100644 --- a/tests/WebComponents/html/dev-loader-swizzled.html +++ b/tests/WebComponents/html/dev-loader-swizzled.html @@ -1,11 +1,12 @@ - + diff --git a/tests/WebComponents/html/dev-loader.html b/tests/WebComponents/html/dev-loader.html index 1b548f2..f51d030 100644 --- a/tests/WebComponents/html/dev-loader.html +++ b/tests/WebComponents/html/dev-loader.html @@ -1,11 +1,12 @@ - + diff --git a/tests/WebComponents/html/element-import-a.html b/tests/WebComponents/html/element-import-a.html index 539fd2b..a3d5ee5 100644 --- a/tests/WebComponents/html/element-import-a.html +++ b/tests/WebComponents/html/element-import-a.html @@ -1,10 +1,11 @@ - \ No newline at end of file + diff --git a/tests/WebComponents/html/element-import-b.html b/tests/WebComponents/html/element-import-b.html index 151696a..d34c444 100644 --- a/tests/WebComponents/html/element-import-b.html +++ b/tests/WebComponents/html/element-import-b.html @@ -1,10 +1,11 @@ - \ No newline at end of file + diff --git a/tests/WebComponents/html/element-import.html b/tests/WebComponents/html/element-import.html index fd50ec1..da6c75c 100644 --- a/tests/WebComponents/html/element-import.html +++ b/tests/WebComponents/html/element-import.html @@ -1,10 +1,11 @@ diff --git a/tests/WebComponents/html/import-upgrade-order.html b/tests/WebComponents/html/import-upgrade-order.html index 9740ebc..c173f4d 100644 --- a/tests/WebComponents/html/import-upgrade-order.html +++ b/tests/WebComponents/html/import-upgrade-order.html @@ -1,9 +1,10 @@ diff --git a/tests/WebComponents/html/includes/strawkit.js b/tests/WebComponents/html/includes/strawkit.js index c50494a..6fdc111 100644 --- a/tests/WebComponents/html/includes/strawkit.js +++ b/tests/WebComponents/html/includes/strawkit.js @@ -1,4 +1,5 @@ -/* +/** + * @license * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt diff --git a/tests/WebComponents/html/jquery-shadowdom-polyfill.html b/tests/WebComponents/html/jquery-shadowdom-polyfill.html index ed90b52..8f771df 100644 --- a/tests/WebComponents/html/jquery-shadowdom-polyfill.html +++ b/tests/WebComponents/html/jquery-shadowdom-polyfill.html @@ -1,12 +1,13 @@ + - diff --git a/tests/WebComponents/html/loader-forcepoly.html b/tests/WebComponents/html/loader-forcepoly.html index 13c6f6e..4aa33f3 100644 --- a/tests/WebComponents/html/loader-forcepoly.html +++ b/tests/WebComponents/html/loader-forcepoly.html @@ -1,11 +1,12 @@ - + diff --git a/tests/WebComponents/html/smoke.html b/tests/WebComponents/html/smoke.html index 9969d2e..b743ab6 100644 --- a/tests/WebComponents/html/smoke.html +++ b/tests/WebComponents/html/smoke.html @@ -1,11 +1,12 @@ - + diff --git a/tests/WebComponents/html/strawkit.html b/tests/WebComponents/html/strawkit.html index 890d584..0198a2e 100644 --- a/tests/WebComponents/html/strawkit.html +++ b/tests/WebComponents/html/strawkit.html @@ -1,11 +1,12 @@ - + @@ -20,7 +21,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN + +