-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Support controlling interface and member visibility via preferences #10081
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
Conversation
I discovered that in the case of:
|
Do you mean that |
No, I mean that window.Parent is still defined even if the preference controlling it's visibility is false. |
Well that's obviously wrong, no? |
👍 to `[Pref="dom.bluetooth.enabled"], and off by default. cc @dati91 |
This is ready for review. |
This is still ready for review; I just got carried away and implemented the Pref annotation for members of interfaces as well. |
83e93ac
to
e06f60d
Compare
☔ The latest upstream changes (presumably #10204) made this pull request unmergeable. Please resolve the merge conflicts. |
Can we get a review on that? |
This has been ignored for more than a month. I would really appreciate if someone would take responsibility for reviewing my work :( |
On it. Could you give more details about what you meant by "This was easier to throw together than per-attribute/method support"? |
@jdm I think you are cursed. |
Hey @jdm, how did you make that happen? Reviewable thinks that somehow there's a discussion attached to a file that doesn't exist in the review, hence boom. Comments from Reviewable |
I mean @nox, sorry. Comments from Reviewable |
@pkaminski I just clicked on the Reviewable button and it failed to load. @jdm I don't get the purpose of avoiding |
else: | ||
properties[arrayName] = "&[]" | ||
properties[arrayName] = array.variableName() |
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.
Please revert this. It worked before and you didn't even document EMPTY_CONSTANTS
.
|
…ally-exposed ones.
@bors-servo: r=nox |
📌 Commit 2a9bf70 has been approved by |
Support controlling interface and member visibility via preferences This was easier to throw together than per-attribute/method support, and it gets rid of some nonstandard properties from our globals. Fixes #7626. r? @Ms2ger <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10081) <!-- Reviewable:end -->
💔 Test failed - linux-rel |
|
⚡ Previous build results for android, arm32, arm64, linux-dev, mac-dev-unit, mac-rel-css, mac-rel-wpt, windows are reusable. Rebuilding only linux-rel... |
⚡ Previous build results for android, arm32, arm64, linux-dev, mac-dev-unit, mac-rel-css, mac-rel-wpt, windows are reusable. Rebuilding only linux-rel... |
☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel, mac-dev-unit, mac-rel-css, mac-rel-wpt, windows |
This was easier to throw together than per-attribute/method support, and it gets rid of some nonstandard properties from our globals.
Fixes #7626.
r? @Ms2ger
This change is