We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4fa455 commit 6eb41c9Copy full SHA for 6eb41c9
web/app.js
@@ -869,6 +869,20 @@ const PDFViewerApplication = {
869
typeof PDFJSDev === "undefined" ||
870
PDFJSDev.test("MOZCENTRAL || GENERIC")
871
) {
872
+ if (featureId) {
873
+ this.externalServices.reportTelemetry({
874
+ type: "unsupportedFeature",
875
+ featureId,
876
+ });
877
+ } else {
878
+ for (const unsupportedFeature of this._delayedFallbackFeatureIds) {
879
880
881
+ featureId: unsupportedFeature,
882
883
+ }
884
885
+
886
// For PDFs that contain script and form errors, we should only trigger
887
// the fallback once the user has interacted with the page.
888
if (this._delayedFallbackFeatureIds.length >= 1 && this._hasInteracted) {
0 commit comments