1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-07 03:12:33 +01:00

Better English in comment

This commit is contained in:
Raymond Hill 2019-03-13 17:21:30 -04:00
parent 6841e7565a
commit 9a7887eb39
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -284,8 +284,8 @@ const onBeforeBehindTheSceneRequest = function(fctxt) {
let result = 0; let result = 0;
// https://github.com/uBlockOrigin/uBlock-issues/issues/459 // https://github.com/uBlockOrigin/uBlock-issues/issues/459
// In case of a request for frame, if ever no context is specified assume // In case of a request for frame and if ever no context is specified,
// the origin of the context is the same as the request itself. // assume the origin of the context is the same as the request itself.
if ( if (
fctxt.type === 'sub_frame' && fctxt.type === 'sub_frame' &&
fctxt.getDocHostname() === 'behind-the-scene' fctxt.getDocHostname() === 'behind-the-scene'