Bug 1466132 [wpt PR 11281] - Allow cookie-store IDL test to run even if objects not defined, a=testonly

Automatic update from web-platform-testsMerge pull request #11281 from csnardi/cookie-store-idl

Allow cookie-store IDL test to run even if objects not defined
--

wpt-commits: f172b83c6b6bea611e99d0a79bde72ddbdd60e62
wpt-pr: 11281
This commit is contained in:
Victor Costan 2018-06-06 17:30:07 +00:00 коммит произвёл James Graham
Родитель 773176924b
Коммит edd862fe03
3 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

@ -435607,11 +435607,11 @@
"testharness"
],
"cookie-store/idlharness.tentative.html": [
"42be9e73d8e6ad3760a4c9871f6f633962f2ab85",
"043875184fa56ad41cda11e6f84314a7aebdb17f",
"testharness"
],
"cookie-store/idlharness_serviceworker.js": [
"516a0596c03b9db2446ca77d70d3eb95f060e895",
"42a34fc954f517498ab68ac406c0008342204466",
"support"
],
"cookie-store/idlharness_serviceworker.tentative.https.html": [

Просмотреть файл

@ -54,8 +54,8 @@ promise_test(async t => {
idl_array.add_idls(cookie_store);
idl_array.add_objects({
CookieStore: [self.cookieStore],
CookieChangeEvent: [new CookieChangeEvent('change')],
CookieStore: ["self.cookieStore"],
CookieChangeEvent: ["new CookieChangeEvent('change')"],
});
idl_array.test();
}, 'Interface test');

Просмотреть файл

@ -35,9 +35,9 @@ promise_test(async t => {
idl_array.add_idls(cookie_store);
idl_array.add_objects({
CookieStore: [self.cookieStore],
CookieStore: ["self.cookieStore"],
ExtendableCookieChangeEvent: [
new ExtendableCookieChangeEvent('cookiechange')],
"new ExtendableCookieChangeEvent('cookiechange')"],
});
idl_array.test();
}, 'Interface test');