Range.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 Review URL: https://codereview.chromium.org/405083003 git-svn-id: svn://svn.chromium.org/blink/trunk@178610 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment