WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
165422
Moved start and end column linking into helper functions
https://bugs.webkit.org/show_bug.cgi?id=165422
Summary
Moved start and end column linking into helper functions
Geoffrey Garen
Reported
2016-12-05 15:08:14 PST
Moved start and end column linking into helper functions
Attachments
Patch
(2.93 KB, patch)
2016-12-05 15:10 PST
,
Geoffrey Garen
sam
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Geoffrey Garen
Comment 1
2016-12-05 15:10:46 PST
Created
attachment 296198
[details]
Patch
Geoffrey Garen
Comment 2
2016-12-05 15:28:24 PST
Committed
r209361
: <
http://trac.webkit.org/changeset/209361
>
Mark Lam
Comment 3
2016-12-05 15:33:41 PST
Comment on
attachment 296198
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=296198&action=review
> Source/JavaScriptCore/bytecode/UnlinkedFunctionExecutable.h:93 > + unsigned linkedEndColumn(unsigned startColumn) const { return m_lineCount ? m_unlinkedBodyEndColumn : startColumn + m_unlinkedBodyEndColumn; }
This is wrong. The original code adds 1 to m_unlinkedBodyEndColumn if m_lineCount is non-zero. You didn't add 1 here.
Ryan Haddad
Comment 4
2016-12-05 17:21:52 PST
(In reply to
comment #2
)
> Committed
r209361
: <
http://trac.webkit.org/changeset/209361
>
LayoutTest js/dom/script-start-end-locations.html is failing after this change:
https://build.webkit.org/results/Apple%20El%20Capitan%20Release%20WK2%20(Tests)/r209361%20(11509)/results.html
Saam Barati
Comment 5
2016-12-12 17:33:16 PST
(In reply to
comment #4
)
> (In reply to
comment #2
) > > Committed
r209361
: <
http://trac.webkit.org/changeset/209361
> > > LayoutTest js/dom/script-start-end-locations.html is failing after this > change: >
https://build.webkit.org/results/
> Apple%20El%20Capitan%20Release%20WK2%20(Tests)/r209361%20(11509)/results.html
Has this been fixed?
Geoffrey Garen
Comment 6
2016-12-13 09:23:44 PST
I'll check today.
Ryan Haddad
Comment 7
2016-12-13 09:26:07 PST
(In reply to
comment #5
)
> (In reply to
comment #4
) > > (In reply to
comment #2
) > > > Committed
r209361
: <
http://trac.webkit.org/changeset/209361
> > > > > LayoutTest js/dom/script-start-end-locations.html is failing after this > > change: > >
https://build.webkit.org/results/
> > Apple%20El%20Capitan%20Release%20WK2%20(Tests)/r209361%20(11509)/results.html > > Has this been fixed?
The test is passing now according to the flakiness dashboard:
https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&tests=js%2Fdom%2Fscript-start-end-locations.html
Geoffrey Garen
Comment 8
2016-12-13 09:45:20 PST
Nice!
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