Merge pull request #3079 from Ms2ger/tests-workers-2

Enable some workers tests; r=jgraham
This commit is contained in:
Ms2ger 2014-08-13 21:25:47 +02:00
commit e8d89ca464
122 changed files with 748 additions and 0 deletions

View file

@ -1,5 +1,19 @@
skip: true skip: true
[dom] [dom]
skip: false skip: false
[workers]
skip: false
[constructors]
skip: false
[SharedWorker]
skip: true
[semantics]
skip: false
[navigation]
skip: true
[reporting-errors]
skip: true
[structured-clone]
skip: true
[XMLHttpRequest] [XMLHttpRequest]
skip: false skip: false

View file

@ -0,0 +1,6 @@
[MessagePort_initial_disabled.htm]
type: testharness
expected: TIMEOUT
[Test Description: A port message queue can be enabled or disabled, and is initially disabled.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[MessagePort_onmessage_start.htm]
type: testharness
expected: TIMEOUT
[Test Description: The first time a MessagePort object\'s onmessage IDL attribute is set, the port\'s port message queue must be enabled, as if the start() method had been called.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[WorkerGlobalScope_ErrorEvent_colno.htm]
type: testharness
expected: TIMEOUT
[Test Description: WorkerGlobalScope onerror event handler 4th argument: col]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[WorkerGlobalScope_ErrorEvent_filename.htm]
type: testharness
expected: TIMEOUT
[Test Description: WorkerGlobalScope onerror event handler 2nd argument: location]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[WorkerGlobalScope_ErrorEvent_lineno.htm]
type: testharness
expected: TIMEOUT
[Test Description: WorkerGlobalScope onerror event handler 3rd argument: line]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[WorkerGlobalScope_ErrorEvent_message.htm]
type: testharness
expected: TIMEOUT
[Test Description: WorkerGlobalScope onerror event handler 1st argument: message]
expected: NOTRUN

View file

@ -0,0 +1,5 @@
[WorkerGlobalScope_EventTarget.htm]
type: testharness
[Test Description: WorkerGlobalScope implements EventTarget]
expected: FAIL

View file

@ -0,0 +1,5 @@
[WorkerGlobalScope_close.htm]
type: testharness
[Test Description: close() should discard any tasks queued in the event loop\'s task queues.]
expected: FAIL

View file

@ -0,0 +1,5 @@
[WorkerGlobalScope_importScripts.htm]
type: testharness
[Test Description: WorkerGlobalScope API: importScripts().]
expected: FAIL

View file

@ -0,0 +1,5 @@
[WorkerGlobalScope_importScripts_NetworkErr.htm]
type: testharness
[Test Description: importScripts(): Throw NETWORK_ERR exception whenever attempt to fetch script is failed.]
expected: FAIL

View file

@ -0,0 +1,6 @@
[WorkerGlobalScope_setInterval.htm]
type: testharness
expected: TIMEOUT
[Test Description: WorkerGlobalScope API: setInterval().]
expected: TIMEOUT

View file

@ -0,0 +1,6 @@
[WorkerGlobalScope_setTimeout.htm]
type: testharness
expected: TIMEOUT
[Test Description: WorkerGlobalScope API: setTimeout().]
expected: TIMEOUT

View file

@ -0,0 +1,6 @@
[WorkerLocation.htm]
type: testharness
expected: TIMEOUT
[Test Description: A WorkerLocation object represents an absolute URL set at its creation.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[WorkerLocation_hash.htm]
type: testharness
expected: TIMEOUT
[Test Description: WorkerLocation.hash returns the current fragment identifier in the underlying URL.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[WorkerLocation_hash_encoding.htm]
type: testharness
expected: TIMEOUT
[Test Description: WorkerLocation.hash returns \'#question%3f\' from input \'http://example.com/carrot#question%3f\']
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[WorkerLocation_hash_nonexist.htm]
type: testharness
expected: TIMEOUT
[Test Description: WorkerLocation hash attribute returns an empty string when there is no <query> component in input URL.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[WorkerLocation_host.htm]
type: testharness
expected: TIMEOUT
[Test Description: WorkerLocation host attribute returns the current host and port (if it\'s not the default port) in the underlying URL. The port part, if omitted, will be assumed to be the current scheme\'s default port.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[WorkerLocation_hostname.htm]
type: testharness
expected: TIMEOUT
[Test Description: WorkerLocation hostname attribute returns the current host in the underlying URL.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[WorkerLocation_href.htm]
type: testharness
expected: TIMEOUT
[Test Description: WorkerLocation href attribute must return the absolute URL that the WorkerLocation object represents.]
expected: NOTRUN

View file

@ -0,0 +1,3 @@
[WorkerLocation_pathname.htm]
type: testharness
expected: TIMEOUT

View file

@ -0,0 +1,6 @@
[WorkerLocation_port.htm]
type: testharness
expected: TIMEOUT
[Test Description: WorkerLocation port attribute returns the current port in the underlying URL.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[WorkerLocation_protocol.htm]
type: testharness
expected: TIMEOUT
[Test Description: WorkerLocation protocol attribute returns the current scheme of the underlying URL.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[WorkerLocation_search.htm]
type: testharness
expected: TIMEOUT
[Test Description: WorkerLocation search attribute returns the current query component in the underlying URL.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[WorkerLocation_search_empty.htm]
type: testharness
expected: TIMEOUT
[Test Description: WorkerLocation.search Getter Condition: input is a hierarchical URL, and contained a <query> component (possibly an empty one).]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[WorkerLocation_search_fragment.htm]
type: testharness
expected: TIMEOUT
[Test Description: WorkerLocation.search - The (empty) <fragment> component is not part of the <query> component for input URL \'http://example.com/?test#\']
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[WorkerLocation_search_nonexist.htm]
type: testharness
expected: TIMEOUT
[Test Description: WorkerLocation.search returns an empty string when there is no <query> component in input URL.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[WorkerNavigator_appName.htm]
type: testharness
expected: TIMEOUT
[Test Description: WorkerNavigator appName: Returns the name of the browser.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[WorkerNavigator_appVersion.htm]
type: testharness
expected: TIMEOUT
[Test Description: WorkerNavigator appVersion: Returns the version of the browser.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[WorkerNavigator_onLine.htm]
type: testharness
expected: TIMEOUT
[Test Description: WorkerNavigator implements NavigatorOnLine.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[WorkerNavigator_platform.htm]
type: testharness
expected: TIMEOUT
[Test Description: WorkerNavigator.platform returns the name of the platform: ]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[WorkerNavigator_userAgent.htm]
type: testharness
expected: TIMEOUT
[Test Description: WorkerNavigator.userAgent returns the complete User-Agent header: undefined]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[Worker_ErrorEvent_filename.htm]
type: testharness
expected: TIMEOUT
[Test Description: ErrorEvent filename attribute represents the absolute URL of the script in which the error originally occurred.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[Worker_ErrorEvent_lineno.htm]
type: testharness
expected: TIMEOUT
[Test Description: ErrorEvent lineno attribute represents the line number where the error occurred in the script.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[Worker_ErrorEvent_message.htm]
type: testharness
expected: TIMEOUT
[Test Description: ErrorEvent message attribute represents the error message.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[Worker_ErrorEvent_type.htm]
type: testharness
expected: TIMEOUT
[Test Description: ErrorEvent object and ErrorEvent.type]
expected: NOTRUN

View file

@ -0,0 +1,5 @@
[Worker_cross_origin_security_err.htm]
type: testharness
[Test Description: Throw a SECURITY_ERR exception when origin of the worker script URL and origin URL are not same.]
expected: FAIL

View file

@ -0,0 +1,6 @@
[Worker_dispatchEvent_ErrorEvent.htm]
type: testharness
expected: TIMEOUT
[Test Description: ErrorEvent.initErrorEvent() and Worker.dispatchEvent()]
expected: NOTRUN

View file

@ -0,0 +1,3 @@
[Worker_terminate_event_queue.htm]
type: testharness
disabled: too much output

View file

@ -0,0 +1,6 @@
[AbstractWorker.onerror.html]
type: testharness
expected: TIMEOUT
[AbstractWorker.onerror]
expected: TIMEOUT

View file

@ -0,0 +1,5 @@
[DedicatedWorkerGlobalScope-members.html]
type: testharness
[members of DedicatedWorkerGlobalScope]
expected: FAIL

View file

@ -0,0 +1,5 @@
[expected-self-properties.html]
type: testharness
[expected interface objects/constructors]
expected: FAIL

View file

@ -0,0 +1,29 @@
[same-origin.html]
type: testharness
[unsupported_scheme]
expected: FAIL
[data_url]
expected: FAIL
[about_blank]
expected: FAIL
[example_invalid]
expected: FAIL
[port_81]
expected: FAIL
[https_port_80]
expected: FAIL
[https_port_8000]
expected: FAIL
[http_post_8012]
expected: FAIL
[javascript_url]
expected: FAIL

View file

@ -0,0 +1,5 @@
[terminate.html]
type: testharness
[terminate()]
expected: FAIL

View file

@ -0,0 +1,5 @@
[unexpected-self-properties.html]
type: testharness
[unexpected members/interface objects/constructors]
expected: FAIL

View file

@ -0,0 +1,5 @@
[onmessage.html]
type: testharness
[onmessage]
expected: FAIL

View file

@ -0,0 +1,5 @@
[event-ports-dedicated.html]
type: testharness
[e.ports in dedicated worker]
expected: FAIL

View file

@ -0,0 +1,5 @@
[imagedata-cloned-canvas-in-array.html]
type: testharness
[posting an imagedata (from a cloned canvas) in an array]
expected: FAIL

View file

@ -0,0 +1,5 @@
[return-value.html]
type: testharness
[return value of postMessage]
expected: FAIL

View file

@ -0,0 +1,5 @@
[second-argument-null-in-array.html]
type: testharness
[Using [null\] in postMessage\'s second argument]
expected: FAIL

View file

@ -0,0 +1,5 @@
[second-argument-null.html]
type: testharness
[Using null in postMessage\'s second argument]
expected: FAIL

View file

@ -0,0 +1,5 @@
[setting-postMessage.html]
type: testharness
[setting postMessage]
expected: FAIL

View file

@ -0,0 +1,5 @@
[structured-clone-imagedata.html]
type: testharness
[structured clone of ImageData]
expected: FAIL

View file

@ -0,0 +1,41 @@
[structured-clone-message.html]
type: testharness
[undefined]
expected: FAIL
[null]
expected: FAIL
[false]
expected: FAIL
[true]
expected: FAIL
[1]
expected: FAIL
[NaN]
expected: FAIL
[Infinity]
expected: FAIL
[date]
expected: FAIL
[regexp]
expected: FAIL
[self]
expected: FAIL
[array]
expected: FAIL
[object]
expected: FAIL
[error]
expected: FAIL

View file

@ -0,0 +1,11 @@
[getting.html]
type: testharness
[getting name]
expected: FAIL
[getting name 1]
expected: FAIL
[getting name 2]
expected: FAIL

View file

@ -0,0 +1,5 @@
[setting.html]
type: testharness
[setting name]
expected: FAIL

View file

@ -0,0 +1,5 @@
[onconnect.html]
type: testharness
[onconnect]
expected: FAIL

View file

@ -0,0 +1,5 @@
[incoming-message.html]
type: testharness
[close() and incoming message]
expected: FAIL

View file

@ -0,0 +1,5 @@
[sending-messages.html]
type: testharness
[close() and sending messages]
expected: FAIL

View file

@ -0,0 +1,5 @@
[setInterval.html]
type: testharness
[close() and setInterval]
expected: FAIL

View file

@ -0,0 +1,5 @@
[setTimeout.html]
type: testharness
[close() and setTimeout]
expected: FAIL

View file

@ -0,0 +1,6 @@
[members.html]
type: testharness
expected: TIMEOUT
[members of WorkerLocation]
expected: TIMEOUT

View file

@ -0,0 +1,6 @@
[redirect.html]
type: testharness
expected: TIMEOUT
[location with a worker in separate file that redirects]
expected: TIMEOUT

View file

@ -0,0 +1,6 @@
[returns-same-object.html]
type: testharness
expected: TIMEOUT
[location === location]
expected: TIMEOUT

View file

@ -0,0 +1,6 @@
[setting-members.html]
type: testharness
expected: TIMEOUT
[setting members of WorkerLocation]
expected: TIMEOUT

View file

@ -0,0 +1,6 @@
[worker-separate-file.html]
type: testharness
expected: TIMEOUT
[location with a worker in separate file]
expected: TIMEOUT

View file

@ -0,0 +1,6 @@
[exception-in-onerror.html]
type: testharness
expected: TIMEOUT
[onerror, "not handled" with an error in the onerror function]
expected: TIMEOUT

View file

@ -0,0 +1,6 @@
[handled.html]
type: testharness
expected: TIMEOUT
[onerror, "handled"]
expected: TIMEOUT

View file

@ -0,0 +1,6 @@
[not-handled.html]
type: testharness
expected: TIMEOUT
[onerror, "not handled"]
expected: TIMEOUT

View file

@ -0,0 +1,5 @@
[propagate-to-window-onerror.html]
type: testharness
[onerror, "not handled" with only window.onerror defined]
expected: FAIL

View file

@ -0,0 +1,5 @@
[self.html]
type: testharness
[self]
expected: FAIL

View file

@ -0,0 +1,6 @@
[001.html]
type: testharness
expected: TIMEOUT
[setTimeout]
expected: TIMEOUT

View file

@ -0,0 +1,6 @@
[003.html]
type: testharness
expected: TIMEOUT
[setInterval]
expected: TIMEOUT

View file

@ -0,0 +1,5 @@
[001.html]
type: testharness
[importScripts no arguments]
expected: FAIL

View file

@ -0,0 +1,5 @@
[002.html]
type: testharness
[importScripts resolving urls]
expected: FAIL

View file

@ -0,0 +1,5 @@
[003.html]
type: testharness
[importScripts running scripts]
expected: FAIL

View file

@ -0,0 +1,5 @@
[004.html]
type: testharness
[importScripts broken script]
expected: FAIL

View file

@ -0,0 +1,5 @@
[005.html]
type: testharness
[importScripts separate scripts]
expected: FAIL

View file

@ -0,0 +1,5 @@
[006.html]
type: testharness
[importScripts uncaught exception]
expected: FAIL

View file

@ -0,0 +1,6 @@
[007.html]
type: testharness
expected: TIMEOUT
[postMessage in importScripts]
expected: TIMEOUT

View file

@ -0,0 +1,6 @@
[008.html]
type: testharness
expected: TIMEOUT
[variables and functions crossing importScripts boundary]
expected: TIMEOUT

View file

@ -0,0 +1,6 @@
[009.html]
type: testharness
expected: TIMEOUT
[variables and functions crossing importScripts boundary, take 2]
expected: TIMEOUT

View file

@ -0,0 +1,5 @@
[010.html]
type: testharness
[importScripts(undefined)]
expected: FAIL

View file

@ -0,0 +1,5 @@
[011.html]
type: testharness
[importScripts(null)]
expected: FAIL

View file

@ -0,0 +1,5 @@
[012.html]
type: testharness
[importScripts(1)]
expected: FAIL

View file

@ -0,0 +1,5 @@
[001.html]
type: testharness
[navigator]
expected: FAIL

View file

@ -0,0 +1,6 @@
[002.html]
type: testharness
expected: TIMEOUT
[navigator.appName]
expected: TIMEOUT

View file

@ -0,0 +1,6 @@
[003.html]
type: testharness
expected: TIMEOUT
[navigator.appVersion]
expected: TIMEOUT

View file

@ -0,0 +1,6 @@
[004.html]
type: testharness
expected: TIMEOUT
[navigator.platform]
expected: TIMEOUT

View file

@ -0,0 +1,6 @@
[005.html]
type: testharness
expected: TIMEOUT
[navigator.userAgent]
expected: TIMEOUT

View file

@ -0,0 +1,6 @@
[006.html]
type: testharness
expected: TIMEOUT
[navigator.onLine]
expected: TIMEOUT

View file

@ -0,0 +1,6 @@
[007.html]
type: testharness
expected: TIMEOUT
[readonlyness of members of Navigator]
expected: TIMEOUT

View file

@ -0,0 +1,6 @@
[language.html]
type: testharness
expected: TIMEOUT
[navigator.language]
expected: TIMEOUT

View file

@ -0,0 +1,5 @@
[postMessage_DataCloneErr.htm]
type: testharness
[Test Description: Throw a DATA_CLONE_ERR exception when a host object (e.g. a DOM node) is used with postMessage.]
expected: FAIL

View file

@ -0,0 +1,6 @@
[postMessage_clone_port.htm]
type: testharness
expected: TIMEOUT
[Test Description: Test Description: When the user agent is to clone a port original port, with the clone being owned by owner, it must return a new MessagePort object]
expected: NOTRUN

View file

@ -0,0 +1,5 @@
[postMessage_clone_port_error.htm]
type: testharness
[Test Description: Throw a DataCloneError if transfer array in postMessage contains source port.]
expected: FAIL

View file

@ -0,0 +1,6 @@
[postMessage_event_properties.htm]
type: testharness
expected: TIMEOUT
[Test Description: The postMessage() method - Create an event that uses the MessageEvent interface, with the name message, which does not bubble and is not cancelable.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[postMessage_ports_readonly_array.htm]
type: testharness
expected: TIMEOUT
[Test Description: The postMessage() method - Make new ports into a read only array.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[postMessage_target_source.htm]
type: testharness
expected: TIMEOUT
[Test Description: The postMessage() method - Let target port be the port with which source port is entangled, if any.]
expected: NOTRUN

View file

@ -0,0 +1,5 @@
[002.html]
type: testharness
[encoding, shared worker]
expected: FAIL

Some files were not shown because too many files have changed in this diff Show more