Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Bug 912825 - [email] Message reader appears to duplicate body contents when buildBodyDom is called multiple times ( #275

Merged
merged 2 commits into from
Jan 3, 2014

Conversation

mcav
Copy link
Contributor

@mcav mcav commented Dec 12, 2013

No description provided.

…s when buildBodyDom is called multiple times (
// lines we'll need to fetch in order to roughly retrieve
// SNIPPET_SIZE_GOAL bytes.
var numLines = Math.floor(syncbase.POP3_SNIPPET_SIZE_GOAL / 80);
this.protocol.sendRequest('TOP', [number, numLines],
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, and the reason I had to extract this constant was so that we could disable snippet fetching in the test.

mcav added a commit that referenced this pull request Jan 3, 2014
Bug 912825 - [email] Message reader appears to duplicate body contents when buildBodyDom is called multiple times. r=asuth
@mcav mcav merged commit c348db8 into mozilla-b2g:master Jan 3, 2014
@mcav mcav deleted the downloadbodyreps-idempotent branch July 21, 2014 21:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants