WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
84200
It should be possible to create an inheritorID for the global this object without crashing
https://bugs.webkit.org/show_bug.cgi?id=84200
Summary
It should be possible to create an inheritorID for the global this object wit...
Filip Pizlo
Reported
2012-04-17 15:06:27 PDT
The global this object has a structure that has a null global object. That makes sense since there is no one global object that the structure could be associated with. But what doesn't make sense is that this leads to the inheritorID structure created for objects that have the global this object as their prototype also having a null global object, which then results in hilarity and badness when any operation is performed on those objects that expects to be able to query the global object via the structure.
Attachments
the patch
(6.21 KB, patch)
2012-04-17 15:08 PDT
,
Filip Pizlo
no flags
Details
Formatted Diff
Diff
the patch
(5.81 KB, patch)
2012-04-17 15:10 PDT
,
Filip Pizlo
oliver
: review+
buildbot
: commit-queue-
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Filip Pizlo
Comment 1
2012-04-17 15:06:35 PDT
<
rdar://problem/11251082
>
Filip Pizlo
Comment 2
2012-04-17 15:08:15 PDT
Created
attachment 137615
[details]
the patch
Filip Pizlo
Comment 3
2012-04-17 15:10:52 PDT
Created
attachment 137616
[details]
the patch
WebKit Review Bot
Comment 4
2012-04-17 15:14:23 PDT
Attachment 137616
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/JavaScriptCore/ChangeLog', u'Source..." exit_code: 1 Source/JavaScriptCore/runtime/JSGlobalThis.h:68: The parameter name "globalData" adds no information, so it should be removed. [readability/parameter_name] [5] Source/JavaScriptCore/runtime/JSGlobalThis.h:68: The parameter name "globalObject" adds no information, so it should be removed. [readability/parameter_name] [5] Total errors found: 2 in 7 files If any of these errors are false positives, please file a bug against check-webkit-style.
Build Bot
Comment 5
2012-04-17 15:43:02 PDT
Comment on
attachment 137616
[details]
the patch
Attachment 137616
[details]
did not pass win-ews (win): Output:
http://queues.webkit.org/results/12415987
Filip Pizlo
Comment 6
2012-04-17 16:02:11 PDT
Landed in
http://trac.webkit.org/changeset/114457
Filip Pizlo
Comment 7
2012-04-17 16:04:06 PDT
Windows build fix:
http://trac.webkit.org/changeset/114459
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