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

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/workers/interfaces.worker-expected.txt

Issue 2767673002: WPTServe: Run .any.js and .worker.js variations (Closed)
Patch Set: TestExpectations hacky fix Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/external/wpt/workers/interfaces.worker-expected.txt
diff --git a/third_party/WebKit/LayoutTests/external/wpt/workers/interfaces.worker-expected.txt b/third_party/WebKit/LayoutTests/external/wpt/workers/interfaces.worker-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..da531663612445a0f24874c28b05ab401e48086a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/workers/interfaces.worker-expected.txt
@@ -0,0 +1,128 @@
+This is a testharness.js-based test.
+Found 124 tests; 111 PASS, 13 FAIL, 0 TIMEOUT, 0 NOTRUN.
+PASS EventTarget interface: existence and properties of interface object
+PASS EventTarget interface object length
+PASS EventTarget interface object name
+FAIL EventTarget interface: existence and properties of interface prototype object assert_equals: class string of EventTarget.prototype expected "[object EventTargetPrototype]" but got "[object EventTarget]"
+PASS EventTarget interface: existence and properties of interface prototype object's "constructor" property
+PASS EventTarget interface: operation addEventListener(DOMString,EventListener,boolean)
+PASS EventTarget interface: operation removeEventListener(DOMString,EventListener,boolean)
+PASS EventTarget interface: operation dispatchEvent(Event)
+PASS EventListener interface: existence and properties of interface object
+PASS WorkerGlobalScope interface: existence and properties of interface object
+PASS WorkerGlobalScope interface object length
+PASS WorkerGlobalScope interface object name
+FAIL WorkerGlobalScope interface: existence and properties of interface prototype object assert_equals: class string of WorkerGlobalScope.prototype expected "[object WorkerGlobalScopePrototype]" but got "[object WorkerGlobalScope]"
+PASS WorkerGlobalScope interface: existence and properties of interface prototype object's "constructor" property
+PASS WorkerGlobalScope interface: attribute self
+PASS WorkerGlobalScope interface: attribute location
+PASS WorkerGlobalScope interface: attribute navigator
+PASS WorkerGlobalScope interface: operation importScripts(DOMString)
+PASS WorkerGlobalScope interface: attribute onerror
+FAIL WorkerGlobalScope interface: attribute onoffline assert_true: The prototype object must have a property "onoffline" expected true got false
+FAIL WorkerGlobalScope interface: attribute ononline assert_true: The prototype object must have a property "ononline" expected true got false
+PASS WorkerGlobalScope interface: operation setTimeout(Function,long,any)
+PASS WorkerGlobalScope interface: operation setTimeout(DOMString,long,any)
+PASS WorkerGlobalScope interface: operation clearTimeout(long)
+PASS WorkerGlobalScope interface: operation setInterval(Function,long,any)
+PASS WorkerGlobalScope interface: operation setInterval(DOMString,long,any)
+PASS WorkerGlobalScope interface: operation clearInterval(long)
+PASS WorkerGlobalScope interface: operation btoa(DOMString)
+PASS WorkerGlobalScope interface: operation atob(DOMString)
+PASS DedicatedWorkerGlobalScope interface: existence and properties of interface object
+PASS DedicatedWorkerGlobalScope interface object length
+PASS DedicatedWorkerGlobalScope interface object name
+FAIL DedicatedWorkerGlobalScope interface: existence and properties of interface prototype object assert_equals: class string of DedicatedWorkerGlobalScope.prototype expected "[object DedicatedWorkerGlobalScopePrototype]" but got "[object DedicatedWorkerGlobalScope]"
+PASS DedicatedWorkerGlobalScope interface: existence and properties of interface prototype object's "constructor" property
+PASS DedicatedWorkerGlobalScope interface: operation postMessage(any,[object Object])
+PASS DedicatedWorkerGlobalScope interface: operation close()
+PASS DedicatedWorkerGlobalScope interface: attribute onmessage
+PASS DedicatedWorkerGlobalScope must be primary interface of self
+PASS Stringification of self
+PASS DedicatedWorkerGlobalScope interface: self must inherit property "postMessage" with the proper type (0)
+PASS DedicatedWorkerGlobalScope interface: calling postMessage(any,[object Object]) on self with too few arguments must throw TypeError
+PASS DedicatedWorkerGlobalScope interface: self must inherit property "close" with the proper type (1)
+PASS DedicatedWorkerGlobalScope interface: self must inherit property "onmessage" with the proper type (2)
+PASS WorkerGlobalScope interface: self must inherit property "self" with the proper type (0)
+PASS WorkerGlobalScope interface: self must inherit property "location" with the proper type (1)
+PASS WorkerGlobalScope interface: self must inherit property "navigator" with the proper type (2)
+PASS WorkerGlobalScope interface: self must inherit property "importScripts" with the proper type (3)
+PASS WorkerGlobalScope interface: calling importScripts(DOMString) on self with too few arguments must throw TypeError
+PASS WorkerGlobalScope interface: self must inherit property "onerror" with the proper type (4)
+FAIL WorkerGlobalScope interface: self must inherit property "onoffline" with the proper type (5) assert_inherits: property "onoffline" not found in prototype chain
+FAIL WorkerGlobalScope interface: self must inherit property "ononline" with the proper type (6) assert_inherits: property "ononline" not found in prototype chain
+PASS WorkerGlobalScope interface: self must inherit property "setTimeout" with the proper type (7)
+PASS WorkerGlobalScope interface: calling setTimeout(Function,long,any) on self with too few arguments must throw TypeError
+PASS WorkerGlobalScope interface: self must inherit property "setTimeout" with the proper type (8)
+PASS WorkerGlobalScope interface: calling setTimeout(DOMString,long,any) on self with too few arguments must throw TypeError
+PASS WorkerGlobalScope interface: self must inherit property "clearTimeout" with the proper type (9)
+PASS WorkerGlobalScope interface: calling clearTimeout(long) on self with too few arguments must throw TypeError
+PASS WorkerGlobalScope interface: self must inherit property "setInterval" with the proper type (10)
+PASS WorkerGlobalScope interface: calling setInterval(Function,long,any) on self with too few arguments must throw TypeError
+PASS WorkerGlobalScope interface: self must inherit property "setInterval" with the proper type (11)
+PASS WorkerGlobalScope interface: calling setInterval(DOMString,long,any) on self with too few arguments must throw TypeError
+PASS WorkerGlobalScope interface: self must inherit property "clearInterval" with the proper type (12)
+PASS WorkerGlobalScope interface: calling clearInterval(long) on self with too few arguments must throw TypeError
+PASS WorkerGlobalScope interface: self must inherit property "btoa" with the proper type (13)
+PASS WorkerGlobalScope interface: calling btoa(DOMString) on self with too few arguments must throw TypeError
+PASS WorkerGlobalScope interface: self must inherit property "atob" with the proper type (14)
+PASS WorkerGlobalScope interface: calling atob(DOMString) on self with too few arguments must throw TypeError
+PASS EventTarget interface: self must inherit property "addEventListener" with the proper type (0)
+PASS EventTarget interface: calling addEventListener(DOMString,EventListener,boolean) on self with too few arguments must throw TypeError
+PASS EventTarget interface: self must inherit property "removeEventListener" with the proper type (1)
+PASS EventTarget interface: calling removeEventListener(DOMString,EventListener,boolean) on self with too few arguments must throw TypeError
+PASS EventTarget interface: self must inherit property "dispatchEvent" with the proper type (2)
+PASS EventTarget interface: calling dispatchEvent(Event) on self with too few arguments must throw TypeError
+PASS WorkerNavigator interface: existence and properties of interface object
+PASS WorkerNavigator interface object length
+PASS WorkerNavigator interface object name
+FAIL WorkerNavigator interface: existence and properties of interface prototype object assert_equals: class string of WorkerNavigator.prototype expected "[object WorkerNavigatorPrototype]" but got "[object WorkerNavigator]"
+PASS WorkerNavigator interface: existence and properties of interface prototype object's "constructor" property
+PASS WorkerNavigator interface: attribute appCodeName
+PASS WorkerNavigator interface: attribute appName
+PASS WorkerNavigator interface: attribute appVersion
+PASS WorkerNavigator interface: attribute platform
+PASS WorkerNavigator interface: attribute product
+PASS WorkerNavigator interface: attribute userAgent
+FAIL WorkerNavigator interface: attribute language assert_true: The prototype object must have a property "language" expected true got false
+FAIL WorkerNavigator interface: attribute languages assert_true: The prototype object must have a property "languages" expected true got false
+PASS WorkerNavigator interface: attribute onLine
+PASS WorkerNavigator must be primary interface of self.navigator
+PASS Stringification of self.navigator
+PASS WorkerNavigator interface: self.navigator must inherit property "appCodeName" with the proper type (0)
+PASS WorkerNavigator interface: self.navigator must inherit property "appName" with the proper type (1)
+PASS WorkerNavigator interface: self.navigator must inherit property "appVersion" with the proper type (2)
+PASS WorkerNavigator interface: self.navigator must inherit property "platform" with the proper type (3)
+PASS WorkerNavigator interface: self.navigator must inherit property "product" with the proper type (4)
+PASS WorkerNavigator interface: self.navigator must inherit property "userAgent" with the proper type (5)
+FAIL WorkerNavigator interface: self.navigator must inherit property "language" with the proper type (6) assert_inherits: property "language" not found in prototype chain
+FAIL WorkerNavigator interface: self.navigator must inherit property "languages" with the proper type (7) assert_inherits: property "languages" not found in prototype chain
+PASS WorkerNavigator interface: self.navigator must inherit property "onLine" with the proper type (8)
+PASS WorkerLocation interface: existence and properties of interface object
+PASS WorkerLocation interface object length
+PASS WorkerLocation interface object name
+FAIL WorkerLocation interface: existence and properties of interface prototype object assert_equals: class string of WorkerLocation.prototype expected "[object WorkerLocationPrototype]" but got "[object WorkerLocation]"
+PASS WorkerLocation interface: existence and properties of interface prototype object's "constructor" property
+PASS WorkerLocation interface: attribute href
+PASS WorkerLocation interface: stringifier
+PASS WorkerLocation interface: attribute origin
+PASS WorkerLocation interface: attribute protocol
+PASS WorkerLocation interface: attribute host
+PASS WorkerLocation interface: attribute hostname
+PASS WorkerLocation interface: attribute port
+PASS WorkerLocation interface: attribute pathname
+PASS WorkerLocation interface: attribute search
+PASS WorkerLocation interface: attribute hash
+PASS WorkerLocation must be primary interface of self.location
+PASS Stringification of self.location
+PASS WorkerLocation interface: self.location must inherit property "href" with the proper type (0)
+PASS WorkerLocation interface: self.location must inherit property "origin" with the proper type (1)
+PASS WorkerLocation interface: self.location must inherit property "protocol" with the proper type (2)
+PASS WorkerLocation interface: self.location must inherit property "host" with the proper type (3)
+PASS WorkerLocation interface: self.location must inherit property "hostname" with the proper type (4)
+PASS WorkerLocation interface: self.location must inherit property "port" with the proper type (5)
+PASS WorkerLocation interface: self.location must inherit property "pathname" with the proper type (6)
+PASS WorkerLocation interface: self.location must inherit property "search" with the proper type (7)
+PASS WorkerLocation interface: self.location must inherit property "hash" with the proper type (8)
+Harness: the test ran to completion.
+

Powered by Google App Engine
This is Rietveld 408576698