WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
134126
Remove static tables for bindings that use eager reification
https://bugs.webkit.org/show_bug.cgi?id=134126
Summary
Remove static tables for bindings that use eager reification
Sam Weinig
Reported
2014-06-20 14:41:01 PDT
Remove static tables for bindings that use eager reification
Attachments
Patch
(79.33 KB, patch)
2014-06-20 14:43 PDT
,
Sam Weinig
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from webkit-ews-03 for mac-mountainlion
(586.98 KB, application/zip)
2014-06-20 16:16 PDT
,
Build Bot
no flags
Details
Archive of layout-test-results from webkit-ews-13 for mac-mountainlion-wk2
(783.02 KB, application/zip)
2014-06-20 16:34 PDT
,
Build Bot
no flags
Details
Patch
(81.96 KB, patch)
2014-06-20 18:03 PDT
,
Sam Weinig
oliver
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Sam Weinig
Comment 1
2014-06-20 14:43:06 PDT
Created
attachment 233459
[details]
Patch
Build Bot
Comment 2
2014-06-20 16:16:01 PDT
Comment on
attachment 233459
[details]
Patch
Attachment 233459
[details]
did not pass mac-ews (mac): Output:
http://webkit-queues.appspot.com/results/5140483131047936
New failing tests: js/dom/webidl-type-mapping.html
Build Bot
Comment 3
2014-06-20 16:16:06 PDT
Created
attachment 233478
[details]
Archive of layout-test-results from webkit-ews-03 for mac-mountainlion The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: webkit-ews-03 Port: mac-mountainlion Platform: Mac OS X 10.8.5
Build Bot
Comment 4
2014-06-20 16:34:01 PDT
Comment on
attachment 233459
[details]
Patch
Attachment 233459
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
http://webkit-queues.appspot.com/results/6407120526245888
New failing tests: media/W3C/video/networkState/networkState_during_loadstart.html js/dom/webidl-type-mapping.html
Build Bot
Comment 5
2014-06-20 16:34:07 PDT
Created
attachment 233485
[details]
Archive of layout-test-results from webkit-ews-13 for mac-mountainlion-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: webkit-ews-13 Port: mac-mountainlion-wk2 Platform: Mac OS X 10.8.5
Sam Weinig
Comment 6
2014-06-20 16:56:12 PDT
Comment on
attachment 233459
[details]
Patch This is currently breaking js/dom/webidl-type-mapping.html. Taking a look.
Sam Weinig
Comment 7
2014-06-20 18:03:09 PDT
Created
attachment 233493
[details]
Patch
WebKit Commit Bot
Comment 8
2014-06-20 18:05:46 PDT
Attachment 233493
[details]
did not pass style-queue: ERROR: Source/JavaScriptCore/runtime/Structure.h:284: is__proto__ is incorrectly named. Don't use underscores in your identifier names. [readability/naming/underscores] [4] Total errors found: 1 in 39 files If any of these errors are false positives, please file a bug against check-webkit-style.
Sam Weinig
Comment 9
2014-06-20 18:10:16 PDT
(In reply to
comment #6
)
> (From update of
attachment 233459
[details]
) > This is currently breaking js/dom/webidl-type-mapping.html. Taking a look.
The issue, for those playing along at home, was that when eagerly reifying properties we were not setting the m_hasReadOnlyOrGetterSetterPropertiesExcludingProto bit on the Structure. The reason was that when we do this eager reification, we call JSObject::putDirectCustomAccessor(...) which in turn calls Structure::setHasCustomGetterSetterProperties() (this mirrors the path taken when add a normal getter/setter which calls JSObject::putDirectAccessor(...) which calls Structure::setHasGetterSetterProperties()) but setHasCustomGetterSetterProperties wasn't setting the bit as it should have been. This was not a problem in the past because all use of eager reification had left the static HashTables hanging off their ClassInfo, which initialized the m_hasReadOnlyOrGetterSetterPropertiesExcludingProto bit at Structure creation time.
Alexey Proskuryakov
Comment 10
2014-06-20 20:50:02 PDT
See also:
bug 133687
.
Sam Weinig
Comment 11
2014-06-21 16:42:52 PDT
Fixed in
http://trac.webkit.org/changeset/170256
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug