Skip to content

Commit 7518267

Browse files
author
Max Schaefer
authored
Merge pull request #257 from xiemaisi/js/fix-DOMException-model
JavaScript: Update model of `DOMException`.
2 parents 9ffdf3b + 8cc7f5c commit 7518267

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

javascript/externs/web/w3c_dom1.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,11 @@
2525

2626
/**
2727
* @constructor
28+
* @param {string=} message
29+
* @param {string=} message
2830
* @see http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core.html#ID-17189187
2931
*/
30-
function DOMException() {}
32+
function DOMException(message, name) {}
3133

3234
/**
3335
* @type {number}

0 commit comments

Comments
 (0)