Build uriloader in unified mode

RESOLVED FIXED in mozilla28

Status

()

Core
Document Navigation
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: cpeterson, Assigned: cpeterson)

Tracking

Trunk
mozilla28
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [qa-])

Attachments

(1 attachment, 2 obsolete attachments)

(Assignee)

Description

4 years ago
Created attachment 8334395 [details] [diff] [review]
unify-uriloader.patch
(Assignee)

Comment 1

4 years ago
Comment on attachment 8334395 [details] [diff] [review]
unify-uriloader.patch

oops: patch had link errors related to inconsistent PR_LOGGING definitions.
Attachment #8334395 - Attachment is obsolete: true
(Assignee)

Comment 2

4 years ago
Unassigning myself because I don't have time to investigate these link errors right now.
Assignee: cpeterson → nobody
Status: ASSIGNED → NEW

Comment 3

4 years ago
Bug 941854 uncovers a bunch of forced NSPR logging here, see:

$ git grep FORCE uriloader/
uriloader/base/nsURILoader.h:21:// #define FORCE_PR_LOG
uriloader/exthandler/nsExternalHelperAppService.cpp:8:#define FORCE_PR_LOG
uriloader/exthandler/nsExternalHelperAppService.h:10:#define FORCE_PR_LOG
uriloader/prefetch/nsOfflineCacheUpdate.cpp:7:#define FORCE_PR_LOG
uriloader/prefetch/nsOfflineCacheUpdateService.cpp:7:#define FORCE_PR_LOG

You should exclude these files from the unified build; that will fix the link issue.  Are you planning on updating your patch?
Flags: needinfo?(cpeterson)
(Assignee)

Comment 4

4 years ago
Created attachment 8339690 [details] [diff] [review]
unify-uriloader-v2.patch

Let's try this again:
https://tbpl.mozilla.org/?tree=Try&rev=39cacaff246b
Assignee: nobody → cpeterson
Status: NEW → ASSIGNED
Flags: needinfo?(cpeterson)
(Assignee)

Comment 5

4 years ago
Created attachment 8339757 [details] [diff] [review]
R?_940235_unify-uriloader-v3.patch

And then I fixed the Linux compile errors by adding an include guard to nsGNOMERegistry.h:

https://tbpl.mozilla.org/?tree=Try&rev=bf27ee7a666a
Attachment #8339690 - Attachment is obsolete: true
Attachment #8339757 - Flags: review?(ehsan)

Updated

4 years ago
Attachment #8339757 - Flags: review?(ehsan) → review+
https://hg.mozilla.org/mozilla-central/rev/d4c8a4014d61
Status: ASSIGNED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28

Updated

4 years ago
Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.