<script>
test(function() {
- verifyInterface(
+ verify_interface(
'ServiceWorkerContainer', navigator.serviceWorker,
{
register: 'function',
async_test(function(t) {
var EVENT_HANDLER = 'object';
- var scope = 'scope/interfaces-and-attributes';
+ var scope = 'resources/scope/interfaces-and-attributes';
var registration;
service_worker_unregister_and_register(
t, 'resources/empty-worker.js', scope)
.then(function(r) {
registration = r;
- verifyInterface(
+ verify_interface(
'ServiceWorkerRegistration', registration,
{
installing: 'object',
return wait_for_update(t, registration);
})
.then(function(worker) {
- verifyInterface(
+ verify_interface(
'ServiceWorker', worker,
{
scriptURL: 'string',