Closed
Bug 581881
Opened 14 years ago
Closed 13 years ago
bug 578262 broke return value for some cross process methods.
Categories
(Core :: IPC, defect)
Tracking
()
RESOLVED
FIXED
mozilla2.0b10
People
(Reporter: romaxa, Assigned: romaxa)
References
Details
(Whiteboard: [e10s])
Attachments
(1 file)
1.64 KB,
patch
|
benjamin
:
review+
benjamin
:
approval2.0+
|
Details | Diff | Splinter Review |
Some changes from bug 578262 make some methods returning NS_ERROR_FAILURE always. like nsFrameLoader::SendCrossProcessKeyEvent NS_IMETHODIMP nsFrameLoader::SendCrossProcessKeyEvent(const nsAString& aType, PRInt32 aKeyCode, PRInt32 aCharCode, PRInt32 aModifiers, PRBool aPreventDefault) { #ifdef MOZ_IPC - if (mChildProcess) { - mChildProcess->SendKeyEvent(aType, aKeyCode, aCharCode, aModifiers, + if (mRemoteBrowser) { + mRemoteBrowser->SendKeyEvent(aType, aKeyCode, aCharCode, aModifiers, aPreventDefault); - return NS_OK; } #endif return NS_ERROR_FAILURE; After this change method is not returning NS_OK anymore.
Assignee | ||
Comment 1•14 years ago
|
||
Assignee: nobody → romaxa
Attachment #460208 -
Flags: review?(benjamin)
Updated•14 years ago
|
Attachment #460208 -
Flags: review?(benjamin) → review+
Comment 2•14 years ago
|
||
Comment on attachment 460208 [details] [diff] [review] Return NS_OK, fix test-ipc.xul js errors The test buttons on test-ipc.xul take these paths and confused me for a while as to the reason they were failing.
Attachment #460208 -
Flags: approval2.0?
Updated•14 years ago
|
Attachment #460208 -
Flags: approval2.0? → approval2.0+
Comment 3•13 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/c59b5292152e
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [e10s]
Target Milestone: --- → mozilla2.0b10
You need to log in
before you can comment on or make changes to this bug.
Description
•