Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(172)

Issue 887073005: Merge https://codereview.chromium.org/897973002/ and https://codereview.chromium.org/902753002/ to … (Closed)

Created:
5 years, 10 months ago by jam
Modified:
5 years, 10 months ago
CC:
pdfium-reviews_googlegroups.com
Base URL:
https://pdfium.googlesource.com/pdfium@xfa
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -29 lines) Patch
M BUILD.gn View 1 chunk +0 lines, -3 lines 0 comments Download
M fpdfsdk/include/javascript/IJavaScript.h View 3 chunks +1 line, -6 lines 0 comments Download
M fpdfsdk/src/javascript/JS_Runtime.cpp View 3 chunks +0 lines, -10 lines 0 comments Download
M pdfium.gyp View 1 chunk +4 lines, -5 lines 0 comments Download
M samples/BUILD.gn View 1 chunk +5 lines, -0 lines 0 comments Download
M samples/pdfium_test.cc View 3 chunks +6 lines, -0 lines 0 comments Download
M samples/samples.gyp View 1 chunk +6 lines, -1 line 0 comments Download
M xfa/src/fxjse/src/runtime.cpp View 1 chunk +0 lines, -4 lines 3 comments Download

Messages

Total messages: 8 (1 generated)
jam
https://codereview.chromium.org/887073005/diff/1/xfa/src/fxjse/src/runtime.cpp File xfa/src/fxjse/src/runtime.cpp (left): https://codereview.chromium.org/887073005/diff/1/xfa/src/fxjse/src/runtime.cpp#oldcode30 xfa/src/fxjse/src/runtime.cpp:30: v8::V8::SetFlagsFromString(szCmdFlags, FXSYS_strlen(szCmdFlags)); I don't know if this works anymore
5 years, 10 months ago (2015-02-05 01:41:19 UTC) #2
jochen (gone - plz use gerrit)
https://codereview.chromium.org/887073005/diff/1/xfa/src/fxjse/src/runtime.cpp File xfa/src/fxjse/src/runtime.cpp (right): https://codereview.chromium.org/887073005/diff/1/xfa/src/fxjse/src/runtime.cpp#newcode30 xfa/src/fxjse/src/runtime.cpp:30: v8::V8::SetFlagsFromString(szCmdFlags, FXSYS_strlen(szCmdFlags)); On 2015/02/05 at 01:41:19, jam wrote: > ...
5 years, 10 months ago (2015-02-06 10:27:12 UTC) #3
jam
On 2015/02/06 10:27:12, jochen (slow) wrote: > https://codereview.chromium.org/887073005/diff/1/xfa/src/fxjse/src/runtime.cpp > File xfa/src/fxjse/src/runtime.cpp (right): > > https://codereview.chromium.org/887073005/diff/1/xfa/src/fxjse/src/runtime.cpp#newcode30 ...
5 years, 10 months ago (2015-02-06 23:52:48 UTC) #4
jochen (gone - plz use gerrit)
lgtm to merge then
5 years, 10 months ago (2015-02-09 14:19:19 UTC) #5
jun_fang
https://codereview.chromium.org/887073005/diff/1/xfa/src/fxjse/src/runtime.cpp File xfa/src/fxjse/src/runtime.cpp (right): https://codereview.chromium.org/887073005/diff/1/xfa/src/fxjse/src/runtime.cpp#newcode30 xfa/src/fxjse/src/runtime.cpp:30: v8::V8::SetFlagsFromString(szCmdFlags, FXSYS_strlen(szCmdFlags)); On 2015/02/06 10:27:12, jochen (slow) wrote: > ...
5 years, 10 months ago (2015-02-09 23:44:32 UTC) #6
jam
Committed patchset #1 (id:1) manually as b045ed21ec797b5d05a6cef819451b0e8bfdee47 (presubmit successful).
5 years, 10 months ago (2015-02-10 17:15:20 UTC) #7
jam
5 years, 10 months ago (2015-02-10 17:15:48 UTC) #8
Message was sent while issue was closed.
On 2015/02/09 23:44:32, jun_fang wrote:
> https://codereview.chromium.org/887073005/diff/1/xfa/src/fxjse/src/runtime.cpp
> File xfa/src/fxjse/src/runtime.cpp (right):
> 
>
https://codereview.chromium.org/887073005/diff/1/xfa/src/fxjse/src/runtime.cp...
> xfa/src/fxjse/src/runtime.cpp:30: v8::V8::SetFlagsFromString(szCmdFlags,
> FXSYS_strlen(szCmdFlags));
> On 2015/02/06 10:27:12, jochen (slow) wrote:
> > On 2015/02/05 at 01:41:19, jam wrote:
> > > I don't know if this works anymore
> > 
> > this works in the sense that it sets the flag.
> > 
> > It doesn't work in the sense that the resulting behavior of V8 is broken,
but
> > that was already the case before. We must not ship this code as long as it
> > depends on these flags.
> 
> 
> Feedback from our developers, according to current design,
> v8::V8::SetFlagsFromString(szCmdFlags, FXSYS_strlen(szCmdFlags)) shall run
> before v8::V8::Initialize(). Otherwise, it doesn't take effect. We plan to
> enhance the current design. Before that, can we keep the current
implementation?

please let's keep this conversation on the email thread, so it's easier to have
Jochen comment on the plan

Powered by Google App Engine
This is Rietveld 408576698