New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 777219 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

run_all_fp_tests_allow_self in wpt/feature-policy/resources/featurepolicy.js should not check exception strings

Project Member Reported by raymes@chromium.org, Oct 22 2017

Issue description

Currently the feature policy test framework in wpt/feature-policy/resources/featurepolicy.js will simply verify the stringified version of an exception that may be thrown in the case of a failure. However, this is a browser-specific string. We should instead just verify the type of the exception. 
 

Comment 1 by cha...@chromium.org, Jun 21 2018

Owner: iclell...@chromium.org
iclelland@, is this is still something we'd want to address? If so, you can leave as available, otherwise close.
Yes, it's low priority, but testing the actual string results makes the tests brittle. We should just be checking that the correct exception types are thrown.
Cc: -lunalu@chromium.org loonyb...@chromium.org
Status: Assigned (was: Available)

Sign in to add a comment