Skip to content

Commit 721840d

Browse files
committed
Fix error message
1 parent af8d7c7 commit 721840d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/har-driver-actor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ function ExportDriverApi(actor) {
276276
function securityCheck(method) {
277277
return function(options) {
278278
if (options.token != actor.token) {
279-
let pref = "devtools.netmonitor.har.contentAPIToken";
279+
let pref = "extensions.netmonitor.har.contentAPIToken";
280280
let msg = "Security check didn't pass. You need to set '" +
281281
pref + "' pref to match the string token passed into " +
282282
"HAR object API call (browser restart is required)";

0 commit comments

Comments
 (0)