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

Unified Diff: third_party/WebKit/Source/core/timing/PerformanceTest.cpp

Issue 2553493003: Add more detail to same-origin attribution indicating self|ancestor|descendant (Closed)
Patch Set: update layout test Created 4 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/timing/Performance.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/timing/PerformanceTest.cpp
diff --git a/third_party/WebKit/Source/core/timing/PerformanceTest.cpp b/third_party/WebKit/Source/core/timing/PerformanceTest.cpp
index 7a07e9d0537c65face1716bd1902d497815666ab..9d6d960ac23c91a360ec1f8193a7bc8074abd345 100644
--- a/third_party/WebKit/Source/core/timing/PerformanceTest.cpp
+++ b/third_party/WebKit/Source/core/timing/PerformanceTest.cpp
@@ -81,7 +81,8 @@ TEST_F(PerformanceTest, SanitizedLongTaskName) {
EXPECT_EQ("unknown", sanitizedAttribution(nullptr, false, frame()));
// Attribute for same context (and same origin).
- EXPECT_EQ("same-origin", sanitizedAttribution(document(), false, frame()));
+ EXPECT_EQ("same-origin-self",
+ sanitizedAttribution(document(), false, frame()));
// Unable to attribute, when multiple script execution contents are involved.
EXPECT_EQ("multiple-contexts",
« no previous file with comments | « third_party/WebKit/Source/core/timing/Performance.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698