Closed Bug 805724 Opened 13 years ago Closed 13 years ago

[b2g-bluetooth] misc BluetoothOppManager cleanup

Categories

(Core :: DOM: Device Interfaces, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla19
blocking-basecamp +
Tracking Status
firefox18 --- fixed
firefox19 --- fixed

People

(Reporter: echou, Assigned: echou)

References

Details

(Whiteboard: [LOE:S])

Attachments

(5 files)

Once bug 803614 and bug 802080 land, most Object Push functions for v1 are done. However there are still some cleanups and small fixes have to be done.
Assignee: nobody → echou
Blocks: 792683
blocking-basecamp: --- → ?
Depends on: 803614, 802080
Whiteboard: [LOE:S]
* do stuff similar to 804436
Attachment #675453 - Flags: review?(kyle)
Attachment #675453 - Flags: review?(kyle) → review+
These cleanups (closing socket, etc.) seem important enough that we don't want them to regress so let's block on it.
blocking-basecamp: ? → +
(In reply to Eric Chou [:ericchou] [:echou] from comment #4) > Created attachment 676979 [details] [diff] [review] > patch 3: v1: let user be able to terminate receiving process by calling > StopSendingFile() Forgot to say, I removed the mBlob checking block from StopSendingFile() because mBlob will only be created when we send file.
Attachment #676977 - Flags: review?(kyle) → review+
Attachment #676979 - Flags: review?(kyle) → review+
* Fired onsuccess and onerror events of DOM requests which are generated from calling BluetoothOppManager.StopReceivingFile() / SendFile() / ConfirmReceivingFile()
Attachment #677674 - Flags: review?(kyle)
* After using CreateUnique() to create a file, originally assigned file name may be changed if a file with the same name already exists to guarantee uniqueness. Therefore we have to get file name again. * Removed incomplete received file after user terminated the file transferring process.
Attachment #677702 - Flags: review?(kyle)
Attachment #677674 - Flags: review?(kyle) → review+
Attachment #677702 - Flags: review?(kyle) → review+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: