mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 02:05:37 +02:00
Improved FTP support for Chromium extension
This commit is contained in:
parent
7d5bf83ce8
commit
d04f81b964
5 changed files with 88 additions and 6 deletions
|
@ -15,7 +15,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
/* globals chrome, URL, getViewerURL */
|
||||
/* globals chrome, URL, getViewerURL, Features */
|
||||
|
||||
(function() {
|
||||
'use strict';
|
||||
|
@ -158,7 +158,8 @@ limitations under the License.
|
|||
var streamInfo = getStream(sender.tab.id, pdfUrl) || {};
|
||||
sendResponse({
|
||||
streamUrl: streamInfo.streamUrl,
|
||||
contentLength: streamInfo.contentLength
|
||||
contentLength: streamInfo.contentLength,
|
||||
extensionSupportsFTP: Features.extensionSupportsFTP
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue