| Index: third_party/WebKit/Source/devtools/scripts/jsdoc_validator/tests/proto.js
|
| diff --git a/third_party/WebKit/Source/devtools/scripts/jsdoc_validator/tests/proto.js b/third_party/WebKit/Source/devtools/scripts/jsdoc_validator/tests/proto.js
|
| deleted file mode 100644
|
| index 2d977eceb4b8cf05c52487bd8d22084afe05c216..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/Source/devtools/scripts/jsdoc_validator/tests/proto.js
|
| +++ /dev/null
|
| @@ -1,137 +0,0 @@
|
| -/**
|
| - * @constructor
|
| - */
|
| -Base = function() {}
|
| -
|
| -/**
|
| - * @constructor
|
| - * @extends {Base}
|
| - */
|
| -DerivedNoProto = function() {}
|
| -
|
| -/**
|
| - * @constructor
|
| - * @extends {Base}
|
| - */
|
| -DerivedBadProto = function() {}
|
| -
|
| -DerivedBadProto.prototype = {
|
| - __proto__: Base
|
| -}
|
| -
|
| -/**
|
| - * @interface
|
| - */
|
| -InterfaceWithProto = function() {}
|
| -
|
| -InterfaceWithProto.prototype = {
|
| - __proto__: Base.prototype
|
| -}
|
| -
|
| -/**
|
| - * @constructor
|
| - */
|
| -ProtoNoExtends = function() {}
|
| -
|
| -ProtoNoExtends.prototype = {
|
| - __proto__: Base.prototype
|
| -}
|
| -
|
| -/**
|
| - * @constructor
|
| - * @extends {Base}
|
| - */
|
| -ProtoNotSameAsExtends = function() {}
|
| -
|
| -ProtoNotSameAsExtends.prototype = {
|
| - __proto__: Object.prototype
|
| -}
|
| -
|
| -/**
|
| - * @constructor
|
| - * @extends {Base}
|
| - */
|
| -ProtoNotObjectLiteral = function() {}
|
| -
|
| -ProtoNotObjectLiteral.prototype = Object;
|
| -
|
| -/**
|
| - * @constructor
|
| - * @extends {Base}
|
| - */
|
| -DerivedNoSuperCall = function() {
|
| -}
|
| -
|
| -DerivedNoSuperCall.prototype = {
|
| - __proto__: Base.prototype
|
| -}
|
| -
|
| -/**
|
| - * @constructor
|
| - * @extends {Base}
|
| - */
|
| -DerivedBadSuperCall = function() {
|
| - Base.call(1);
|
| -}
|
| -
|
| -DerivedBadSuperCall.prototype = {
|
| - __proto__: Base.prototype
|
| -}
|
| -
|
| -/**
|
| - * @extends {Base}
|
| - */
|
| -GoodDerived = function() {
|
| - Base.call(this);
|
| -}
|
| -
|
| -GoodDerived.prototype = {
|
| - __proto__: Base.prototype
|
| -}
|
| -
|
| -/**
|
| - * @constructor
|
| - * @template T
|
| - */
|
| -var Set = function() {}
|
| -
|
| -Set.prototype = {
|
| - add: function(item) {},
|
| - remove: function(item) {},
|
| - /** @return {boolean} */
|
| - contains: function(item) { return true; }
|
| -}
|
| -
|
| -/**
|
| - * @constructor
|
| - * @extends {Set.<T>}
|
| - * @template T
|
| - */
|
| -var GoodSetSubclass = function()
|
| -{
|
| - Set.call(this);
|
| -}
|
| -
|
| -GoodSetSubclass.prototype = {
|
| - __proto__: Set.prototype
|
| -}
|
| -
|
| -/**
|
| - * @constructor
|
| - * @extends {Set.<T>}
|
| - * @template T
|
| - */
|
| -var BadSetSubclass = function()
|
| -{
|
| -}
|
| -
|
| -BadSetSubclass.prototype = {
|
| -}
|
| -
|
| -var NS = {};
|
| -
|
| -/**
|
| - * @constructor
|
| - * @extends {Base}
|
| - */
|
| -NS.BadSubClass = function() {}
|
|
|