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

Side by Side Diff: LayoutTests/fast/canvas/canvas-hit-regions-basic-test-expected.txt

Issue 767313003: IDL dictionary: Throw a TypeError when an interface member conversion fails (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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 unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/dom/idl-dictionary-unittest.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Hit detection and mouse event tests 1 Hit detection and mouse event tests
2 PASS clickCanvas(100, 100) is 'face' 2 PASS clickCanvas(100, 100) is 'face'
3 PASS clickCanvas(200, 200) is 'nose' 3 PASS clickCanvas(200, 200) is 'nose'
4 PASS clickCanvas(127, 242) is 'mouth' 4 PASS clickCanvas(127, 242) is 'mouth'
5 PASS clickCanvas(150, 125) is 'eye' 5 PASS clickCanvas(150, 125) is 'eye'
6 PASS clickCanvas(250, 125) is 'eye' 6 PASS clickCanvas(250, 125) is 'eye'
7 PASS clickCanvas(200, 125) is 'face' 7 PASS clickCanvas(200, 125) is 'face'
8 PASS clickCanvas(20, 10) is null 8 PASS clickCanvas(20, 10) is null
9 9
10 NotSupportedError exception tests 10 NotSupportedError exception tests
11 PASS context.addHitRegion() threw exception NotSupportedError: Failed to execute 'addHitRegion' on 'CanvasRenderingContext2D': Both id and control are null.. 11 PASS context.addHitRegion() threw exception NotSupportedError: Failed to execute 'addHitRegion' on 'CanvasRenderingContext2D': Both id and control are null..
12 PASS context.addHitRegion({ id : '' }) threw exception NotSupportedError: Failed to execute 'addHitRegion' on 'CanvasRenderingContext2D': Both id and control ar e null.. 12 PASS context.addHitRegion({ id : '' }) threw exception NotSupportedError: Failed to execute 'addHitRegion' on 'CanvasRenderingContext2D': Both id and control ar e null..
13 PASS context.addHitRegion({ id : undefined }) threw exception NotSupportedError: Failed to execute 'addHitRegion' on 'CanvasRenderingContext2D': Both id and con trol are null.. 13 PASS context.addHitRegion({ id : undefined }) threw exception NotSupportedError: Failed to execute 'addHitRegion' on 'CanvasRenderingContext2D': Both id and con trol are null..
14 PASS context.addHitRegion({ control : {} }) threw exception NotSupportedError: F ailed to execute 'addHitRegion' on 'CanvasRenderingContext2D': Both id and contr ol are null.. 14 PASS context.addHitRegion({ control : {} }) threw exception TypeError: Failed to execute 'addHitRegion' on 'CanvasRenderingContext2D': member control is not of type Element..
15 PASS context.addHitRegion({ control : null }) threw exception NotSupportedError: Failed to execute 'addHitRegion' on 'CanvasRenderingContext2D': Both id and con trol are null.. 15 PASS context.addHitRegion({ control : null }) threw exception NotSupportedError: Failed to execute 'addHitRegion' on 'CanvasRenderingContext2D': Both id and con trol are null..
16 PASS context.addHitRegion({ control : undefined }) threw exception NotSupportedE rror: Failed to execute 'addHitRegion' on 'CanvasRenderingContext2D': Both id an d control are null.. 16 PASS context.addHitRegion({ control : undefined }) threw exception NotSupportedE rror: Failed to execute 'addHitRegion' on 'CanvasRenderingContext2D': Both id an d control are null..
17 PASS context.addHitRegion({ id : '', control : {} }) threw exception NotSupporte dError: Failed to execute 'addHitRegion' on 'CanvasRenderingContext2D': Both id and control are null.. 17 PASS context.addHitRegion({ id : '', control : {} }) threw exception TypeError: Failed to execute 'addHitRegion' on 'CanvasRenderingContext2D': member control i s not of type Element..
18 PASS context.addHitRegion({ id : undefined, control : {} }) threw exception NotS upportedError: Failed to execute 'addHitRegion' on 'CanvasRenderingContext2D': B oth id and control are null.. 18 PASS context.addHitRegion({ id : undefined, control : {} }) threw exception Type Error: Failed to execute 'addHitRegion' on 'CanvasRenderingContext2D': member co ntrol is not of type Element..
19 PASS context.addHitRegion({ id : '', control : null }) threw exception NotSuppor tedError: Failed to execute 'addHitRegion' on 'CanvasRenderingContext2D': Both i d and control are null.. 19 PASS context.addHitRegion({ id : '', control : null }) threw exception NotSuppor tedError: Failed to execute 'addHitRegion' on 'CanvasRenderingContext2D': Both i d and control are null..
20 PASS context.addHitRegion({ id : undefined, control : null }) threw exception No tSupportedError: Failed to execute 'addHitRegion' on 'CanvasRenderingContext2D': Both id and control are null.. 20 PASS context.addHitRegion({ id : undefined, control : null }) threw exception No tSupportedError: Failed to execute 'addHitRegion' on 'CanvasRenderingContext2D': Both id and control are null..
21 PASS context.addHitRegion({ id : '', control : undefined }) threw exception NotS upportedError: Failed to execute 'addHitRegion' on 'CanvasRenderingContext2D': B oth id and control are null.. 21 PASS context.addHitRegion({ id : '', control : undefined }) threw exception NotS upportedError: Failed to execute 'addHitRegion' on 'CanvasRenderingContext2D': B oth id and control are null..
22 PASS context.addHitRegion({ id : undefined, control : undefined }) threw excepti on NotSupportedError: Failed to execute 'addHitRegion' on 'CanvasRenderingContex t2D': Both id and control are null.. 22 PASS context.addHitRegion({ id : undefined, control : undefined }) threw excepti on NotSupportedError: Failed to execute 'addHitRegion' on 'CanvasRenderingContex t2D': Both id and control are null..
23 23
24 PASS successfullyParsed is true 24 PASS successfullyParsed is true
25 25
26 TEST COMPLETE 26 TEST COMPLETE
27 27
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/idl-dictionary-unittest.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698