Skip to content

added dom api #8225 - #8634

Closed
k-cross wants to merge 7 commits into
servo:masterfrom
k-cross:master
Closed

k-cross wants to merge 7 commits into
servo:masterfrom
k-cross:master

Conversation

@k-cross

@k-cross k-cross commented Nov 21, 2015

Copy link
Copy Markdown

accidentally added an interface for touchEvent, i left them but commented out. if you want the deleted i can do that too.

Fixes #8225.

Review on Reviewable

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Nov 21, 2015
@highfive

Copy link
Copy Markdown

Thanks for the pull request, and welcome! The Servo team is excited to review your changes, and you should hear from @Manishearth (or someone else) soon.

@nox

nox commented Nov 21, 2015

Copy link
Copy Markdown
Contributor

Thanks for your contribution, please remove the commented-out code.

-S-awaiting-review +S-needs-code-changes


Reviewed 2 of 2 files at r1.
Review status: all files reviewed at latest revision, 3 unresolved discussions.


components/script/dom/document.rs, line 1935 [r1] (raw file):
I guess the link is the wrong one on purpose because the correct one is insanely long?


components/script/dom/document.rs, line 1968 [r1] (raw file):
Please remove it, we don't commit commented-out code.


components/script/dom/webidls/Document.webidl, line 183 [r1] (raw file):
Please remove.


Comments from the review on Reviewable.io

@nox nox added S-needs-code-changes Changes have not yet been made that were requested by a reviewer. and removed S-awaiting-review There is new code that needs to be reviewed. labels Nov 21, 2015
@nox nox self-assigned this Nov 21, 2015
@nox nox added the A-content/dom Interacting with the DOM from web content label Nov 21, 2015
@highfive highfive added S-awaiting-review There is new code that needs to be reviewed. and removed S-needs-code-changes Changes have not yet been made that were requested by a reviewer. labels Nov 21, 2015
@k-cross

k-cross commented Nov 21, 2015

Copy link
Copy Markdown
Author

Ok, I'll be sure to not add commented code again. I also changed the weblink to point to the right location.

@nox nox added S-needs-code-changes Changes have not yet been made that were requested by a reviewer. and removed S-awaiting-review There is new code that needs to be reviewed. labels Nov 21, 2015
@nox

nox commented Nov 21, 2015

Copy link
Copy Markdown
Contributor

Thanks for your quick fixes, still one more to go and it can be merged.

-S-awaiting-review +S-needs-code-changes


Review status: 0 of 2 files reviewed at latest revision, 1 unresolved discussion.


components/script/dom/document.rs, line 1935 [r1] (raw file):
You didn't fix the right link. :)


Comments from the review on Reviewable.io

@nox

nox commented Nov 21, 2015

Copy link
Copy Markdown
Contributor

Reviewed 2 of 2 files at r3.
Review status: 1 of 2 files reviewed at latest revision, 1 unresolved discussion.


Comments from the review on Reviewable.io

@nox

nox commented Nov 21, 2015

Copy link
Copy Markdown
Contributor

Sorry, reviewed old code…

-S-needs-code-changes

@bors-servo r+


Reviewed 1 of 1 files at r4.
Review status: all files reviewed at latest revision, 1 unresolved discussion.


Comments from the review on Reviewable.io

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 41fc521 has been approved by nox

@nox nox removed the S-needs-code-changes Changes have not yet been made that were requested by a reviewer. label Nov 21, 2015
@highfive highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Nov 21, 2015
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 41fc521 with merge c0d6184...

bors-servo pushed a commit that referenced this pull request Nov 21, 2015
added dom api #8225

accidentally added an interface for touchEvent, i left them but commented out. if you want the deleted i can do that too.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8634)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - linux-dev

@highfive highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Nov 21, 2015
@jdm

jdm commented Nov 21, 2015

Copy link
Copy Markdown
Member

./mach test-tidy says

./components/script/dom/document.rs:1911: trailing whitespace
./components/script/dom/document.rs:1939: trailing whitespace

@jdm

jdm commented Nov 21, 2015

Copy link
Copy Markdown
Member

Also:


  ▶ Unexpected subtest result in /touch-events/create-touch-touchlist.html:
  └ PASS [expected FAIL] document.createTouchList exists and correctly creates a TouchList from zero Touch objects

  ▶ Unexpected subtest result in /touch-events/create-touch-touchlist.html:
  └ PASS [expected FAIL] document.createTouchList exists and correctly creates a TouchList from a single Touch

  ▶ Unexpected subtest result in /touch-events/create-touch-touchlist.html:
  └ PASS [expected FAIL] document.createTouchList exists and correctly creates a TouchList from two Touch objects

That's from ./mach test-wpt tests/wpt/web-platform-tests/touch-events/create-touch-touchlist.html. We'll need to remove http://mxr.mozilla.org/servo/source/tests/wpt/metadata/touch-events/create-touch-touchlist.html.ini now that all the tests pass.

@nox

nox commented Nov 21, 2015

Copy link
Copy Markdown
Contributor

And I can't read I guess.

@nox

nox commented Nov 21, 2015

Copy link
Copy Markdown
Contributor

And:

/home/servo/buildbot/slave/linux-dev/build/components/script/dom/node.rs:26:65: 26:78 warning: unused import, #[warn(unused_imports)] on by default
/home/servo/buildbot/slave/linux-dev/build/components/script/dom/node.rs:27:53: 27:70 warning: unused import, #[warn(unused_imports)] on by default

@nox nox added the S-needs-code-changes Changes have not yet been made that were requested by a reviewer. label Nov 21, 2015
@k-cross

k-cross commented Nov 21, 2015

Copy link
Copy Markdown
Author

I just used the test that was written in the issue and tried to pass that.

Did I not do something correctly? I'm having a hard time finding out what I should do next.

@jdm

jdm commented Nov 21, 2015

Copy link
Copy Markdown
Member

Did you see my latest comment? If you remove the ini file, you should see a difference in the output of running that test.

@k-cross

k-cross commented Nov 21, 2015

Copy link
Copy Markdown
Author

Oh, ok. I'll do that

@highfive highfive added S-awaiting-review There is new code that needs to be reviewed. and removed S-tests-failed The changes caused existing tests to fail. S-needs-code-changes Changes have not yet been made that were requested by a reviewer. labels Nov 22, 2015
@nox

nox commented Nov 23, 2015

Copy link
Copy Markdown
Contributor

Looks ok, but the branch needs a rebase. Please squash everything and remove the merge commit in the middle.

-S-awaiting-review +S-needs-rebase


Reviewed 1 of 1 files at r5.
Review status: all files reviewed at latest revision, all discussions resolved.


Comments from the review on Reviewable.io

@nox nox added S-needs-rebase There are merge conflict errors. and removed S-awaiting-review There is new code that needs to be reviewed. labels Nov 23, 2015
@jdm

jdm commented Nov 23, 2015

Copy link
Copy Markdown
Member

We still need to remove the ini file and push that change to this branch, otherwise the test harness will continue to report unexpected test results.

@k-cross

k-cross commented Nov 23, 2015

Copy link
Copy Markdown
Author

Ok, I'll do that and commit the change. In class right now but it'll be done today.

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Nov 24, 2015
@jdm jdm removed the S-needs-rebase There are merge conflict errors. label Nov 28, 2015
@k-cross

k-cross commented Dec 4, 2015

Copy link
Copy Markdown
Author

I'm not sure if I need to do anything else, I'm okay right? I guess I'll grab another issue when I'm done with finals.

@jdm

jdm commented Dec 4, 2015

Copy link
Copy Markdown
Member

@k-cross, yes, the changes are fine. The only comment that's not addressed is @nox's request to squash the commits into one. If that's causing difficulty, let us know and we can help!

@nox nox added the S-needs-squash Some (or all) of the commits in the PR should be combined. label Dec 4, 2015
@nox

nox commented Dec 13, 2015

Copy link
Copy Markdown
Contributor

@k-cross Ping?

@nox

nox commented Dec 13, 2015

Copy link
Copy Markdown
Contributor

-S-awaiting-review


Reviewed 2 of 2 files at r6, 1 of 1 files at r7.
Review status: all files reviewed at latest revision, all discussions resolved.


Comments from the review on Reviewable.io

@nox nox removed the S-awaiting-review There is new code that needs to be reviewed. label Dec 13, 2015
@k-cross

k-cross commented Dec 13, 2015

Copy link
Copy Markdown
Author

@nox pong, I'll get them squashed today.

@nox

nox commented Dec 20, 2015

Copy link
Copy Markdown
Contributor

@k-cross Ping? I can rebase it myself if you want.

@KiChjang

Copy link
Copy Markdown
Contributor

Rebased in #9025

@KiChjang KiChjang closed this Dec 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-content/dom Interacting with the DOM from web content S-needs-squash Some (or all) of the commits in the PR should be combined.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants