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

Update WebIDL.py #22934

Merged
merged 1 commit into from Mar 1, 2019
Merged

Update WebIDL.py #22934

merged 1 commit into from Mar 1, 2019

Conversation

@Manishearth
Copy link
Member

Manishearth commented Feb 25, 2019

I'm working on getting attributes on types landed in upstream webidl. In preparation for that, I'd like to update WebIDL.py and deal with all the conflicts first so that updating for that bug is easier.

(This PR doesn't need to be reviewed and landed right now, I can just roll it into the PR for implementing attributes on types, but I suspect it would be easier to land this first)

Probably should squash before landing, the steps are separated out for ease of review.

r? @nox @jdm


This change is Reviewable

@highfive
Copy link

highfive commented Feb 25, 2019

Heads up! This PR modifies the following files:

  • @asajeffrey: components/script/dom/bindings/codegen/parser/debug.patch, components/script/dom/bindings/codegen/parser/pref-main-thread.patch, components/script/dom/bindings/codegen/parser/tests/test_replaceable.py, components/script/dom/bindings/codegen/parser/tests/test_lenientSetter.py, components/script/dom/bindings/codegen/parser/abstract.patch and 5 more
  • @KiChjang: components/script/dom/bindings/codegen/parser/debug.patch, components/script/dom/bindings/codegen/parser/pref-main-thread.patch, components/script/dom/bindings/codegen/parser/tests/test_replaceable.py, components/script/dom/bindings/codegen/parser/tests/test_lenientSetter.py, components/script/dom/bindings/codegen/parser/abstract.patch and 5 more
@Manishearth
Copy link
Member Author

Manishearth commented Feb 25, 2019

This has not been built and tested yet, working on it

@Manishearth Manishearth force-pushed the Manishearth:update-webidl branch from 20a27a4 to d1c92ea Feb 25, 2019
@Manishearth
Copy link
Member Author

Manishearth commented Feb 25, 2019

Works now. I reverted https://bugzilla.mozilla.org/show_bug.cgi?id=1368949 since nothing we use needs it yet and also implementing it in our codegen seemed tricky. I'll file a bug later.

@Manishearth
Copy link
Member Author

Manishearth commented Feb 25, 2019

@bors-servo
Copy link
Contributor

bors-servo commented Feb 25, 2019

Trying commit a5325bf with merge f1878a2...

bors-servo added a commit that referenced this pull request Feb 25, 2019
Update WebIDL.py

I'm working on getting [attributes on types landed in upstream webidl](https://bugzilla.mozilla.org/show_bug.cgi?id=1359269). In preparation for that, I'd like to update WebIDL.py and deal with all the conflicts first so that updating for that bug is easier.

(This PR doesn't need to be reviewed and landed right now, I can just roll it into the PR for implementing attributes on types, but I suspect it would be easier to land this first)

Probably should squash before landing, the steps are separated out for ease of review.

r? @nox @jdm

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22934)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Feb 25, 2019

@nox
Copy link
Member

nox commented Feb 28, 2019

Rather than undoing upstream stuff, could we rather just assert that we don't have nested dictionaries in CodegenRust.py?

@Manishearth
Copy link
Member Author

Manishearth commented Mar 1, 2019

No, we rely on dictionaries hitting the following isAny branch to codegen correctly.

@nox
Copy link
Member

nox commented Mar 1, 2019

What? "the following isAny branch"? I don't want to have to remember that we reverted something from upstream, so please make CodegenRust.py cope with the new things that are parsed but that we don't support yet.

@nox
Copy link
Member

nox commented Mar 1, 2019

Ah you made a patch ok. Well I guess that's fine, but I've always tried to minimise the amount of patches and that would be better as a check in CodegenRust.py.

r=me once everything is squashed and there is a single commit remaining.

@Manishearth Manishearth force-pushed the Manishearth:update-webidl branch from a5325bf to 8f5db8a Mar 1, 2019
@Manishearth
Copy link
Member Author

Manishearth commented Mar 1, 2019

@bors-servo r=nox

thanks!

I may eventually upstream some of our patches in some form, so that they're reduced to at worst having a difference between Codegen.py and CodegenRust.py.

@bors-servo
Copy link
Contributor

bors-servo commented Mar 1, 2019

📌 Commit 8f5db8a has been approved by nox

@bors-servo
Copy link
Contributor

bors-servo commented Mar 1, 2019

Testing commit 8f5db8a with merge f708343...

bors-servo added a commit that referenced this pull request Mar 1, 2019
Update WebIDL.py

I'm working on getting [attributes on types landed in upstream webidl](https://bugzilla.mozilla.org/show_bug.cgi?id=1359269). In preparation for that, I'd like to update WebIDL.py and deal with all the conflicts first so that updating for that bug is easier.

(This PR doesn't need to be reviewed and landed right now, I can just roll it into the PR for implementing attributes on types, but I suspect it would be easier to land this first)

Probably should squash before landing, the steps are separated out for ease of review.

r? @nox @jdm

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22934)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Mar 1, 2019

💔 Test failed - status-taskcluster

@Manishearth
Copy link
Member Author

Manishearth commented Mar 1, 2019

@bors-servo retry

timeout on tidy task, and network issue (?) on android:

* What went wrong:
A problem occurred configuring root project 'apk'.
> Could not resolve all files for configuration ':classpath'.
   > Could not download fastutil.jar (it.unimi.dsi:fastutil:7.2.0)
      > Could not get resource 'https://jcenter.bintray.com/it/unimi/dsi/fastutil/7.2.0/fastutil-7.2.0.jar'.
         > Connection reset
   > Could not download kotlin-reflect.jar (org.jetbrains.kotlin:kotlin-reflect:1.2.0)
      > Could not get resource 'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-reflect/1.2.0/kotlin-reflect-1.2.0.jar'.
         > Connection reset
@bors-servo
Copy link
Contributor

bors-servo commented Mar 1, 2019

💣 Failed to start rebuilding: Unknown error

@bors-servo
Copy link
Contributor

bors-servo commented Mar 1, 2019

Testing commit 8f5db8a with merge bcbf720...

bors-servo added a commit that referenced this pull request Mar 1, 2019
Update WebIDL.py

I'm working on getting [attributes on types landed in upstream webidl](https://bugzilla.mozilla.org/show_bug.cgi?id=1359269). In preparation for that, I'd like to update WebIDL.py and deal with all the conflicts first so that updating for that bug is easier.

(This PR doesn't need to be reviewed and landed right now, I can just roll it into the PR for implementing attributes on types, but I suspect it would be easier to land this first)

Probably should squash before landing, the steps are separated out for ease of review.

r? @nox @jdm

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22934)
<!-- Reviewable:end -->
@highfive highfive removed the S-tests-failed label Mar 1, 2019
@bors-servo
Copy link
Contributor

bors-servo commented Mar 1, 2019

💔 Test failed - status-taskcluster

@Manishearth
Copy link
Member Author

Manishearth commented Mar 1, 2019

@bors-servo retry

@bors-servo
Copy link
Contributor

bors-servo commented Mar 1, 2019

💣 Failed to start rebuilding: Unknown error

@bors-servo
Copy link
Contributor

bors-servo commented Mar 1, 2019

Testing commit 8f5db8a with merge 75f9610...

bors-servo added a commit that referenced this pull request Mar 1, 2019
Update WebIDL.py

I'm working on getting [attributes on types landed in upstream webidl](https://bugzilla.mozilla.org/show_bug.cgi?id=1359269). In preparation for that, I'd like to update WebIDL.py and deal with all the conflicts first so that updating for that bug is easier.

(This PR doesn't need to be reviewed and landed right now, I can just roll it into the PR for implementing attributes on types, but I suspect it would be easier to land this first)

Probably should squash before landing, the steps are separated out for ease of review.

r? @nox @jdm

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22934)
<!-- Reviewable:end -->
@Manishearth Manishearth closed this Mar 1, 2019
@Manishearth Manishearth reopened this Mar 1, 2019
@Manishearth
Copy link
Member Author

Manishearth commented Mar 1, 2019

@bors-servo r=nox

@bors-servo
Copy link
Contributor

bors-servo commented Mar 1, 2019

💡 This pull request was already approved, no need to approve it again.

  • This pull request is currently being tested. If there's no response from the continuous integration service, you may use retry to trigger a build again.
@bors-servo
Copy link
Contributor

bors-servo commented Mar 1, 2019

📌 Commit 8f5db8a has been approved by nox

@bors-servo
Copy link
Contributor

bors-servo commented Mar 1, 2019

Testing commit 8f5db8a with merge 27f443f...

bors-servo added a commit that referenced this pull request Mar 1, 2019
Update WebIDL.py

I'm working on getting [attributes on types landed in upstream webidl](https://bugzilla.mozilla.org/show_bug.cgi?id=1359269). In preparation for that, I'd like to update WebIDL.py and deal with all the conflicts first so that updating for that bug is easier.

(This PR doesn't need to be reviewed and landed right now, I can just roll it into the PR for implementing attributes on types, but I suspect it would be easier to land this first)

Probably should squash before landing, the steps are separated out for ease of review.

r? @nox @jdm

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22934)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Mar 1, 2019

@bors-servo bors-servo merged commit 8f5db8a into servo:master Mar 1, 2019
4 checks passed
4 checks passed
Taskcluster (pull_request) TaskGroup: success
Details
Travis CI - Pull Request Build Passed
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
homu Test successful
Details
@bors-servo bors-servo mentioned this pull request Mar 1, 2019
2 of 5 tasks complete
@bors-servo
Copy link
Contributor

bors-servo commented Mar 2, 2019

💥 Test timed out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

4 participants
You can’t perform that action at this time.