/usr/share/javascript/yui3/test-console/test-console-min.js is in libjs-yui3-min 3.5.1-1ubuntu3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 | /*
YUI 3.5.1 (build 22)
Copyright 2012 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add("test-console",function(b){function a(){a.superclass.constructor.apply(this,arguments);}b.namespace("Test").Console=b.extend(a,b.Console,{initializer:function(c){this.on("entry",this._onEntry);this.plug(b.Plugin.ConsoleFilters,{category:b.merge({info:true,pass:false,fail:true,status:false},(c&&c.filters)||{}),defaultVisibility:false,source:{TestRunner:true}});},_onEntry:function(c){var d=c.message;if(d.category==="info"&&/\s(?:case|suite)\s|yuitests\d+|began/.test(d.message)){d.category="status";}else{if(d.category==="fail"){this.printBuffer();}}}},{NAME:"testConsole",ATTRS:{entryTemplate:{value:'<div class="{entry_class} {cat_class} {src_class}">'+'<div class="{entry_content_class}">{message}</div>'+"</div>"},height:{value:"350px"},newestOnTop:{value:false},style:{value:"block"},width:{value:b.UA.ie&&b.UA.ie<9?"100%":"inherit"}}});},"3.5.1",{skinnable:true,requires:["console-filters","test"]});
|