WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
106790
[V8] Remove a --es5_readonly flag from V8 initialization and address duplicated code
https://bugs.webkit.org/show_bug.cgi?id=106790
Summary
[V8] Remove a --es5_readonly flag from V8 initialization and address duplicat...
Peter Rybin
Reported
2013-01-14 06:45:49 PST
Group common code from 2 similar V8 initialize methods.
Attachments
Patch
(3.55 KB, patch)
2013-01-14 08:13 PST
,
Peter Rybin
no flags
Details
Formatted Diff
Diff
Patch
(3.67 KB, patch)
2013-01-14 08:43 PST
,
Peter Rybin
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Peter Rybin
Comment 1
2013-01-14 08:13:02 PST
Created
attachment 182579
[details]
Patch
Kentaro Hara
Comment 2
2013-01-14 08:16:32 PST
Comment on
attachment 182579
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=182579&action=review
> Source/WebCore/bindings/v8/V8Initializer.cpp:-128 > - // FIXME: Remove the following 2 lines when V8 default has changed. > - const char es5ReadonlyFlag[] = "--es5_readonly"; > - v8::V8::SetFlagsFromString(es5ReadonlyFlag, sizeof(es5ReadonlyFlag));
What's the rationale for removing the lines? Has V8 default has changed?
Peter Rybin
Comment 3
2013-01-14 08:21:18 PST
> > Source/WebCore/bindings/v8/V8Initializer.cpp:-128 > > - // FIXME: Remove the following 2 lines when V8 default has changed. > > - const char es5ReadonlyFlag[] = "--es5_readonly"; > > - v8::V8::SetFlagsFromString(es5ReadonlyFlag, sizeof(es5ReadonlyFlag)); > > What's the rationale for removing the lines? Has V8 default has changed?
Exactly. See
http://code.google.com/p/v8/source/detail?r=12415
Kentaro Hara
Comment 4
2013-01-14 08:26:51 PST
Comment on
attachment 182579
[details]
Patch OK. - Please wait for arv's comment before landing. - Please add the V8 change URL to your ChangeLog. - Change the bug title to "[V8] Remove a --es5_readonly flag from V8 initialization", because that is the main point of this change.
Peter Rybin
Comment 5
2013-01-14 08:43:50 PST
Created
attachment 182584
[details]
Patch
Kentaro Hara
Comment 6
2013-01-14 08:44:45 PST
Comment on
attachment 182584
[details]
Patch OK, thanks. Let's wait for arv.
Peter Rybin
Comment 7
2013-01-14 08:45:50 PST
> - Please add the V8 change URL to your ChangeLog.
Done
> - Change the bug title to "[V8] Remove a --es5_readonly flag from V8 initialization", because that is the main point of this change.
Done (but this wasn't main intent though :)
Peter Rybin
Comment 8
2013-01-17 06:42:06 PST
(In reply to
comment #6
)
> (From update of
attachment 182584
[details]
) > OK, thanks. Let's wait for arv.
arv is not in office until 22rd according to his mail robot. Is there anything we could do without waiting until 22rd? Is there any particular concern you meant? Is it ok to ask my colleagues to review this instead? yurys, vsevik, loislo or pfeldmand probably could do it.
Kentaro Hara
Comment 9
2013-01-17 06:47:13 PST
Comment on
attachment 182584
[details]
Patch I asked Andreas (the author of the V8 patch) if it's safe to remove the flag from V8 binding. He is saying OK.
WebKit Review Bot
Comment 10
2013-01-17 10:36:10 PST
Comment on
attachment 182584
[details]
Patch Clearing flags on attachment: 182584 Committed
r139990
: <
http://trac.webkit.org/changeset/139990
>
WebKit Review Bot
Comment 11
2013-01-17 10:36:13 PST
All reviewed patches have been landed. Closing bug.
Erik Arvidsson
Comment 12
2013-01-22 09:15:57 PST
Thanks
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