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

Unified Diff: third_party/WebKit/Source/core/html/HTMLIFrameElementTest.cpp

Issue 2733823004: Remove old permission delegation prototype (Closed)
Patch Set: update webexposed layout tests Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/html/HTMLIFrameElementTest.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLIFrameElementTest.cpp b/third_party/WebKit/Source/core/html/HTMLIFrameElementTest.cpp
index 765ef853669fc0ba9c16f815ff4761dfcf631bec..a84b500923b0daf1c5ecc67466fd7252fe6b20e4 100644
--- a/third_party/WebKit/Source/core/html/HTMLIFrameElementTest.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLIFrameElementTest.cpp
@@ -9,26 +9,6 @@
namespace blink {
-// Test setting permission via the Element attribute (HTML codepath).
-TEST(HTMLIFrameElementTest, SetPermissionsAttribute) {
- Document* document = Document::create();
- HTMLIFrameElement* iframe = HTMLIFrameElement::create(*document);
-
- iframe->setAttribute(HTMLNames::permissionsAttr, "geolocation");
- EXPECT_EQ("geolocation", iframe->permissions()->value());
- iframe->setAttribute(HTMLNames::permissionsAttr, "geolocation notifications");
- EXPECT_EQ("geolocation notifications", iframe->permissions()->value());
-}
-
-// Test setting permission via the DOMTokenList (JS codepath).
-TEST(HTMLIFrameElementTest, SetPermissionsAttributeJS) {
- Document* document = Document::create();
- HTMLIFrameElement* iframe = HTMLIFrameElement::create(*document);
-
- iframe->permissions()->setValue("midi");
- EXPECT_EQ("midi", iframe->getAttribute(HTMLNames::permissionsAttr));
-}
-
// Test setting feature policy via the Element attribute (HTML codepath).
TEST(HTMLIFrameElementTest, SetAllowAttribute) {
Document* document = Document::create();

Powered by Google App Engine
This is Rietveld 408576698