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 more categories of unsupported features. #11863

Merged
merged 1 commit into from
May 4, 2020

Conversation

brendandahl
Copy link
Contributor

Fixes #11815

For non-generic missing features that are errors I've prefixed them with "error."

@brendandahl brendandahl force-pushed the unsupported-features branch from cb44764 to 79fca62 Compare April 30, 2020 22:46
@@ -294,6 +294,18 @@ const UNSUPPORTED_FEATURES = {
smask: "smask",
shadingPattern: "shadingPattern",
font: "font",
Copy link
Collaborator

@Snuffleupagus Snuffleupagus May 1, 2020

Choose a reason for hiding this comment

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

Assuming that the font key is actually unused now, should it be removed?

The same question also applies for the unknown key above.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

These are exposed on the API, so I'll just mark them as @deprecated for now,

Copy link
Collaborator

@Snuffleupagus Snuffleupagus May 1, 2020

Choose a reason for hiding this comment

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

These are exposed on the API,

That's certainly true, but considering that nothing (in the PDF.js code) actually uses them now I just wondered what good they do for an API user at this point!?

Anyway, it doesn't matter much either way here and the patch looks good as-is :-)

@brendandahl brendandahl force-pushed the unsupported-features branch from 79fca62 to 5bea7e4 Compare May 1, 2020 16:19
@@ -294,6 +294,18 @@ const UNSUPPORTED_FEATURES = {
smask: "smask",
shadingPattern: "shadingPattern",
font: "font",
Copy link
Collaborator

@Snuffleupagus Snuffleupagus May 1, 2020

Choose a reason for hiding this comment

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

These are exposed on the API,

That's certainly true, but considering that nothing (in the PDF.js code) actually uses them now I just wondered what good they do for an API user at this point!?

Anyway, it doesn't matter much either way here and the patch looks good as-is :-)

@timvandermeij
Copy link
Contributor

/botio unittest

@pdfjsbot
Copy link

pdfjsbot commented May 1, 2020

From: Bot.io (Windows)


Received

Command cmd_unittest from @timvandermeij received. Current queue size: 0

Live output at: http://54.215.176.217:8877/542f32ae5756071/output.txt

@pdfjsbot
Copy link

pdfjsbot commented May 1, 2020

From: Bot.io (Linux m4)


Received

Command cmd_unittest from @timvandermeij received. Current queue size: 0

Live output at: http://54.67.70.0:8877/c295a37fe6b30c3/output.txt

@pdfjsbot
Copy link

pdfjsbot commented May 1, 2020

From: Bot.io (Linux m4)


Success

Full output at http://54.67.70.0:8877/c295a37fe6b30c3/output.txt

Total script time: 3.59 mins

  • Unit Tests: Passed

@pdfjsbot
Copy link

pdfjsbot commented May 1, 2020

From: Bot.io (Windows)


Success

Full output at http://54.215.176.217:8877/542f32ae5756071/output.txt

Total script time: 4.58 mins

  • Unit Tests: Passed

@brendandahl brendandahl force-pushed the unsupported-features branch from 5bea7e4 to b1be33c Compare May 4, 2020 18:03
@timvandermeij timvandermeij merged commit c32f145 into mozilla:master May 4, 2020
@timvandermeij
Copy link
Contributor

Thank you!

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.

Collect telemetry on what causes the fallback bar
4 participants