CSC/ECE 517 Spring 2016/Implement private browsing

From Expertiza_Wiki
Jump to navigation Jump to search

Implementation

The following steps were followed to meet the project requirements as per this [1].

Step 1

As required we have added the is_private member to the struct IFrameLoadInfo to check if it's a private iframe or not


We are working on implementing the function to set this member based on the mozprivatebrowsing attribute. We are in touch with Josh regarding the same as currently there is no mozprivatebrowsing attribute in the servo project and hence we are trying to understand how it can be implemented. We have written a basic stub for the same which is as below.

Step 2

We have created an enum that holds an isPrivate message containing pipelineId and sender as attributes

The below member has been added to the pipeline struct to check if it's private

Step 2

We are working on implementing the below function to check if the pipeline is private