Opened 4 years ago

Last modified 3 years ago

#16758 new task

We need a dom-objects-enumeration test for Workers and SharedWorkers

Reported by: boklm Owned by: boklm
Priority: Medium Milestone:
Component: Applications/Quality Assurance and Testing Version:
Severity: Normal Keywords: tbb-testcase
Cc: tbb-team, gk Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

We have a test that enumerates dom objects available in the global scope.

We need the same test in the Workers and SharedWorkers scopes.

Child Tickets

Change History (4)

comment:1 Changed 4 years ago by mikeperry

Bonus points if we can use this to produce a diff of interfaces exposed on these two worker types between 4.5.3 and 5.0, as we did with the main DOM test.

comment:2 Changed 4 years ago by gk

Cc: gk added

comment:3 Changed 4 years ago by boklm

I added a page to enumerate DOM objects in a Worker thread (not yet in a SharedWorker thread):
http://test-data.tbb.torproject.org/workers/dom-objects-enumeration.html

The diff we have between 4.5.3 and 5.0 is:

5c5,6
< Console
---
> BroadcastChannel
> DOMError
6a8
> DOMStringList
18a21,30
> IDBCursor
> IDBDatabase
> IDBFactory
> IDBIndex
> IDBKeyRange
> IDBObjectStore
> IDBOpenDBRequest
> IDBRequest
> IDBTransaction
> IDBVersionChangeEvent
34a47
> Performance
42a56
> Symbol
54a69,70
> WeakSet
> WebSocket
59a76
> XMLHttpRequestEventTarget
83a101
> indexedDB
95a114
> performance

comment:4 Changed 3 years ago by boklm

Severity: Normal

Commit 6d5c9d91be76796fa63d114367bb9f96770b70d3 adds a dom-objects-enumeration-worker test checking the list of DOM Objects exposed in a Worker context.

Note: See TracTickets for help on using tickets.