WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
135007
sputnik/Implementation_Diagnostics/S12.6.4_D1.html depends on undefined behavior
https://bugs.webkit.org/show_bug.cgi?id=135007
Summary
sputnik/Implementation_Diagnostics/S12.6.4_D1.html depends on undefined behavior
Mark Hahnenberg
Reported
2014-07-16 20:43:04 PDT
EcmaScript 5.1 specifies that during for-in enumeration newly added properties may or may not be visited during the current enumeration. Specifically, in section 12.6.4 the spec states: "If new properties are added to the object being enumerated during enumeration, the newly added properties are not guaranteed to be visited in the active enumeration." The sputnik/Implementation_Diagnostics/S12.6.4_D1.html layout test is from before sputnik was added to the test262 suite. I believe it has since been removed, so it would probably be okay to remove it from our layout test suite.
Attachments
Patch
(4.82 KB, patch)
2014-07-16 20:48 PDT
,
Mark Hahnenberg
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Mark Hahnenberg
Comment 1
2014-07-16 20:48:42 PDT
Created
attachment 235049
[details]
Patch
Filip Pizlo
Comment 2
2014-07-16 20:56:17 PDT
Comment on
attachment 235049
[details]
Patch Is it part of test262?
Mark Hahnenberg
Comment 3
2014-07-16 21:14:18 PDT
(In reply to
comment #2
)
> (From update of
attachment 235049
[details]
) > Is it part of test262?
I don't think it is any more. I have a patch that breaks this test but the section 12 test262 tests pass.
Mark Hahnenberg
Comment 4
2014-07-16 21:14:54 PDT
(In reply to
comment #3
)
> (In reply to
comment #2
) > > (From update of
attachment 235049
[details]
[details]) > > Is it part of test262? > > I don't think it is any more. I have a patch that breaks this test but the section 12 test262 tests pass.
I guess it might never have been added to test262 though...
Mark Hahnenberg
Comment 5
2014-07-18 13:27:10 PDT
Fix landed in
http://trac.webkit.org/changeset/171189
.
Mark Hahnenberg
Comment 6
2014-07-18 13:27:30 PDT
Comment on
attachment 235049
[details]
Patch Clearing review flag.
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