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

Import Firefox 71b4 schema #2892

Merged
merged 4 commits into from
Nov 8, 2019
Merged

Import Firefox 71b4 schema #2892

merged 4 commits into from
Nov 8, 2019

Conversation

EnTeQuAk
Copy link
Contributor

@EnTeQuAk EnTeQuAk commented Oct 29, 2019

Fixes #2891

@EnTeQuAk EnTeQuAk force-pushed the 2891-schema-firefox71 branch from 86efe08 to 165286f Compare October 29, 2019 13:26
@EnTeQuAk EnTeQuAk requested a review from rpl October 30, 2019 17:10
@codecov-io
Copy link

codecov-io commented Oct 30, 2019

Codecov Report

Merging #2892 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2892   +/-   ##
=======================================
  Coverage   99.89%   99.89%           
=======================================
  Files          58       58           
  Lines        1919     1919           
  Branches      404      404           
=======================================
  Hits         1917     1917           
  Misses          2        2
Impacted Files Coverage Δ
src/const.js 100% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5b9b0c9...1a2365b. Read the comment docs.

Copy link
Member

@rpl rpl left a comment

Choose a reason for hiding this comment

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

Looks good.

In particular, we are still going to show linting warning for proxy.register/unregister and proxy.onProxyError, because (even if they are not in the schema anymore) they are still part of the DEPRECATED_JAVASCRIPT_APIS mapping table.

But I just noticed that in #2747 we missed to add proxy.registerProxyScript in the mapping table, which was also deprecated and it has been removed in this schema import. Would you mind to add it in this pull request or in a separate one?

(As a side note: in the future schema imports we should always double-check that we are adding to that table the APIs we are completely removing, otherwise they are detected as UNSUPPORTED_APIS and the resulting linting message is going to say "This API has not been implemented by Firefox." :-P, or maybe we should try to make use of the mdn-browser-compat-data for the the deprecation warnings of APIs not available in the API schema anymore, as it may "scale better" than the mapping table).

(As a side - side note... I also noticed that on the Firefox side we missed to remove onProxyError from the schema in Bug 1443259, sigh, but don't worry about that I'll deal with it).

@EnTeQuAk
Copy link
Contributor Author

EnTeQuAk commented Nov 8, 2019

But I just noticed that in #2747 we missed to add proxy.registerProxyScript in the mapping table, which was also deprecated and it has been removed in this schema import. Would you mind to add it in this pull request or in a separate one?

Added in 1a2365b, if travis approves I'll merge.

@EnTeQuAk EnTeQuAk merged commit c37d685 into master Nov 8, 2019
@EnTeQuAk EnTeQuAk deleted the 2891-schema-firefox71 branch November 8, 2019 12:45
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.

Import Firefox 71 schema
3 participants