| Summary: | Markdown viewer does not use URL.revokeObjectURL properly. | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | libing wang <libingw> |
| Component: | Client | Assignee: | libing wang <libingw> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 5.0 | ||
| Target Milestone: | 7.0 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
libing wang
document.getElementById(id).src = objectURL; URL.revokeObjectURL(objectURL); If we look at the code above, it was wrong. We should not have revoke the Object URL right away. We should've done it after the image is loaded/rendered. It just worked luckily before. |