Skip to content

Commit

Permalink
getUserMedia s/PermissionDeniedError/SecurityError/.
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-ivar authored and jgraham committed Sep 23, 2015
1 parent 9b7f9ef commit e3235fb
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -26,7 +26,7 @@ <h1 class="instructions">Description</h1>
t.done();
}),
t.step_func(function (error) {
assert_equals(error.name, "PermissionDeniedError", "Permission denied error returned");
assert_equals(error.name, "SecurityError", "SecurityError returned");
assert_equals(error.constraintName, null, "constraintName attribute not set for permission denied");
t.done();
}));
Expand Down

0 comments on commit e3235fb

Please sign in to comment.