Changeset 208917 in webkit
- Timestamp:
- Nov 18, 2016, 8:25:38 PM (9 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r208915 r208917 1 2016-11-18 Chris Dumez <cdumez@apple.com> 2 3 Unreviewed, rolling out r208837. 4 5 The bots did not show a progression 6 7 Reverted changeset: 8 9 "REGRESSION(r208082): 1% Speedometer regression on iOS" 10 https://bugs.webkit.org/show_bug.cgi?id=164852 11 http://trac.webkit.org/changeset/208837 12 1 13 2016-11-18 Dean Jackson <dino@apple.com> 2 14 -
trunk/LayoutTests/TestExpectations
r208915 r208917 972 972 imported/blink/http/tests/security/shape-image-cors-port.html [ ImageOnlyFailure ] 973 973 974 # Many custom Elements tests are temporarily skipped per https://webkit.org/b/164852975 fast/custom-elements/defined-pseudo-class.html [ Failure ]976 fast/custom-elements/reactions-for-indieui.html [ Failure ]977 fast/custom-elements/reactions-for-webkit-extensions.html [ Failure ]978 imported/w3c/web-platform-tests/custom-elements/CustomElementRegistry.html [ Failure ]979 imported/w3c/web-platform-tests/custom-elements/adopted-callback.html [ Failure ]980 imported/w3c/web-platform-tests/custom-elements/attribute-changed-callback.html [ Failure ]981 imported/w3c/web-platform-tests/custom-elements/connected-callbacks.html [ Failure ]982 imported/w3c/web-platform-tests/custom-elements/custom-element-reaction-queue.html [ Failure ]983 imported/w3c/web-platform-tests/custom-elements/disconnected-callbacks.html [ Failure ]984 imported/w3c/web-platform-tests/custom-elements/reaction-timing.html [ Failure ]985 imported/w3c/web-platform-tests/custom-elements/reactions/Attr.html [ Failure ]986 imported/w3c/web-platform-tests/custom-elements/reactions/CSSStyleDeclaration.html [ Failure ]987 imported/w3c/web-platform-tests/custom-elements/reactions/ChildNode.html [ Failure ]988 imported/w3c/web-platform-tests/custom-elements/reactions/DOMStringMap.html [ Failure ]989 imported/w3c/web-platform-tests/custom-elements/reactions/DOMTokenList.html [ Failure ]990 imported/w3c/web-platform-tests/custom-elements/reactions/Document.html [ Failure ]991 imported/w3c/web-platform-tests/custom-elements/reactions/Element.html [ Failure ]992 imported/w3c/web-platform-tests/custom-elements/reactions/ElementContentEditable.html [ Failure ]993 imported/w3c/web-platform-tests/custom-elements/reactions/HTMLAnchorElement.html [ Failure ]994 imported/w3c/web-platform-tests/custom-elements/reactions/HTMLElement.html [ Failure ]995 imported/w3c/web-platform-tests/custom-elements/reactions/HTMLOptionElement.html [ Failure ]996 imported/w3c/web-platform-tests/custom-elements/reactions/HTMLOptionsCollection.html [ Failure ]997 imported/w3c/web-platform-tests/custom-elements/reactions/HTMLOutputElement.html [ Failure ]998 imported/w3c/web-platform-tests/custom-elements/reactions/HTMLSelectElement.html [ Failure ]999 imported/w3c/web-platform-tests/custom-elements/reactions/HTMLTableElement.html [ Failure ]1000 imported/w3c/web-platform-tests/custom-elements/reactions/HTMLTableRowElement.html [ Failure ]1001 imported/w3c/web-platform-tests/custom-elements/reactions/HTMLTableSectionElement.html [ Failure ]1002 imported/w3c/web-platform-tests/custom-elements/reactions/HTMLTitleElement.html [ Failure ]1003 imported/w3c/web-platform-tests/custom-elements/reactions/NamedNodeMap.html [ Failure ]1004 imported/w3c/web-platform-tests/custom-elements/reactions/Node.html [ Failure ]1005 imported/w3c/web-platform-tests/custom-elements/reactions/ParentNode.html [ Failure ]1006 imported/w3c/web-platform-tests/custom-elements/reactions/Range.html [ Failure ]1007 imported/w3c/web-platform-tests/custom-elements/reactions/Selection.html [ Failure ]1008 imported/w3c/web-platform-tests/custom-elements/reactions/ShadowRoot.html [ Failure ]1009 imported/w3c/web-platform-tests/custom-elements/upgrading.html [ Failure ]1010 imported/w3c/web-platform-tests/custom-elements/upgrading/Node-cloneNode.html [ Failure ]1011 imported/w3c/web-platform-tests/custom-elements/upgrading/upgrading-enqueue-reactions.html [ Failure ]1012 imported/w3c/web-platform-tests/custom-elements/upgrading/upgrading-parser-created-element.html [ Failure ]1013 1014 974 webkit.org/b/163636 media/modern-media-controls/media-controller/media-controller-resize.html [ Pass Failure Timeout ] 1015 975 -
trunk/Source/WebCore/ChangeLog
r208916 r208917 1 2016-11-18 Chris Dumez <cdumez@apple.com> 2 3 Unreviewed, rolling out r208837. 4 5 The bots did not show a progression 6 7 Reverted changeset: 8 9 "REGRESSION(r208082): 1% Speedometer regression on iOS" 10 https://bugs.webkit.org/show_bug.cgi?id=164852 11 http://trac.webkit.org/changeset/208837 12 1 13 2016-11-18 Simon Fraser <simon.fraser@apple.com> 2 14 -
trunk/Source/WebCore/dom/CustomElementReactionQueue.cpp
r208837 r208917 206 206 inline void CustomElementReactionStack::ElementQueue::add(Element& element) 207 207 { 208 RELEASE_ASSERT(!m_invoking); 208 209 // FIXME: Avoid inserting the same element multiple times. 209 210 m_elements.append(element); … … 212 213 inline void CustomElementReactionStack::ElementQueue::invokeAll() 213 214 { 215 #if !ASSERT_DISABLED 216 RELEASE_ASSERT(!m_invoking); 217 TemporaryChange<bool> invoking(m_invoking, true); 218 #endif 214 219 Vector<Ref<Element>> elements; 215 220 elements.swap(m_elements); 221 RELEASE_ASSERT(m_elements.isEmpty()); 216 222 for (auto& element : elements) { 217 223 auto* queue = element->reactionQueue(); … … 219 225 queue->invokeAll(element.get()); 220 226 } 227 RELEASE_ASSERT(m_elements.isEmpty()); 221 228 } 222 229 -
trunk/Source/WebCore/dom/CustomElementReactionQueue.h
r208837 r208917 64 64 public: 65 65 CustomElementReactionStack() 66 : m_previousProcessingStack(s_currentProcessingStack) 66 67 { 68 s_currentProcessingStack = this; 67 69 } 68 70 69 71 ~CustomElementReactionStack() 70 72 { 73 if (UNLIKELY(m_queue)) 74 processQueue(); 75 s_currentProcessingStack = m_previousProcessingStack; 71 76 } 72 77 … … 85 90 private: 86 91 Vector<Ref<Element>> m_elements; 92 bool m_invoking { false }; 87 93 }; 88 94 … … 93 99 94 100 ElementQueue* m_queue { nullptr }; 101 CustomElementReactionStack* m_previousProcessingStack; 95 102 96 103 WEBCORE_EXPORT static CustomElementReactionStack* s_currentProcessingStack;
Note:
See TracChangeset
for help on using the changeset viewer.