Closed Bug 1218681 Opened 10 years ago Closed 10 years ago

plugin standalone process support on MIPS processor.

Categories

(Core :: IPC, defect)

40 Branch
Other
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla45
Tracking Status
firefox45 --- fixed

People

(Reporter: hwjeastd07, Assigned: hwjeastd07)

Details

Attachments

(1 file, 1 obsolete file)

User Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.80 Safari/537.36 Steps to reproduce: 1:Build firefox Browser on mips processor. such as Loongson3A 2:open website url: such as www.163.com. 3:when flash crashed, firefox crashed Actual results: firefox browser crashed when flash crashed immediately Expected results: firefox should not crashed , even if flash crashed. because flash plugin run in plugin-container process
OS: Unspecified → Linux
Hardware: Unspecified → Other
Attachment #8679273 - Attachment is patch: true
Attachment #8679273 - Attachment mime type: text/x-patch → text/plain
Comment on attachment 8679273 [details] [diff] [review] 0001-add-plugin-container-standalone-process-code.-The-Co.patch Review of attachment 8679273 [details] [diff] [review]: ----------------------------------------------------------------- ::: ipc/chromium/src/base/process_util.h @@ +37,5 @@ > #include "base/command_line.h" > #include "base/process.h" > > + > +#define ARCH_CPU_MIPSEL 1 You shouldn't define here. See: ipc/chromium/src/build/build_config.h @@ +74,5 @@ > PROCESS_ARCH_I386 = 0x1, > PROCESS_ARCH_X86_64 = 0x2, > PROCESS_ARCH_PPC = 0x4, > + PROCESS_ARCH_ARM = 0x8, > + PROCESS_ARCH_MIPS = 0x16 Why not 0x10?
Thanks. #define ARCH_CPU_MIPSEL 1 may should define here below. ipc/chromium/src/build/build_config.h #elif defined(__mips__) #define ARCH_CPU_MIPS 1 #define ARCH_CPU_32_BITS 1 See: ipc/chromium/src/build/build_config.h @@ +74,5 @@ > PROCESS_ARCH_I386 = 0x1, > PROCESS_ARCH_X86_64 = 0x2, > PROCESS_ARCH_PPC = 0x4, > + PROCESS_ARCH_ARM = 0x8, > + PROCESS_ARCH_MIPS = 0x10 may be it should 0x10; because a power of 2. but it doesn't matter.
Component: Untriaged → IPC
Product: Firefox → Core
Assignee: nobody → hwjeastd07
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Modify the code to make it more logical
Attachment #8679273 - Attachment is obsolete: true
Attachment #8680476 - Flags: review?(r)
Attachment #8680476 - Flags: review?(gingerbread_man)
Attachment #8680476 - Flags: review?(r) → review+
Comment on attachment 8680476 [details] [diff] [review] 0001-add-plugin-container-standalone-process-code.-The-Co.patch I'm only involved with triage. Clearing patch review request.
Attachment #8680476 - Flags: review?(gingerbread_man)
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
removing the b2g 2.5 flag since this commit has been reverted due to an incorrect merge, sorry for the confusion
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: