Skip to content
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

Add DataTransferItem getAsString test #8693

Merged
merged 2 commits into from
Jan 3, 2019

Conversation

xiuqijix
Copy link
Contributor

@xiuqijix xiuqijix commented Dec 15, 2017

No description provided.

@ghost
Copy link

ghost commented Dec 15, 2017

Build PASSED

Started: 2017-12-15 02:45:52
Finished: 2017-12-15 02:50:51

View more information about this build on:

@xiuqijix
Copy link
Contributor Author

This PR is blocked on the required "Travis CI - Pull Request" check after #14499. In order to trigger it, I will close and reopen this PR.

@xiuqijix xiuqijix closed this Dec 21, 2018
@xiuqijix xiuqijix reopened this Dec 21, 2018
@wpt-pr-bot wpt-pr-bot requested review from annevk, domenic, foolip and zcorpan and removed request for ayg December 21, 2018 02:21
Copy link
Member

@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.

LGTM with nits

<meta charset="utf-8">
<title>DataTransferItem Test: getAsString()</title>
<link rel="author" title="Intel" href="http://www.intel.com">
<meta name="flags" content="interact">
Copy link
Member

Choose a reason for hiding this comment

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

Not sure what this does.

<script src="/resources/testharnessreport.js"></script>

<p><input id="button" type="text" value="dragcharacters" style="border:2px blue solid; width:200px; height: 100px;"/></p>
<p><input id="div" type="text" style="border:2px green solid; width:200px; height: 100px;"/></p>
Copy link
Member

Choose a reason for hiding this comment

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

These IDs are fairly confusing since they are not buttons or divs.

let div;

setup(function() {
div = document.getElementById("div");
Copy link
Member

Choose a reason for hiding this comment

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

This doesn't need to be inside the setup function, right? Might as well put it outside, and just call setup with a single argument.

@xiuqijix
Copy link
Contributor Author

@domenic, many thanks for your review! I just submit a new commit to address your comments, PTAL.

@jgraham jgraham closed this Dec 26, 2018
@jgraham jgraham reopened this Dec 26, 2018
@annevk
Copy link
Member

annevk commented Jan 2, 2019

Could you rebase this on master due to the Taskcluster configuration change? Sorry :/

- remove meta element which name is flags
- rewrite setup function
- use more appropriate id
@xiuqijix xiuqijix force-pushed the kangxu_DataTransferItem branch from d3c3fe7 to 6ecd9b1 Compare January 3, 2019 02:23
@xiuqijix
Copy link
Contributor Author

xiuqijix commented Jan 3, 2019

@domenic, CI checks are all pass, it's ready for merge. :)

@annevk annevk merged commit 578d93d into web-platform-tests:master Jan 3, 2019
@xiuqijix xiuqijix deleted the kangxu_DataTransferItem branch January 4, 2019 01:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants