WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
39916
Make more HTML DOM members private, especially constructors, third and final batch
https://bugs.webkit.org/show_bug.cgi?id=39916
Summary
Make more HTML DOM members private, especially constructors, third and final ...
Darin Adler
Reported
2010-05-28 16:58:48 PDT
Make more HTML DOM members private, especially constructors, third and final batch
Attachments
Patch
(177.24 KB, patch)
2010-05-28 17:16 PDT
,
Darin Adler
sam
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Darin Adler
Comment 1
2010-05-28 17:16:15 PDT
Created
attachment 57396
[details]
Patch
WebKit Review Bot
Comment 2
2010-05-28 19:00:08 PDT
Attachment 57396
[details]
did not build on chromium: Build output:
http://webkit-commit-queue.appspot.com/results/2592059
WebKit Review Bot
Comment 3
2010-05-28 23:24:43 PDT
Attachment 57396
[details]
did not build on win: Build output:
http://webkit-commit-queue.appspot.com/results/2657012
Sam Weinig
Comment 4
2010-05-29 21:13:56 PDT
Comment on
attachment 57396
[details]
Patch JavaScriptCore/wtf/OwnArrayPtr.h:2 + * Copyright (C) 2006, 2010 Apple Inc. All righs reserved. Typo: All rights reserved. WebCore/editing/DeleteButton.cpp:57 + return; Is this a functional change, or just an optimization? Since it seems quite unrelated, it might make sense to do it in another patch. (We don't have any DeleteButton tests do we? WebCore/html/HTMLFrameSetElement.h:91 + OwnArrayPtr<Length> m_colLengths; Where is OwnArrayPtr.h getting pulled in from? WebCore/rendering/TextControlInnerElements.cpp:183 + return; Same question here about behavior change as the other defaultEventHandler change. This is in a few more places as well. r=me. It seems like some of the EWS are not happy, so if you can divine their complaints, that might be helpful before landing.
Darin Adler
Comment 5
2010-05-30 11:33:17 PDT
(In reply to
comment #4
)
> JavaScriptCore/wtf/OwnArrayPtr.h:2 > + * Copyright (C) 2006, 2010 Apple Inc. All righs reserved. > Typo: All rights reserved.
Thanks. I fixed that and landed just this change as <
http://trac.webkit.org/changeset/60417
>.
> WebCore/editing/DeleteButton.cpp:57 > + return; > Is this a functional change, or just an optimization? Since it seems quite unrelated, it might make sense to do it in another patch. (We don't have any DeleteButton tests do we?
I’ll roll that out and replace it with a FIXME. Generally speaking default event handlers should return and not call through to the base class when they handle the default, but clearly I should not mix any changes of that type in with this change.
> WebCore/html/HTMLFrameSetElement.h:91 > + OwnArrayPtr<Length> m_colLengths; > Where is OwnArrayPtr.h getting pulled in from?
Good point. No idea. I’ll add the include.
> WebCore/rendering/TextControlInnerElements.cpp:183 > + return; > Same question here about behavior change as the other defaultEventHandler change. This is in a few more places as well.
I’ll roll all this out.
> r=me. It seems like some of the EWS are not happy, so if you can divine their complaints, that might be helpful before landing.
Thanks. The Chromium-Linux failure seems to just be the lack of OwnArrayPtr.h include. The Qt and Windows failures are mysterious.
Darin Adler
Comment 6
2010-05-30 13:27:05 PDT
(In reply to
comment #5
)
> > WebCore/rendering/TextControlInnerElements.cpp:183 > > + return; > > Same question here about behavior change as the other defaultEventHandler change. This is in a few more places as well. > > I’ll roll all this out.
These other changes were not behavior changes. I just made the logic more idiomatic as opposed to the old code which checked defaultHandled explicitly later in the function instead of the usual style. I'll keep them.
Darin Adler
Comment 7
2010-05-30 13:28:43 PDT
(In reply to
comment #6
)
> I'll keep them.
Changed my mind again. I'll roll them back and do this change later if needed.
Darin Adler
Comment 8
2010-05-30 14:23:14 PDT
Committed
r60418
: <
http://trac.webkit.org/changeset/60418
>
WebKit Review Bot
Comment 9
2010-05-30 14:39:26 PDT
http://trac.webkit.org/changeset/60418
might have broken Chromium Linux Release
Daniel Bates
Comment 10
2010-05-30 15:31:17 PDT
(In reply to
comment #9
)
>
http://trac.webkit.org/changeset/60418
might have broken Chromium Linux Release
This change broke the Apple Windows bots, all the Qt bots, and all the Chromium bots.
Daniel Bates
Comment 11
2010-05-30 15:36:07 PDT
Prepared rollout <
https://bugs.webkit.org/show_bug.cgi?id=39937
> while I look to see if this is straight forward to repair online.
Daniel Bates
Comment 12
2010-05-30 16:59:12 PDT
Committed attempt to fix the build in change set 60419 <
http://trac.webkit.org/changeset/60419
>.
Darin Adler
Comment 13
2010-05-30 20:33:11 PDT
(In reply to
comment #12
)
> Committed attempt to fix the build in change set 60419 <
http://trac.webkit.org/changeset/60419
>.
Thanks very much, Daniel, for fixing this instead of rolling it out!
Daniel Bates
Comment 14
2010-05-31 11:45:04 PDT
(In reply to
comment #13
)
> (In reply to
comment #12
) > > Committed attempt to fix the build in change set 60419 <
http://trac.webkit.org/changeset/60419
>. > > Thanks very much, Daniel, for fixing this instead of rolling it out!
No problem.
Daniel Bates
Comment 15
2010-05-31 11:48:13 PDT
For historical bookkeeping, I also committed change-set 60420 <
http://trac.webkit.org/changeset/60420
> to fix the build. And, committed change-set 60444 <
http://trac.webkit.org/changeset/60444
> to add my commit messages for
r60419
, and
r60420
to the change logs.
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