WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
140056
Modernize and streamline HTMLStackItem
https://bugs.webkit.org/show_bug.cgi?id=140056
Summary
Modernize and streamline HTMLStackItem
Darin Adler
Reported
2015-01-04 12:06:08 PST
Modernize and streamline HTMLStackItem
Attachments
Patch
(120.54 KB, patch)
2015-01-04 12:16 PST
,
Darin Adler
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ews102 for mac-mountainlion
(263.53 KB, application/zip)
2015-01-04 12:35 PST
,
Build Bot
no flags
Details
Archive of layout-test-results from ews105 for mac-mountainlion-wk2
(254.66 KB, application/zip)
2015-01-04 12:48 PST
,
Build Bot
no flags
Details
Patch
(120.51 KB, patch)
2015-01-04 16:21 PST
,
Darin Adler
no flags
Details
Formatted Diff
Diff
Patch
(120.69 KB, patch)
2015-01-05 00:37 PST
,
Darin Adler
andersca
: review+
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Darin Adler
Comment 1
2015-01-04 12:16:23 PST
Created
attachment 243936
[details]
Patch
Build Bot
Comment 2
2015-01-04 12:35:29 PST
Comment on
attachment 243936
[details]
Patch
Attachment 243936
[details]
did not pass mac-ews (mac): Output:
http://webkit-queues.appspot.com/results/5627747011395584
Number of test failures exceeded the failure limit.
Build Bot
Comment 3
2015-01-04 12:35:32 PST
Created
attachment 243938
[details]
Archive of layout-test-results from ews102 for mac-mountainlion The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews102 Port: mac-mountainlion Platform: Mac OS X 10.8.5
Build Bot
Comment 4
2015-01-04 12:48:23 PST
Comment on
attachment 243936
[details]
Patch
Attachment 243936
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
http://webkit-queues.appspot.com/results/4856332632981504
Number of test failures exceeded the failure limit.
Build Bot
Comment 5
2015-01-04 12:48:26 PST
Created
attachment 243940
[details]
Archive of layout-test-results from ews105 for mac-mountainlion-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews105 Port: mac-mountainlion-wk2 Platform: Mac OS X 10.8.5
Darin Adler
Comment 6
2015-01-04 16:21:58 PST
Created
attachment 243948
[details]
Patch
Darin Adler
Comment 7
2015-01-05 00:37:50 PST
Created
attachment 243967
[details]
Patch
Anders Carlsson
Comment 8
2015-01-05 08:24:18 PST
Comment on
attachment 243967
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=243967&action=review
> Source/WebCore/html/parser/HTMLStackItem.h:3 > + * Copyright (C) 2015 Apple Inc. All rights reserved.
Nice.
> Source/WebCore/html/parser/HTMLStackItem.h:42 > + static Ref<HTMLStackItem> create(Ref<Element>, AtomicHTMLToken&, const AtomicString& namespaceURI = HTMLNames::xhtmlNamespaceURI);
Shouldn't Ref<Element> be Ref<Element>&& here?
> Source/WebCore/html/parser/HTMLStackItem.h:64 > + HTMLStackItem(Ref<Element>, AtomicHTMLToken&, const AtomicString& namespaceURI);
And here.
Darin Adler
Comment 9
2015-01-05 09:11:39 PST
Committed
r177910
: <
http://trac.webkit.org/changeset/177910
>
Darin Adler
Comment 10
2015-01-05 09:26:40 PST
Comment on
attachment 243967
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=243967&action=review
>> Source/WebCore/html/parser/HTMLStackItem.h:42 >> + static Ref<HTMLStackItem> create(Ref<Element>, AtomicHTMLToken&, const AtomicString& namespaceURI = HTMLNames::xhtmlNamespaceURI); > > Shouldn't Ref<Element> be Ref<Element>&& here?
I guess so. Sorry missed that, so I’ll do it in a follow up.
>> Source/WebCore/html/parser/HTMLStackItem.h:64 >> + HTMLStackItem(Ref<Element>, AtomicHTMLToken&, const AtomicString& namespaceURI); > > And here.
Will do.
David Kilzer (:ddkilzer)
Comment 11
2015-01-05 10:15:26 PST
(In reply to
comment #9
)
> Committed
r177910
: <
http://trac.webkit.org/changeset/177910
>
This seems to have broken trunk iOS builds as well: Source/WebCore/html/parser/HTMLTreeBuilder.cpp:2525:111: error: indirection requires pointer operand ('WebCore::ContainerNode' invalid) if (!isParsingFragment() && m_tree.isTelephoneNumberParsingEnabled() && shouldParseTelephoneNumbersInNode(*m_tree.currentNode()) && TelephoneNumberDetector::isSupported()) ^~~~~~~~~~~~~~~~~~~~~ 1 error generated.
David Kilzer (:ddkilzer)
Comment 12
2015-01-05 11:23:41 PST
(In reply to
comment #11
)
> (In reply to
comment #9
) > > Committed
r177910
: <
http://trac.webkit.org/changeset/177910
> > > This seems to have broken trunk iOS builds as well: > > Source/WebCore/html/parser/HTMLTreeBuilder.cpp:2525:111: error: indirection > requires pointer operand ('WebCore::ContainerNode' invalid) > if (!isParsingFragment() && m_tree.isTelephoneNumberParsingEnabled() && > shouldParseTelephoneNumbersInNode(*m_tree.currentNode()) && > TelephoneNumberDetector::isSupported()) > > ^~~~~~~~~~~~~~~~~~~~~ > 1 error generated.
Attempted fix by Dan Bernstein:
http://trac.webkit.org/changeset/177916
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