Open Bug 1342845 Opened 7 years ago Updated 2 years ago

Remove the synchronousness from nsIURIClassifier.Classify's IPC port

Categories

(Toolkit :: Safe Browsing, task, P3)

task

Tracking

()

People

(Reporter: hchang, Unassigned)

Details

Attachments

(1 file)

Assignee: nobody → hchang
Status: NEW → ASSIGNED
Priority: -- → P3
Keywords: good-first-bug
Assignee: hchang → nobody
Status: ASSIGNED → NEW

Hello. Can I work on this bug?

Assignee: nobody → 1991manish.kumar

How can I fix this?

Flags: needinfo?(hchang.mozilla)

(In reply to Manish [:manishkk] from comment #2)

How can I fix this?

Hi,
Thanks for helping.
First, if you haven't read about IPDL before, you could probably check here[1] to get a quick overview.

So the basic idea is to change the "sync"[2] to "async". You will have to remove the |returns (bool success);|.
We have a similar example |async PURLClassifierLocal| that you can see how it differs from the sync one.

If you have any other question, feel free to let me know :)

[1] https://developer.mozilla.org/en-US/docs/Mozilla/IPDL/Tutorial
[2] https://searchfox.org/mozilla-central/rev/90d1cbb4fd3dc249cdc11fe5c3e0394d22d9c680/dom/ipc/PContent.ipdl#833

Flags: needinfo?(hchang.mozilla)
Status: NEW → ASSIGNED

I got |async PURLClassifierLocal| : https://searchfox.org/mozilla-central/source/dom/ipc/PContent.ipdl#840
but couldn't find 'sync PURLClassifierLocal'

We have a similar example |async PURLClassifierLocal| that you can see how it differs from the sync one.

Flags: needinfo?(dlee)

(In reply to Manish [:manishkk] from comment #4)

I got |async PURLClassifierLocal| : https://searchfox.org/mozilla-central/source/dom/ipc/PContent.ipdl#840
but couldn't find 'sync PURLClassifierLocal'

We have a similar example |async PURLClassifierLocal| that you can see how it differs from the sync one.

Yes, I mean you can reference the async version of PURLClassifierLocal.

Flags: needinfo?(dlee)

Resetting the owner as no activity for 2 months

Assignee: 1991manish.kumar → nobody
Status: ASSIGNED → NEW
Type: defect → task

(In reply to Sylvestre Ledru [:sylvestre] from comment #6)

Resetting the owner as no activity for 2 months

Can I be assigned to this bug?

Flags: needinfo?(dlee)

(In reply to TomS [:toms] from comment #7)

(In reply to Sylvestre Ledru [:sylvestre] from comment #6)

Resetting the owner as no activity for 2 months

Can I be assigned to this bug?

Sure!

Assignee: nobody → saranto
Status: NEW → ASSIGNED
Flags: needinfo?(dlee)

Thanks Dimi

Can I do this using artifact builds? This looks like a c++ file

Flags: needinfo?(dlee)

(In reply to TomS [:toms] from comment #10)

Can I do this using artifact builds? This looks like a c++ file

No, you will have to be able to build the source code.
BTW, I think this is not relative easy good-first-bug because you will have to know a little bit about ipdl.
It is still doable so please feel free to let me know if you have any question, also feel free to unassign if you want to work
on something easier first :)

Flags: needinfo?(dlee)

Ok. You can unassign me, there's another bug that I'm poking so I'll get started on that one for the time being. Cheers

Assignee: saranto → nobody
Status: ASSIGNED → NEW

hello, May I work on this?

(In reply to Jayati Shrivastava from comment #13)

hello, May I work on this?

sure!

Assignee: nobody → gaurijove
Status: NEW → ASSIGNED
Assignee: gaurijove → nobody
Status: ASSIGNED → NEW
Keywords: good-first-bug
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: