New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update payment-handler IDL file #9796
Merged
lukebjerring
merged 13 commits into
web-platform-tests:master
from
lukebjerring:idl-file-updates-payment-handler
Jun 29, 2018
Merged
Changes from 11 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
0da0016
Update the webidl IDL file (#9852)
lukebjerring 8dd716a
Merge branch 'master' into idl-file-updates-payment-handler
23c2500
Updated payment-handler IDL file
fd639d0
Updated payment-handler IDL file
3317ee7
Updated payment-handler IDL file
3bd6774
Merge branch 'master' into idl-file-updates-payment-handler
53594a2
Merge branch 'master' into idl-file-updates-payment-handler
0bda21b
Merge branch 'master' into idl-file-updates-payment-handler
d9d2355
Merge branch 'master' into idl-file-updates-payment-handler
f74c23c
Merge remote-tracking branch 'upstream/master' into idl-file-updates-…
3507a8d
Add test
5033cf7
Parallelize fetches
26d1f70
Merge remote-tracking branch 'upstream/master' into idl-file-updates-…
File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// META: script=/resources/WebIDLParser.js | ||
// META: script=/resources/idlharness.js | ||
|
||
'use strict'; | ||
|
||
// https://w3c.github.io/payment-handler/ | ||
|
||
promise_test(async () => { | ||
const idl = await fetch('/interfaces/payment-handler.idl').then(r => r.text()); | ||
const sw = await fetch('/interfaces/ServiceWorker.idl').then(r => r.text()); | ||
const dw = await fetch('/interfaces/dedicated-workers.idl').then(r => r.text()); | ||
const dom = await fetch('/interfaces/dom.idl').then(r => r.text()); | ||
|
||
const idlArray = new IdlArray(); | ||
idlArray.add_idls(idl); | ||
idlArray.add_dependency_idls(sw); | ||
idlArray.add_dependency_idls(dw); | ||
idlArray.add_dependency_idls(dom); | ||
idlArray.test(); | ||
}, 'payment-handler interfaces.'); |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or, probably better (just trying to avoid downloading in sequence):
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done (the pattern you see in the update I've actually used all over the show for other tests, not sure why I dropped the ball here).