Skip to content

Commit

Permalink
feat: use absolute URL for EVALUATION_SCRIPT_URL
Browse files Browse the repository at this point in the history
  • Loading branch information
YusukeIwaki committed Jun 20, 2022
1 parent 7f419cf commit c5d4e41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/puppeteer/execution_context.rb
Expand Up @@ -2,7 +2,7 @@ class Puppeteer::ExecutionContext
include Puppeteer::IfPresent
using Puppeteer::DefineAsyncMethod

EVALUATION_SCRIPT_URL = '__puppeteer_evaluation_script__'
EVALUATION_SCRIPT_URL = 'pprt://__puppeteer_evaluation_script__'
SOURCE_URL_REGEX = /^[\040\t]*\/\/[@#] sourceURL=\s*(\S*?)\s*$/m

# @param client [Puppeteer::CDPSession]
Expand Down

0 comments on commit c5d4e41

Please sign in to comment.