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

Side by Side Diff: third_party/WebKit/Source/core/dom/shadow/FlatTreeTraversalTest.cpp

Issue 2616023004: Remove NoExceptionStateAssertionChecker (Closed)
Patch Set: temp Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "core/dom/shadow/FlatTreeTraversal.h" 5 #include "core/dom/shadow/FlatTreeTraversal.h"
6 6
7 #include "bindings/core/v8/ExceptionStatePlaceholder.h" 7 #include "bindings/core/v8/ExceptionState.h"
8 #include "core/dom/Document.h" 8 #include "core/dom/Document.h"
9 #include "core/dom/Element.h" 9 #include "core/dom/Element.h"
10 #include "core/dom/Node.h" 10 #include "core/dom/Node.h"
11 #include "core/dom/NodeTraversal.h" 11 #include "core/dom/NodeTraversal.h"
12 #include "core/dom/shadow/ShadowRoot.h" 12 #include "core/dom/shadow/ShadowRoot.h"
13 #include "core/frame/FrameView.h" 13 #include "core/frame/FrameView.h"
14 #include "core/html/HTMLElement.h" 14 #include "core/html/HTMLElement.h"
15 #include "core/testing/DummyPageHolder.h" 15 #include "core/testing/DummyPageHolder.h"
16 #include "platform/geometry/IntSize.h" 16 #include "platform/geometry/IntSize.h"
17 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
(...skipping 570 matching lines...) Expand 10 before | Expand all | Expand 10 after
588 EXPECT_EQ(slot, FlatTreeTraversal::firstChild(*parent)); 588 EXPECT_EQ(slot, FlatTreeTraversal::firstChild(*parent));
589 EXPECT_EQ(child1, FlatTreeTraversal::firstChild(*slot)); 589 EXPECT_EQ(child1, FlatTreeTraversal::firstChild(*slot));
590 EXPECT_EQ(child2, FlatTreeTraversal::nextSibling(*child1)); 590 EXPECT_EQ(child2, FlatTreeTraversal::nextSibling(*child1));
591 EXPECT_EQ(nullptr, FlatTreeTraversal::nextSibling(*child2)); 591 EXPECT_EQ(nullptr, FlatTreeTraversal::nextSibling(*child2));
592 EXPECT_EQ(slot, FlatTreeTraversal::parent(*child1)); 592 EXPECT_EQ(slot, FlatTreeTraversal::parent(*child1));
593 EXPECT_EQ(slot, FlatTreeTraversal::parent(*child2)); 593 EXPECT_EQ(slot, FlatTreeTraversal::parent(*child2));
594 EXPECT_EQ(parent, FlatTreeTraversal::parent(*slot)); 594 EXPECT_EQ(parent, FlatTreeTraversal::parent(*slot));
595 } 595 }
596 596
597 } // namespace blink 597 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/Text.cpp ('k') | third_party/WebKit/Source/core/dom/shadow/SlotScopedTraversalTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698