Skip to content

Commit 54544ac

Browse files
committed
[cssom] MediaList.deleteMedium can throw
Fixes #696
1 parent a59ee43 commit 54544ac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cssom/Overview.bs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -502,6 +502,7 @@ The <dfn method for=MediaList>deleteMedium(<var>medium</var>)</dfn> method must
502502
<li>If <var>m</var> is null terminate these steps.
503503
<li>Remove any media query from the <a>collection of media queries</a> for which
504504
<a lt="compare media queries">comparing</a> the media query with <var>m</var> returns true.
505+
If nothing was removed, then <a>throw</a> a {{NotFoundError}} exception.
505506
</ol>
506507

507508
Selectors {#selectors}

0 commit comments

Comments
 (0)