[iOS][wk2] Temporarily disable accelerated drawing for canvas
https://bugs.webkit.org/show_bug.cgi?id=128147

Reviewed by Simon Fraser.

* Shared/WebPreferencesStore.h:
Temporarily disable accelerated canvas for WebKit2 on iOS.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@163352 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[WebKit2, iOS] Enable frame flattening by default on iOS
<rdar://problem/15975983>
https://bugs.webkit.org/show_bug.cgi?id=128151

Reviewed by Tim Horton.

* Shared/WebPreferencesStore.h:


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

* Shared/WebPreferencesStore.h:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@163355 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Subpixel rendering: Do not query the scaling factor when the graphics context is invalid.
https://bugs.webkit.org/show_bug.cgi?id=128131

Reviewed by Simon Fraser.

No existing context to test it.

* platform/graphics/GraphicsContext.h:
* platform/graphics/cairo/GraphicsContextCairo.cpp:
(WebCore::GraphicsContext::platformInit):
* platform/graphics/cg/GraphicsContextCG.cpp:
(WebCore::GraphicsContext::platformInit):
* platform/graphics/wince/GraphicsContextWinCE.cpp:
(WebCore::GraphicsContext::platformInit):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@163357 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Add title and hasOnlySecureContent properties to WKWebView
https://bugs.webkit.org/show_bug.cgi?id=128152

Reviewed by Dan Bernstein.

* UIProcess/API/Cocoa/WKWebView.h:
* UIProcess/API/Cocoa/WKWebView.mm:
(-[WKWebView title]):
(-[WKWebView hasOnlySecureContent]):
* UIProcess/Cocoa/NavigationState.mm:
(WebKit::NavigationState::didChangeIsLoading):
(WebKit::NavigationState::willChangeTitle):
(WebKit::NavigationState::didChangeTitle):
(WebKit::NavigationState::willChangeHasOnlySecureContent):
(WebKit::NavigationState::didChangeHasOnlySecureContent):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@163358 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove the CSS @host rule.
<https://webkit.org/b/128146>

The @host rule is no longer part of the spec, and besides this code
was behind ENABLE(SHADOW_DOM) so nobody was building it.

Reviewed by Anders Carlsson.

* CMakeLists.txt:
* DerivedSources.cpp:
* DerivedSources.make:
* GNUmakefile.list.am:
* WebCore.vcxproj/WebCore.vcxproj:
* WebCore.vcxproj/WebCore.vcxproj.filters:
* WebCore.xcodeproj/project.pbxproj:
* bindings/js/JSCSSRuleCustom.cpp:
(WebCore::toJS):
* bindings/objc/DOMCSS.mm:
(kitClass):
* css/CSSAllInOne.cpp:
* css/CSSGrammar.y.in:
* css/CSSHostRule.cpp: Removed.
* css/CSSHostRule.h: Removed.
* css/CSSHostRule.idl: Removed.
* css/CSSParser.cpp:
(WebCore::CSSParser::detectDashToken):
(WebCore::CSSParser::detectAtToken):
* css/CSSParser.h:
* css/CSSRule.h:
* css/CSSRule.idl:
* css/InspectorCSSOMWrappers.cpp:
(WebCore::InspectorCSSOMWrappers::collect):
* css/StyleResolver.h:
* css/StyleRule.cpp:
(WebCore::StyleRuleBase::destroy):
(WebCore::StyleRuleBase::copy):
(WebCore::StyleRuleBase::createCSSOMWrapper):
* css/StyleRule.h:
* css/StyleSheetContents.cpp:
(WebCore::childRulesHaveFailedOrCanceledSubresources):
* inspector/InspectorStyleSheet.cpp:
(flattenSourceData):
(WebCore::asCSSRuleList):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@163359 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove stray vestige from ::-webkit-distributed selector.
<https://webkit.org/b/128154>

Reviewed by Anders Carlsson.

* css/CSSSelector.cpp:
(WebCore::CSSSelector::extractPseudoType):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@163360 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Need regression test to ensure that the debugger does not attempt to execute a bad script from its console.
<https://webkit.org/b/128121>

Reviewed by Geoffrey Garen.

Regression test for https://bugs.webkit.org/show_bug.cgi?id=127600.

* inspector-protocol/debugger/breakpoint-condition-with-bad-script-expected.txt: Added.
* inspector-protocol/debugger/breakpoint-condition-with-bad-script.html: Added.
- Sets up a breakpoint with a condition script. The condition script
  will fail to parse with a syntax error.
  I've tested that without the fix in http://trac.webkit.org/r162752,
  this will crash the VM. With the fix, it works fine.


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