Closed
Bug 1064743
Opened 10 years ago
Closed 10 years ago
Transport fails after simultaneous sends
Categories
(DevTools :: Framework, defect)
DevTools
Framework
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 35
People
(Reporter: ochameau, Assigned: jryans)
References
Details
Attachments
(1 file, 1 obsolete file)
6.52 KB,
patch
|
past
:
review+
|
Details | Diff | Splinter Review |
We are most likely mixing upload and some other request done while connecting. No particular exception appears on client/server. We should probably busify the UI until requests done on startup are done.
Reporter | ||
Comment 1•10 years ago
|
||
The protocol doesn't like mixing requests... so just wait for webapps-store.js to be fully loaded before accepting actions. I may feel slower but it will prevent random breakages! https://tbpl.mozilla.org/?tree=Try&rev=cf6f82e8208e
Reporter | ||
Updated•10 years ago
|
Assignee: nobody → poirot.alex
Reporter | ||
Updated•10 years ago
|
Attachment #8486311 -
Flags: review?(jryans)
Assignee | ||
Comment 2•10 years ago
|
||
Hmm, what's the STR to reproduce the issue you are seeing? Do I need some of your auto-connect patches from bug 1055279?
Flags: needinfo?(poirot.alex)
Reporter | ||
Comment 3•10 years ago
|
||
- Open a local app - Connect to a device - and right after selecting the device, try to push a local app [play button] (in my case it was an app with a significant size - https://github.com/nazar-pc/CleverStyle-Music). You will see WebIDE disconnecting while uploading the app.
Flags: needinfo?(poirot.alex)
Assignee | ||
Comment 4•10 years ago
|
||
In fact, you've found a bug in the transport! It failed to correctly support the case of: transport.send(...) transport.startBulkSend(...) in the same tick of the event loop. I am somewhat surprised we've only noticed this until now... Patch coming.
Component: Developer Tools: WebIDE → Developer Tools: Framework
OS: Windows 7 → All
Hardware: x86_64 → All
Summary: Trying to upload an app just after connecting to a device make it disconnect → Transport fails after simultaneous sends
Assignee | ||
Updated•10 years ago
|
Assignee: poirot.alex → jryans
Status: NEW → ASSIGNED
Assignee | ||
Comment 5•10 years ago
|
||
Try: https://treeherder.mozilla.org/ui/#/jobs?repo=try&revision=ede4a45fa6a5
Attachment #8486311 -
Attachment is obsolete: true
Attachment #8486311 -
Flags: review?(jryans)
Attachment #8486756 -
Flags: review?(past)
Comment 6•10 years ago
|
||
Comment on attachment 8486756 [details] [diff] [review] Support simultaneous sends in the transport Review of attachment 8486756 [details] [diff] [review]: ----------------------------------------------------------------- Nice catch!
Attachment #8486756 -
Flags: review?(past) → review+
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Comment 8•10 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/a815df441343
Keywords: checkin-needed
Whiteboard: [fixed-in-fx-team]
Comment 9•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/a815df441343
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 35
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•