×

Managing browser security in a testing context

  • US 10,097,565 B1
  • Filed: 06/24/2014
  • Issued: 10/09/2018
  • Est. Priority Date: 06/24/2014
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method for managing network document browser security in a testing context, comprising:

  • as part of a test of a network document browser configured at least to associate different network regions with different security contexts maintained by the network document browser, the network document browser maintaining individual execution sandboxes corresponding to individual security contexts such that executable components executing in a first security context are inhibited from replacing interface elements with executable components executing in a second security context,receiving, by a computer system, a first content request from the network document browser for first network content associated with a first network region;

    determining, by the computer system, an optimized first set of pre-assembled executable components configured to at least partially implement the test when executed in an execution environment of the network document browser based at least in part on a set of evaluation parameters used to evaluate a set of conditions, the determining including mapping the set of evaluation parameters to a set of client events configured to provide the set of evaluation parameters, and mapping the set of client events to the first set of pre-assembled executable components;

    injecting the first set of pre-assembled executable components into the execution environment of the network document browser, the first set of pre-assembled executable components being executed in the first security context of the execution environment and including a set of test condition evaluation components and a set of network document browser event capture components configured to obtain information to facilitate evaluation of the test with the set of test condition evaluation components;

    detecting, with the first set of pre-assembled executable components executing in the first security context of the execution environment, that the test code, when executed in the first security context of the execution environment, will cause creation of the second security context for at least a portion of test code;

    modifying the at least a portion of the test code to include one or more of the first set of pre-assembled executable components configured at least to communicate information from the second security context to the first security context when the one or more of the first set of pre-assembled executable components are executed in the second security context along with the at least a portion of the test code; and

    determining a test result based at least in part on the information communicated from the second security context.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×