DescriptionRange.compareBoundaryPoints should throw a NotSupportedError when how has not expected value
SPEC: http://dom.spec.whatwg.org/#dom-range-compareboundarypoints
This CL also added interface type checking so appropriate TypeError will be thrown.
In addition, 714 failed cases will be passed in
http://w3c-test.org/dom/ranges/Range-compareBoundaryPoints.html
TEST=LayoutTests/fast/dom/Range/compareBoundaryPoints-error.html
Behavior in other browsers.
*)FF: PASS
*)IE: FAIL
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=178610
Patch Set 1 #
Total comments: 2
Patch Set 2 : Take review comment into consideration #
Total comments: 3
Messages
Total messages: 11 (0 generated)
|