WebKit should not write WKPreferences to app user defaults when using the ObjC API
<rdar://problem/13593578>
https://bugs.webkit.org/show_bug.cgi?id=114821

Reviewed by Anders Carlsson.

* UIProcess/API/mac/WKBrowsingContextGroup.mm:
(-[WKBrowsingContextGroup initWithIdentifier:]):
Use a identifier-less preferences for the ObjC-API. I think we will probably want this
to be the default for the C-API at some point as well, but Safari currently uses this
behavior.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148686 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Forced subtitles never rendered
https://bugs.webkit.org/show_bug.cgi?id=114818

Source/WebCore: 

Reviewed by Jer Noble.

No new tests, media/track/track-forced-subtitles-in-band.html was updated to test this change.

* html/track/TextTrack.cpp:
(WebCore::TextTrack::isRendered): "forced" tracks are rendered.

LayoutTests: 

Update test to check that a forced cue is rendered.

Reviewed by Jer Noble.

* media/track/track-forced-subtitles-in-band-expected.txt:
* media/track/track-forced-subtitles-in-band.html:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148688 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix spelling I thought I had fixed.

* UIProcess/API/mac/WKBrowsingContextGroup.mm:
(-[WKBrowsingContextGroup initWithIdentifier:]):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148689 268f45cc-cd09-0410-ab3c-d52691b4dbfc