Closed Bug 1396601 Opened 8 years ago Closed 8 years ago

Remove MOZ_ENABLE_CONTENTACTION

Categories

(Firefox :: File Handling, enhancement, P3)

ARM
Other
enhancement

Tracking

()

RESOLVED FIXED
Firefox 59
Tracking Status
firefox57 --- wontfix
firefox59 --- fixed

People

(Reporter: gcp, Assigned: DarthSwap)

Details

(Whiteboard: [good first bug])

Attachments

(1 file, 2 obsolete files)

While debugging bug 1382323 I ran into MOZ_ENABLE_CONTENTACTION. It looks like this is Meego specific stuff, and can be removed.
Priority: -- → P3
Whiteboard: [good first bug]
Hi! I would like to work on this bug. Could you please post any resources that could help me get started?
I did a grep on the entire mozilla central source code and found MOZ_ENABLE_CONTENTACTION in: - xpcom/io/nsLocalFileUnix.cpp - uriloader/exthandler/moz.build - uriloader/exthandler/unix/nsMIMEInfoUnix.h - uriloader/exthandler/unix/nsMIMEInfoUnix.cpp Is the fix of this bug to remove MOZ_ENABLE_CONTENTACTION and the code depending on it from these files?
Yes. Basically nothing we support uses MOZ_ENABLE_CONTENTACTION any more, so all code inside any #ifdef for it can be removed, and the support for it in the moz.build files can be removed as well.
Attached patch Bug1396601.patch (obsolete) — Splinter Review
Have removed MOZ_ENABLE_CONTENTACTION from the .cpp files and from moz.build.
Attachment #8937231 - Flags: review?(paolo.mozmail)
Comment on attachment 8937231 [details] [diff] [review] Bug1396601.patch Thanks for the patch! There are more code instances to remove: https://dxr.mozilla.org/mozilla-central/search?q=MOZ_ENABLE_CONTENTACTION Also, nsContentHandlerApp.cpp has to be removed from version control.
Attachment #8937231 - Flags: review?(paolo.mozmail)
I have removed all the mentioned instances from the stated files as well. I have also removed nsContentHandlerApp.cpp. I apologize for being late, I could not work on the bug sooner due to end of year holidays.
Attachment #8937231 - Attachment is obsolete: true
Attachment #8939376 - Flags: review?(paolo.mozmail)
Comment on attachment 8939376 [details] [diff] [review] Bug1396601.patch Removed all instances of MOZ_ENABLE_CONTENTACTION. r=paolo (In reply to Swapnil from comment #6) > I have removed all the mentioned instances from the stated files as well. I > have also removed nsContentHandlerApp.cpp. The removal of nsContentHandlerApp.cpp didn't make it to the patch, this may need an "hg rm" or "hg addremove". Can you post an updated patch? It will be a fast review then. > I apologize for being late, I could not work on the bug sooner due to end of > year holidays. Thank you, but don't worry, this isn't urgent!
Attachment #8939376 - Flags: review?(paolo.mozmail)
Attached patch Bug1396601.patchSplinter Review
I did not know about hg rm. I have done hg rm on nsContentHandlerApp.cpp. Please review. Thanks!
Attachment #8939376 - Attachment is obsolete: true
Attachment #8940796 - Flags: review?(paolo.mozmail)
Comment on attachment 8940796 [details] [diff] [review] Bug1396601.patch Thank you! I started a tryserver build with your changes here: https://treeherder.mozilla.org/#/jobs?repo=try&revision=7b5c75f6645814a825ca1ea3c5a8a2cdffbb6538 I've kept the commit message from the original patch because intermediate patch revisions are not checked in, so the message doesn't need to reference them or refer to review comments.
Attachment #8940796 - Flags: review?(paolo.mozmail) → review+
Pushed by paolo.mozmail@amadzone.org: https://hg.mozilla.org/integration/mozilla-inbound/rev/aabf5fcec100 Removed all instances of MOZ_ENABLE_CONTENTACTION from .cpp files and moz.build file. r=paolo
I have pushed the changeset to the mozilla-inbound tree, it will be integrated with mozilla-central soon. Thanks for your contribution!
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 59
Assignee: nobody → swapchamps
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: