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

Side by Side Diff: polymer_0.5.4/bower_components/web-animations-js/test/blink/testharness/testharnessreport.js

Issue 895523005: Added Polymer 0.5.4 (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /*global add_completion_callback, setup */ 1 /*global add_completion_callback, setup */
2 /* 2 /*
3 * This file is intended for vendors to implement 3 * This file is intended for vendors to implement
4 * code needed to integrate testharness.js tests with their own test systems. 4 * code needed to integrate testharness.js tests with their own test systems.
5 * 5 *
6 * The default implementation extracts metadata from the tests and validates 6 * The default implementation extracts metadata from the tests and validates
7 * it against the cached version that should be present in the test source 7 * it against the cached version that should be present in the test source
8 * file. If the cache is not found or is out of sync, source code suitable for 8 * file. If the cache is not found or is out of sync, source code suitable for
9 * caching the metadata is optionally generated. 9 * caching the metadata is optionally generated.
10 * 10 *
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 if (window.opener && "testharness_properties" in window.opener) { 400 if (window.opener && "testharness_properties" in window.opener) {
401 /* If we pass the testharness_properties object as-is here without 401 /* If we pass the testharness_properties object as-is here without
402 * JSON stringifying and reparsing it, IE fails & emits the message 402 * JSON stringifying and reparsing it, IE fails & emits the message
403 * "Could not complete the operation due to error 80700019". 403 * "Could not complete the operation due to error 80700019".
404 */ 404 */
405 setup(JSON.parse(JSON.stringify(window.opener.testharness_properties))); 405 setup(JSON.parse(JSON.stringify(window.opener.testharness_properties)));
406 } 406 }
407 } catch (e) { 407 } catch (e) {
408 } 408 }
409 // vim: set expandtab shiftwidth=4 tabstop=4: 409 // vim: set expandtab shiftwidth=4 tabstop=4:
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698