Closed
Bug 1080104
Opened 10 years ago
Closed 9 years ago
[Gallery] remove the memory-backed blob workaround hack from bug 1063658
Categories
(Firefox OS Graveyard :: Gaia::Gallery, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: djf, Assigned: djf)
References
Details
(Whiteboard: [2.2 backlog])
Attachments
(2 files)
In bug 1063658 we landed a workaround for bug 1079546. When 1079546 is fixed, we should remove the workaround.
Assignee | ||
Comment 1•10 years ago
|
||
Nominating this for 2.2 so it gets on a list and we don't forget to do it.
blocking-b2g: --- → 2.2?
Depends on: 1079546
Updated•10 years ago
|
blocking-b2g: 2.2? → ---
Whiteboard: [2.2 backlog]
David, bug 1079546 has landed, so I think you should be able to remove your workarounds now.
Flags: needinfo?(dflanagan)
Assignee | ||
Comment 3•10 years ago
|
||
Thanks Ben.
Assignee: nobody → dflanagan
Flags: needinfo?(dflanagan)
Assignee | ||
Comment 4•10 years ago
|
||
From bug 1079546, it looks like the gecko fix will fix the bug for v2.2 only, and the workaround will need to remain in place for v2.0 and v2.1. So unless we hear otherwise in 1079546, this but should only revert the fix in 1063658 on master.
Assignee | ||
Comment 5•10 years ago
|
||
Punam: would you review this please? I had an old version of gecko still on my phone. I applied this patch and verified that the sms app crashed if I picked a cropped image from gallery. Next, I updated my photo to today's nightly and applied this patch again. This time, I could successfully pick a cropped image without crashing the sms app. So it does look like the underlying gecko bug has been resolved. I did not test with the email app which was the original focus for this workaround, however.
Attachment #8507088 -
Flags: review?(pdahiya)
Assignee | ||
Comment 6•10 years ago
|
||
After discussing this with Punam, she is going to wait to review this patch until 1080090 is resolved, since that is another gallery-related regression caused by blob and indexeddb code. That way we can make sure that the fix for 1080090 does not cause problems with the fix for 1079546. We don't want to remove this workaround and then just have to land it again.
Depends on: 1080090
Comment 7•10 years ago
|
||
Comment on attachment 8507088 [details] [review] patch to revert the workaround Hi David I am not able to replicate gallery crash seen in bug1080090 in today's build. Gaia e91d99e4d96954f06383c00bb9d79598a697e310 Gecko https://hg.mozilla.org/mozilla-central/rev/8230834302c9 BuildID 20141027040237 Version 36.0a1 device: Flame-KK v180 base image We should revert this workaround in master. I have verified both SMS and email flow and able to attach image successfully after reverting the workaround with the attached patch. Thanks!
Attachment #8507088 -
Flags: review?(pdahiya) → review+
Assignee | ||
Comment 8•9 years ago
|
||
I don't remember why I never landed this patch after Punam reviewed it. The workaround is still in gallery and my patch is bit-rotted.
Assignee | ||
Comment 9•9 years ago
|
||
Comment on attachment 8507088 [details] [review] patch to revert the workaround Punam, would you review this again? I've updated the patch so it will apply. Maybe before landing it we should land the pick activity test that you're going to be reviving from bug 959430. Actually, if you've got the time, maybe you could take the pick activity test from bug 959430 and use in bug 1080122, and also write a share activity test for that bug. If we land those tests it should be totally safe to land this workaround removal. I filed bug 1080122 at the same time I filed this bug, with the thought that we should land tests before removing the workaround, and that still seems like a good idea if we can get it done. Writing marionette tests for activities may actually be quite hard. This isn't something that is worth spending weeks on, but if you can get those tests written in a few days it would be really great to finally have them written!
Attachment #8507088 -
Flags: review+ → review?(pdahiya)
Comment 10•9 years ago
|
||
Hi David We have activity tests landed on master in Bug 1080122. If you can rebase attached patch with latest master, it will run those tests on this PR on tree herder. Setting NI flag for you to help rebase this patch for activity tests to run on treeherder on this PR. Thanks!
Flags: needinfo?(dflanagan)
Comment 11•9 years ago
|
||
Comment 12•9 years ago
|
||
Comment on attachment 8507088 [details] [review] patch to revert the workaround Attached rebased patch attachment 8645931 [details] [review], will set review flag after treeherder job completes.
Attachment #8507088 -
Flags: review?(punamdahiya)
Updated•9 years ago
|
Flags: needinfo?(dflanagan)
Comment 13•9 years ago
|
||
Comment on attachment 8645931 [details] [review] [gaia] punamdahiya:Bug1080104 > mozilla-b2g:master Hi David Attached patch is rebased and passing on treeherder. I am not able to set review flag on this patch. Setting NI flag to review and land the patch. Thanks!
Flags: needinfo?(dflanagan)
Assignee | ||
Updated•9 years ago
|
Flags: needinfo?(dflanagan)
Attachment #8645931 -
Flags: review+
Assignee | ||
Comment 14•9 years ago
|
||
landed: https://github.com/mozilla-b2g/gaia/commit/342f5b3f7865e68b1885258c53c23204f6da1b97
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•