Fix bugs in 32-bit Structure implementation.
<https://webkit.org/b/129947>

Reviewed by Mark Hahnenberg.

Added the loading of the Structure (from the JSCell) before use that was
missing in a few places.  Also added more test cases to equals-masquerader.js.

* dfg/DFGSpeculativeJIT32_64.cpp:
(JSC::DFG::SpeculativeJIT::nonSpeculativeNonPeepholeCompareNull):
(JSC::DFG::SpeculativeJIT::compile):
* dfg/DFGSpeculativeJIT64.cpp:
(JSC::DFG::SpeculativeJIT::compile):
* llint/LowLevelInterpreter32_64.asm:
* tests/stress/equals-masquerader.js:
(equalsNull):
(notEqualsNull):
(strictEqualsNull):
(strictNotEqualsNull):
(equalsUndefined):
(notEqualsUndefined):
(strictEqualsUndefined):
(strictNotEqualsUndefined):
(isFalsey):
(test):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@165325 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ArgumentEncoder and ArgumentDecoder should be fastmalloced.
<https://webkit.org/b/129960>

Reviewed by Ryosuke Niwa.

* Platform/IPC/ArgumentDecoder.h:
* Platform/IPC/ArgumentEncoder.h:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@165326 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[WebKit2][iOS] PDF
https://bugs.webkit.org/show_bug.cgi?id=129600
<rdar://problem/15260216>

Reviewed by Anders Carlsson.

Add a single custom content provider which installs a very primitive PDF view
in place of the WKContentView if a PDF is loaded in the main frame.

* Configurations/WebKit2.xcconfig:
Link against CorePDF, for UIPDFPageView.

* UIProcess/Cocoa/WKWebViewContentProviderRegistry.mm:
(-[WKWebViewContentProviderRegistry init]):
Initialize the registry, using WKPDFView for all PDF MIME types.

* WebKit2.xcodeproj/project.pbxproj:
* UIProcess/ios/WKPDFView.h: Added.
* UIProcess/ios/WKPDFView.mm: Added.
Add a very simple PDF view based on UIPDFPageView. Additional functionality
can come in the future; right now, we just create one view for each page, and
depend on CATiledLayer to only paint the pages that are being displayed.

* WebCore.exp.in:
* platform/MIMETypeRegistry.cpp:
(WebCore::initializeSupportedImageMIMETypes):
(WebCore::initializePDFMIMETypes):
(WebCore::initializePostScriptMIMETypes):
(WebCore::initializeMIMETypeRegistry):
(WebCore::MIMETypeRegistry::getPDFMIMETypes):
* platform/MIMETypeRegistry.h:
Split PDF and PostScript MIME types, so WebKit2 can retrieve just the PDF ones
without PostScript included.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@165327 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed build fix for GTKbuild after the switch to CMake

* gtk/common.py:
(is_cmake_build): Like r165284, we need to assume CMake by default, since the
test-only bot doesn't have any build files.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@165328 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Prevent processes spawned by WebProcess from trying to insert the SecItem shim.
https://bugs.webkit.org/show_bug.cgi?id=129864

Patch by Aaron Golden <golden@inkling.com> on 2014-03-08
Reviewed by Anders Carlsson.

* WebProcess/EntryPoint/mac/LegacyProcess/WebContentProcessMain.mm:
(WebKit::WebContentProcessMainDelegate::doPreInitializationWork):

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