Most browsers these days are implementing hardware acceleration, and due to OS X's way of determining whether the discrete graphics should be used or not, it will switch over.
Unless Apple create some way for developers to specify that the discrete graphics card is not required when making specific API calls that normally trigger the switch, it's going to happen more frequently, especially as apps are updated to support retina displays. (apps will benefit from graphics acceleration much more at higher resolutions)