Skip to content

Feat: allow show() to take optional detailsPromise#672

Merged
marcoscaceres merged 2 commits intogh-pagesfrom
show_optional_promise
Feb 28, 2018
Merged

Feat: allow show() to take optional detailsPromise#672
marcoscaceres merged 2 commits intogh-pagesfrom
show_optional_promise

Conversation

@marcoscaceres
Copy link
Member

@marcoscaceres marcoscaceres commented Jan 23, 2018

closes #645

Implementer issues filed:


Preview | Diff

@marcoscaceres marcoscaceres requested a review from domenic January 23, 2018 02:00
Copy link
Collaborator

@domenic domenic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Elsewhere it says

SHOULD re-enable user interface elements that might have been disabled in the steps above if appropriate.

this should probably say "prior to running this algorithm" instead of "in the steps above"

LGTM with nits

index.html Outdated
<li>Set <var>request</var>.<a>[[\updating]]</a> to true.
</li>
<li>Disable the user interface user interface that will allow the
user to interact with the <var>handlers</var> and run the
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make this two steps?

@marcoscaceres
Copy link
Member Author

Thanks again for the review, @domenic!

@marcoscaceres
Copy link
Member Author

Part 1 of tests web-platform-tests/wpt#9617

@marcoscaceres
Copy link
Member Author

Tests are complete, awaiting review on: Part 1 - rejects.

@aestes, not sure if it helps you much, but I added ApplePay as a payment method identifier to the tests. Let me know if there is anything I can do in web platform tests to make it easier to test in WebKit/Safari.

@marcoscaceres
Copy link
Member Author

I've added MDN documentation for this.

@marcoscaceres marcoscaceres merged commit 463d25c into gh-pages Feb 28, 2018
@marcoscaceres marcoscaceres deleted the show_optional_promise branch February 28, 2018 05:26
@marcoscaceres
Copy link
Member Author

@ianbjacobs, could you kindly please request the specification be republished.

@ianbjacobs
Copy link
Collaborator

@marcoscaceres, request sent today for 1 March publication.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add way to update total and displayItems after .show() but before user interaction

3 participants