/*******************************************************************************************************************************
 * It's Browser Time!
 *
 *
 * Copyright (C) 2013 by Tobias Lidskog (https://twitter.com/tobiaslidskog) &  Peter Hedenskog (http://peterhedenskog.com)
 *
 ********************************************************************************************************************************
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in 
 * compliance with the License. You may obtain a copy of the License at
 *
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under the License is 
 * distributed  on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   
 * See the License for the specific language governing permissions and limitations under the License.
 *
 ********************************************************************************************************************************
 */
package com.soulgalore.web.browsertime.datacollector;

import com.soulgalore.web.browsertime.timings.TimingMark;
import com.soulgalore.web.browsertime.timings.TimingRun;
import org.openqa.selenium.Capabilities;
import org.openqa.selenium.JavascriptExecutor;
import org.openqa.selenium.ie.InternetExplorerDriver;
import org.openqa.selenium.remote.DesiredCapabilities;

/**
 * http://msdn.microsoft.com/en-us/library/ie/ff974719(v=vs.85).aspx
 */
public class InternetExplorerDataCollector extends TimingDataCollector {

    public Capabilities getCapabilities() {
        DesiredCapabilities capabilities = new DesiredCapabilities();

        capabilities.setCapability(InternetExplorerDriver.IE_ENSURE_CLEAN_SESSION, true);

        return capabilities;
    }

    @Override
    public void collectMarks(JavascriptExecutor js, TimingRun results) {
        super.collectMarks(js, results);

        Long time = (Long) js.executeScript("return window.performance.timing.msFirstPaint");
        results.addMark(new TimingMark("msFirstPaint", time));
    }

    @Override
    public void collectMeasurements(JavascriptExecutor js, TimingRun results) {
        MarkInterval interval = new MarkInterval("firstPaint", "navigationStart", "msFirstPaint");
        interval.collectMeasurement(results);
    }

}

@@ -1302,570 +1302,178 @@
 ium.
-Capabilities;%0Aimport org.openqa.selenium.JavascriptExecutor;%0Aimport org.openqa.selenium.ie.InternetExplorerDriver;%0Aimport org.openqa.selenium.remote.DesiredCapabilities;%0A%0A/**%0A * http://msdn.microsoft.com/en-us/library/ie/ff974719(v=vs.85).aspx%0A */%0Apublic class InternetExplorerDataCollector extends TimingDataCollector %7B%0A%0A    public Capabilities getCapabilities() %7B%0A        DesiredCapabilities capabilities = new DesiredCapabilities();%0A%0A        capabilities.setCapability(InternetExplorerDriver.IE_ENSURE_CLEAN_SESSION, true);%0A%0A        return capabilities;%0A    %7D
+JavascriptExecutor;%0A%0A/**%0A * http://msdn.microsoft.com/en-us/library/ie/ff974719(v=vs.85).aspx%0A */%0Apublic class InternetExplorerDataCollector extends TimingDataCollector %7B
 %0A%0A  

Remove experimental code that shouldn't have been checked in.