diff options
author | Andreas Kling <kling@serenityos.org> | 2020-06-22 18:39:22 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-06-22 19:07:25 +0200 |
commit | 9ce25bbf1d473b911c4bedaa6e7e2d52f8d7d6b9 (patch) | |
tree | c9644c5cab412804f968891114c1ec621ec6ae47 /Libraries/LibJS | |
parent | f361d25ec88fe10129764b85a8bdd205032d20c4 (diff) | |
download | serenity-9ce25bbf1d473b911c4bedaa6e7e2d52f8d7d6b9.zip |
LibWeb: Generate CanvasRenderingContext2D bindings from IDL :^)
We're still missing optional argument support, so this implementation
doesn't support fill(), only fill(fill_rule).
Still it's really nice to get rid of so much hand-written wrapper code.
Diffstat (limited to 'Libraries/LibJS')
-rw-r--r-- | Libraries/LibJS/Runtime/ErrorTypes.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Libraries/LibJS/Runtime/ErrorTypes.h b/Libraries/LibJS/Runtime/ErrorTypes.h index 34353de0f8..3dfaccdc95 100644 --- a/Libraries/LibJS/Runtime/ErrorTypes.h +++ b/Libraries/LibJS/Runtime/ErrorTypes.h @@ -143,12 +143,7 @@ /* LibWeb bindings */ \ M(BadArgCountOne, "%s() needs one argument") \ M(BadArgCountAtLeastOne, "%s() needs at least one argument") \ - M(BadArgCountMany, "%s() needs %s arguments") \ - M(DrawImageArgumentCount, "drawImage() needs three arguments") \ - M(FillBadWindingRule, "fill() winding rule must be either 'nonzero' or 'evenodd'") \ - M(FillNonString, "fill() called with non-string") \ - M(ImageIsAn, "Image is not an HTMLImageElement, it's an %s") \ - M(PutImageDataBadCall, "putImageData() called with non-ImageData") \ + M(BadArgCountMany, "%s() needs %s arguments") namespace JS { |