Code cleanup: remove gcc<4.7 guards.
https://bugs.webkit.org/show_bug.cgi?id=128729

Patch by Tamas Gergely <tgergely.u-szeged@partner.samsung.com> on 2014-02-13
Reviewed by Anders Carlsson.

Remove GCC_VERSION_AT_LEAST guards when it checks for pre-4.7 versions,
as WK does not compile with earlier gcc versions.

Source/JavaScriptCore:

* assembler/MIPSAssembler.h:
(JSC::MIPSAssembler::cacheFlush):
* interpreter/StackVisitor.cpp:
(JSC::printif):

Source/WTF:

* wtf/Assertions.cpp:
* wtf/Platform.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@164032 268f45cc-cd09-0410-ab3c-d52691b4dbfc
IDB: TestExpectations batch - "transaction-abort.html to versionchangerequest-activedomobject.html”

Unreviewed.

* platform/mac-wk2/TestExpectations:
* storage/indexeddb/transaction-active-flag-expected.txt:
* storage/indexeddb/transaction-after-close-expected.txt:
* storage/indexeddb/transaction-read-only-expected.txt:
* storage/indexeddb/transaction-storeNames-required-expected.txt:
* storage/indexeddb/version-change-abort-expected.txt:
* storage/indexeddb/version-change-exclusive-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@164033 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove the last remnants of Maemo support
https://bugs.webkit.org/show_bug.cgi?id=85238

Patch by Adrian Bunk <bunk@stusta.de> on 2014-02-13
Reviewed by Ryosuke Niwa.

* plugins/npapi.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@164034 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[CSS Grid Layout] Rename named areas property
https://bugs.webkit.org/show_bug.cgi?id=127990

Patch by Javier Fernandez <jfernandez@igalia.com> on 2014-02-13
Reviewed by Sergio Villar Senin.

From Blink r165891 by <rego@igalia.com>

The property 'grid-template' has been renamed to 'grid-template-areas'
in the last two versions of the spec.

Source/WebCore:

* CMakeLists.txt:
* GNUmakefile.list.am:
* WebCore.vcxproj/WebCore.vcxproj:
* WebCore.vcxproj/WebCore.vcxproj.filters:
* WebCore.xcodeproj/project.pbxproj:
* css/CSSComputedStyleDeclaration.cpp:
(WebCore::ComputedStyleExtractor::propertyValue):
* css/CSSGridTemplateAreasValue.cpp: Renamed from Source/WebCore/css/CSSGridTemplateValue.cpp.
(WebCore::CSSGridTemplateAreasValue::CSSGridTemplateAreasValue):
(WebCore::stringForPosition):
(WebCore::CSSGridTemplateAreasValue::customCSSText):
* css/CSSGridTemplateAreasValue.h: Renamed from Source/WebCore/css/CSSGridTemplateValue.h.
(WebCore::CSSGridTemplateAreasValue::create):
(WebCore::CSSGridTemplateAreasValue::~CSSGridTemplateAreasValue):
(WebCore::CSSGridTemplateAreasValue::gridAreaMap):
(WebCore::CSSGridTemplateAreasValue::rowCount):
(WebCore::CSSGridTemplateAreasValue::columnCount):
* css/CSSParser.cpp:
(WebCore::CSSParser::parseValue):
(WebCore::CSSParser::parseGridTemplateAreas):
* css/CSSParser.h:
* css/CSSPropertyNames.in:
* css/CSSValue.cpp:
(WebCore::CSSValue::equals):
(WebCore::CSSValue::cssText):
(WebCore::CSSValue::destroy):
* css/CSSValue.h:
(WebCore::CSSValue::isGridTemplateAreasValue):
* css/StyleResolver.cpp:
(WebCore::StyleResolver::applyProperty):

Source/WebInspectorUI:

* Tools/PrettyPrinting/css.js:
* UserInterface/External/CodeMirror/css.js:

LayoutTests:

* fast/css-grid-layout/grid-item-area-get-set.html:
* fast/css-grid-layout/grid-item-column-row-get-set.html:
* fast/css-grid-layout/grid-item-end-after-get-set.html:
* fast/css-grid-layout/grid-item-named-grid-area-resolution.html:
* fast/css-grid-layout/grid-item-start-before-get-set.html:
* fast/css-grid-layout/grid-template-get-set-expected.txt:
* fast/css-grid-layout/grid-template-get-set.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@164035 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Document should be constructable
https://bugs.webkit.org/show_bug.cgi?id=115643

Patch by László Langó <llango.u-szeged@partner.samsung.com> on 2014-02-13
Reviewed by Darin Adler.

Source/WebCore:

http://www.w3.org/TR/2014/WD-dom-20140204/#interface-document
Make Document constructable so that one can do "new Document"
instead of "document.implementation.createHTMLDocument('')".

Test: fast/dom/Document/document-constructor.html

* dom/Document.cpp:
(WebCore::Document::create):
(WebCore::Document::origin):
* dom/Document.h:
* dom/Document.idl:

LayoutTests:

* fast/dom/Document/document-constructor-expected.txt: Added.
* fast/dom/Document/document-constructor.html: Added.
* fast/dom/dom-constructors-expected.txt:
* fast/dom/dom-constructors.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@164036 268f45cc-cd09-0410-ab3c-d52691b4dbfc
iOS build fix.

* WebView/WebView.mm:
(+[WebView registerForMemoryNotifications]):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@164037 268f45cc-cd09-0410-ab3c-d52691b4dbfc
InsertIntoTextNodeCommand should get Settings from the Frame.
<https://webkit.org/b/128678>

EditCommands have a frame() accessor that returns a reference,
so there's no need to go through Document.

Reviewed by Anders Carlsson.

* editing/InsertIntoTextNodeCommand.cpp:
(WebCore::InsertIntoTextNodeCommand::doApply):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@164038 268f45cc-cd09-0410-ab3c-d52691b4dbfc
CStack Branch: VM::currentReturnThunkPC appears to be unused and should be removed
https://bugs.webkit.org/show_bug.cgi?id=127205

Reviewed by Geoffrey Garen.

Removed ununsed references to VM::currentReturnThunkPC.

* jit/ThunkGenerators.cpp:
(JSC::arityFixup):
* runtime/VM.h:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@164039 268f45cc-cd09-0410-ab3c-d52691b4dbfc
IDB: TestExpectations batch - HTTP tests

Unreviewed.

* http/tests/security/cross-origin-indexeddb-allowed-expected.txt:
* http/tests/security/cross-origin-indexeddb-expected.txt:
* http/tests/security/resources/cross-origin-iframe-for-indexeddb.html:

* platform/mac-wk2/TestExpectations: Two of the http tests are worker tests. They remain skipped.
  The other three pass with test updates.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@164040 268f45cc-cd09-0410-ab3c-d52691b4dbfc
IDB: TestExpectations cleanup

Unreviewed.

* platform/mac-wk2/TestExpectations: More tests pass than fail, so only list failures.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@164041 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Mac] Add a WebKit1 SPI to get WebCrypto master key from a client
https://bugs.webkit.org/show_bug.cgi?id=128725

Reviewed by Anders Carlsson.

Source/WebKit/mac:

* WebCoreSupport/WebChromeClient.mm:
(WebChromeClient::wrapCryptoKey):
(WebChromeClient::unwrapCryptoKey):
* WebView/WebUIDelegatePrivate.h:
Looks like UIDelegate is the closest we have to a reasonable place.

Tools:

* DumpRenderTree/mac/UIDelegate.mm: (-[UIDelegate webCryptoMasterKeyForWebView:]):
Use the SPI to specify a key.


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