Home > School > Fixefox Bug

Fixefox Bug

So you want to fix a bug in Firefox but you don’t know where to start. Well I’ll tell you how:
Step 1: Find a bug

Head over to Mozilla’s Bugzilla and search “student-project”. This will give you a list of bugs that employees at Mozilla believe students can handle and work on. For our class we took bug 565031.

Step 2: Reproduce Bug

Create a webpage that creates the bug and will be you test case.

Step 3: Test bug in different browsers / Check bug validity

The bug might work in other browsers or be handled differently, so  it should be tested how this bug appears in other browsers and if the bug is valid.

Step 4: Learn and understand the code / create Fix

You need to analyze the code where the bug is originating and understand why and how it does everything it needs to. Once you understand the code create the patch to fix the bug.

Step 5: Create a test to be added for this fix

In this case we need to create a parser test that will ensure that this patch works.

Step 6: Review

Set the status in Bugzilla for the the patch so it will be reviewed. (More details to come)

Here is the picture of the process from class:

Remember this bug can be discussed in the #Seneca IRC channel.

Advertisement
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.