[WK2] Wrong scroll position when going back in history
https://bugs.webkit.org/show_bug.cgi?id=101358

Patch by Yael Aharon <yael.aharon@intel.com> on 2012-11-06
Reviewed by Kenneth Rohde Christiansen.

Reset the contentsSize after a new load was committed. We should not continue
to use the contentsSize of the previous page in any calculation.

* UIProcess/PageViewportController.cpp:
(WebKit::PageViewportController::didCommitLoad):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133659 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Implement MediaPlayerPrivate::didLoadingProgress for BlackBerry platform
https://bugs.webkit.org/show_bug.cgi?id=100378

Patch by John Griggs <jgriggs@rim.com> on 2012-11-06
Reviewed by Eric Carlson.

Implement this method for BlackBerry platform.

New test: LayoutTests/media/progress-events-generated-correctly.html

Source/WebCore:

* platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp:
(WebCore::MediaPlayerPrivate::MediaPlayerPrivate):
(WebCore::MediaPlayerPrivate::didLoadingProgress):
* platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.h:
(MediaPlayerPrivate):

LayoutTests:

* media/progress-events-generated-correctly-expected.txt: Added.
* media/progress-events-generated-correctly.html: Added.
* platform/chromium/TestExpectations:
* platform/mac/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133660 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Indentation of JSCell.h is wrong
https://bugs.webkit.org/show_bug.cgi?id=101379

Rubber stamped by Alexey Proskuryakov.

Just removed four spaces on a bunch of lines.

* runtime/JSCell.h:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133661 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed chromium, chromium-mac-mountainlion gardening

Remove a bunch of passing tests, and clean up a couple of ML issues.

* platform/chromium-mac-lion/media/track/track-cue-rendering-horizontal-expected.png: Removed.
* platform/chromium-mac-lion/media/track/track-cue-rendering-horizontal-expected.txt: Removed.
* platform/chromium-mac/media/track/track-cue-rendering-horizontal-expected.png:
* platform/chromium-mac/media/track/track-cue-rendering-horizontal-expected.txt:
* platform/chromium/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133663 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Some cookie code cleanup
https://bugs.webkit.org/show_bug.cgi?id=101375

Reviewed by Dan Bernstein.

* platform/CookieJar.h: Fixed style. Grouped functions by which storage they operate
on in Mac port, but didn't add explanatory comments yet, because this is different
in some ports.

* platform/mac/CookieJar.mm:
(WebCore): Removed special code for isHTTPOnly, it's present in Foundation in all
supported OS X versions.
(WebCore::filterCookies): Use -isHTTPOnly directly.
(WebCore::cookies): Get rid of a variable for URL, implicit conversion works just as well.
(WebCore::cookieRequestHeaderFieldValue): Ditto.
(WebCore::setCookies): Assert that no more than one cookie was created from one
Set-Cookie header, document.cookie can only be used to set one cookie at a time.
(WebCore::getRawCookies): Removed useless local variables.

* platform/network/CookieStorage.h: Removed an unneeded include, clarified a comment.

* platform/network/HTTPHeaderMap.h: Added a FIXME.


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