Page MenuHomePhabricator

Add filesize limits for document rendering engines and support partial/complete rendering
ClosedPublic

Authored by epriestley on Mar 19 2018, 7:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 5, 8:28 PM
Unknown Object (File)
Fri, Nov 1, 4:58 AM
Unknown Object (File)
Wed, Oct 23, 7:42 AM
Unknown Object (File)
Oct 20 2024, 11:16 AM
Unknown Object (File)
Oct 19 2024, 1:53 PM
Unknown Object (File)
Oct 1 2024, 5:41 PM
Unknown Object (File)
Oct 1 2024, 5:09 AM
Unknown Object (File)
Sep 26 2024, 12:21 AM
Subscribers
None

Details

Summary

Depends on D19238. Ref T13105. Give document engines some reasonable automatic support for degrading gracefully when someone tries to hexdump a 100MB file or similar.

Also, make "Video" sort above "Audio" for files which could be rendered either way.

Test Plan

Viewed audio, video, image, and other files. Adjusted limits and saw full, partial, and fallback/error rendering.

Diff Detail

Repository
rP Phabricator
Branch
doc3
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 19882
Build 26946: Run Core Tests
Build 26945: arc lint + arc unit

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Mar 19 2018, 10:18 PM
This revision was automatically updated to reflect the committed changes.