Bug 126721 - JavaScriptCore Obj-C API gives incorrect behavior for CGFloat properties on ARM64
Summary: JavaScriptCore Obj-C API gives incorrect behavior for CGFloat properties on A...
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL: https://github.com/iamdavidhart/JSObj...
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2014-01-09 14:53 PST by Mark Rowe (bdash)
Modified: 2022-02-11 14:10 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Rowe (bdash) 2014-01-09 14:53:43 PST
From <https://github.com/iamdavidhart/JSObjCBridge64BitTest>:

> The new Javascript-ObjC bridge on iOS7 is broken on 64bit iOS ARM devices when using an exported property declared as a CGFloat from javascript. When accessing the CGFloat property of a bridged ObjC object, the value set or get is wrong, always a (very nearly) zero value.

The linked GitHub repository contains a test case that claims to give correct results in 32-bit while demonstrating the bug in 64-bit.
Comment 1 Radar WebKit Bug Importer 2014-01-09 14:53:58 PST
<rdar://problem/15786582>