Bug 134453

Summary: Add encodeInteger and decodeInteger for remote object encoder and decoder.
Product: WebKit Reporter: Yongjun Zhang <yongjun_zhang>
Component: WebKit2Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca, bunhere, cdumez, commit-queue, gyuyoung.kim, mitz, sam, sergio
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch. none

Description Yongjun Zhang 2014-06-30 14:02:06 PDT
In 64bit system, encodeInteger/decodeInteger is by default mapped into encodeInt64/decodeInt64.  For 32bit system, they are mapped to encodeInt32/decodeInt32.  However, since we don't have encodeInt32/decodeInt32 implementation in WKRemoteObjectCoder, we could hit crash in 32bit systems.
Comment 1 Yongjun Zhang 2014-06-30 14:08:51 PDT
Created attachment 234091 [details]
Patch.
Comment 2 Yongjun Zhang 2014-06-30 14:14:51 PDT
<rdar://problem/16964074>
Comment 3 WebKit Commit Bot 2014-07-01 10:15:01 PDT
Comment on attachment 234091 [details]
Patch.

Clearing flags on attachment: 234091

Committed r170645: <http://trac.webkit.org/changeset/170645>
Comment 4 WebKit Commit Bot 2014-07-01 10:15:05 PDT
All reviewed patches have been landed.  Closing bug.