-
Notifications
You must be signed in to change notification settings - Fork 10k
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
Remove <base> tag from the Firefox built-in viewer (bug 1821408) #16153
Conversation
@Snuffleupagus, it should be really safe to do that: Just to be sure I checked that the origin: |
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.
r=me, hopefully this won't break some weird edge-case; thank you!
The tag <base> is used to resolve relative URIs within the document. Newly added SVG filters use a relative URI which then use the URI in base but this one mismatches with the document URI and consequently filters are not found in the Firefox viewer. So this patch just removes <base> and replace few relative URLs by absolute ones.
/botio integrationtest |
From: Bot.io (Linux m4)ReceivedCommand cmd_integrationtest from @calixteman received. Current queue size: 0 Live output at: http://54.241.84.105:8877/b1d3c459ee8e914/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_integrationtest from @calixteman received. Current queue size: 0 Live output at: http://54.193.163.58:8877/78cd618f241d7c0/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.241.84.105:8877/b1d3c459ee8e914/output.txt Total script time: 4.33 mins
|
From: Bot.io (Windows)FailedFull output at http://54.193.163.58:8877/78cd618f241d7c0/output.txt Total script time: 13.57 mins
|
…viewers,emilio,marco SVG filters weren't working correctly because of a mismatch between filter URI and document URI. The problem has been fixed in: mozilla/pdf.js#16153 and here's the test. Differential Revision: https://phabricator.services.mozilla.com/D172223
…viewers,emilio,marco SVG filters weren't working correctly because of a mismatch between filter URI and document URI. The problem has been fixed in: mozilla/pdf.js#16153 and here's the test. Differential Revision: https://phabricator.services.mozilla.com/D172223
…viewers,emilio,marco, a=dsmith SVG filters weren't working correctly because of a mismatch between filter URI and document URI. The problem has been fixed in: mozilla/pdf.js#16153 and here's the test. Differential Revision: https://phabricator.services.mozilla.com/D172223
…viewers,emilio,marco, a=dsmith SVG filters weren't working correctly because of a mismatch between filter URI and document URI. The problem has been fixed in: mozilla/pdf.js#16153 and here's the test. Differential Revision: https://phabricator.services.mozilla.com/D172223
The tag is used to resolve relative URIs within the document. Newly added SVG filters use a relative URI which then use the URI in base but this one mismatches with the document URI and consequently filters are not found in the Firefox viewer.
So this patch just removes and replace few relative URLs by absolute ones.