Relax size checking for likely dynamically generated content.

Fixes lots of off-by-a-couple errors.

git-svn-id: https://code.downthemall.net/repos/trunk@3625 43940e1f-b481-bb45-89eb-5c6a4bf3d40a
Disable spdy in DTA so multi-segmented downloads get actually a speed
bump.

git-svn-id: https://code.downthemall.net/repos/trunk@3626 43940e1f-b481-bb45-89eb-5c6a4bf3d40a
Also add sniffed video from frames

Embedded videos often are embedded using iframes...

git-svn-id: https://code.downthemall.net/repos/trunk@3627 43940e1f-b481-bb45-89eb-5c6a4bf3d40a
Move asyncMoveFile to OS.file.

git-svn-id: https://code.downthemall.net/repos/trunk@3628 43940e1f-b481-bb45-89eb-5c6a4bf3d40a
Use querySelectorAll to find elements

git-svn-id: https://code.downthemall.net/repos/trunk@3629 43940e1f-b481-bb45-89eb-5c6a4bf3d40a
Remove asyncmovefile from tree


git-svn-id: https://code.downthemall.net/repos/trunk@3630 43940e1f-b481-bb45-89eb-5c6a4bf3d40a
Partially revert r3630


git-svn-id: https://code.downthemall.net/repos/trunk@3631 43940e1f-b481-bb45-89eb-5c6a4bf3d40a
Use OS.File in chunk

git-svn-id: https://code.downthemall.net/repos/trunk@3632 43940e1f-b481-bb45-89eb-5c6a4bf3d40a
Promise compat

git-svn-id: https://code.downthemall.net/repos/trunk@3633 43940e1f-b481-bb45-89eb-5c6a4bf3d40a
Replace nsIFile.exists with OS.file.exists where possible

git-svn-id: https://code.downthemall.net/repos/trunk@3634 43940e1f-b481-bb45-89eb-5c6a4bf3d40a
Rewrite finishDownload to use Promise + OS.File

git-svn-id: https://code.downthemall.net/repos/trunk@3635 43940e1f-b481-bb45-89eb-5c6a4bf3d40a
Use OS.File for QueueItem.removeTmpFile()

git-svn-id: https://code.downthemall.net/repos/trunk@3636 43940e1f-b481-bb45-89eb-5c6a4bf3d40a
Rewrite ConflictManager to return a Promise

git-svn-id: https://code.downthemall.net/repos/trunk@3637 43940e1f-b481-bb45-89eb-5c6a4bf3d40a
Rewrite Preallocator to use Promises

git-svn-id: https://code.downthemall.net/repos/trunk@3638 43940e1f-b481-bb45-89eb-5c6a4bf3d40a
Remove QueueItem.createDirectory

git-svn-id: https://code.downthemall.net/repos/trunk@3639 43940e1f-b481-bb45-89eb-5c6a4bf3d40a
Async exists() for refreshTools

git-svn-id: https://code.downthemall.net/repos/trunk@3640 43940e1f-b481-bb45-89eb-5c6a4bf3d40a
Handle races in setAttributes

git-svn-id: https://code.downthemall.net/repos/trunk@3641 43940e1f-b481-bb45-89eb-5c6a4bf3d40a
Compat for recent memory reporter changes

git-svn-id: https://code.downthemall.net/repos/trunk@3642 43940e1f-b481-bb45-89eb-5c6a4bf3d40a
Minor memory improvements/gc hints

git-svn-id: https://code.downthemall.net/repos/trunk@3643 43940e1f-b481-bb45-89eb-5c6a4bf3d40a
Cleanup Tree a bit

git-svn-id: https://code.downthemall.net/repos/trunk@3644 43940e1f-b481-bb45-89eb-5c6a4bf3d40a