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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/geometry-interfaces-dom-point.html

Issue 2606763002: Delete DOMPoint constructor using DOMPointInit as parameter. (Closed)
Patch Set: Delete DOMPoint constructor using DOMPointInit as parameter. Created 3 years, 12 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/DOMPoint.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/dom/geometry-interfaces-dom-point.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/geometry-interfaces-dom-point.html b/third_party/WebKit/LayoutTests/fast/dom/geometry-interfaces-dom-point.html
index 4b59f95b0497f37db871449835a8b9110b93925e..89f353b36e577ab1bb0a8a69762aaf2af6e97587 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/geometry-interfaces-dom-point.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/geometry-interfaces-dom-point.html
@@ -24,31 +24,6 @@ test(() => {
}, 'DOMPoint constructor with x, y, z, w parameters');
test(() => {
- var point = new DOMPoint({x: 2});
- assert_dom_point_equals(point, [2, 0, 0, 1]);
-}, 'DOMPoint constructor with x parameter');
-
-test(() => {
- var point = new DOMPoint({y: 2});
- assert_dom_point_equals(point, [0, 2, 0, 1]);
-}, 'DOMPoint constructor with y parameter');
-
-test(() => {
- var point = new DOMPoint({z: 2});
- assert_dom_point_equals(point, [0, 0, 2, 1]);
-}, 'DOMPoint constructor with z parameter');
-
-test(() => {
- var point = new DOMPoint({w: 2});
- assert_dom_point_equals(point, [0, 0, 0, 2]);
-}, 'DOMPoint constructor with w parameter');
-
-test(() => {
- var point = new DOMPoint({x: 2, y: 3, z: 4, w: 5});
- assert_dom_point_equals(point, [2, 3, 4, 5]);
-}, 'DOMPoint constructor with x, y, z, w parameters');
-
-test(() => {
var point = new DOMPoint();
assert_dom_point_equals(point, [0, 0, 0, 1]);
}, 'DOMPoint constructor without parameter');
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/DOMPoint.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698