Mark a couple of asserty tests as such.

* platform/mac-wk2/TestExpectations:
* platform/mac/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146107 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Another asserting test.

* platform/mac/TestExpectations:

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

* WebCore.vcxproj/WebCore.vcxproj:
* WebCore.vcxproj/WebCore.vcxproj.filters:
* WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146109 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Update MessagePort terminology to match HTML5
https://bugs.webkit.org/show_bug.cgi?id=112611

Reviewed by Anders Carlsson.

Transferable objects are "neutered" when transfered. Cloning is a different operation.

* dom/MessagePort.cpp:
(WebCore::MessagePort::disentanglePorts):
* dom/MessagePort.h:
(WebCore::MessagePort::isEntangled):
(WebCore::MessagePort::isNeutered):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146110 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Create WebFileSystemType enum to allow easier filesystem refactoring
https://bugs.webkit.org/show_bug.cgi?id=112571

Reviewed by Adam Barth.

Source/Platform:

New top-level enum (not tied to WebFileSystem class) will allow
easier refactoring of filesystem methods within the Platform/
directory. (All changes are behind an #ifdef so we can sync
required changes in embedders.)

* chromium/public/WebFileSystemType.h: new file
(WebKit):

* Platform.gypi:
* chromium/public/WebFileSystem.h:
* chromium/public/WebFileSystemType.h: Copied from Source/WebKit/chromium/public/WebCommonWorkerClient.h.
(WebKit):

Source/WebKit/chromium:

Update function declarations for new WebFileSystemType enum. (All
changes are behind an #ifdef so we can sync required changes in embedders.)

* public/WebCommonWorkerClient.h:
(WebCommonWorkerClient):
(WebKit::WebCommonWorkerClient::openFileSystem):
* public/WebFrame.h:
(WebFrame):
* public/WebFrameClient.h:
(WebFrameClient):
(WebKit::WebFrameClient::openFileSystem):
(WebKit::WebFrameClient::deleteFileSystem):
* src/LocalFileSystemChromium.cpp:
(WebCore):
(WebCore::openFileSystemHelper):
(WebCore::LocalFileSystem::deleteFileSystem):
* src/WebFrameImpl.cpp:
(WebKit):
(WebKit::WebFrameImpl::createFileSystem):
(WebKit::WebFrameImpl::createSerializableFileSystem):
(WebKit::WebFrameImpl::createFileEntry):
* src/WebFrameImpl.h:
(WebFrameImpl):
* src/WebWorkerClientImpl.cpp:
(WebKit):
(WebKit::WebWorkerClientImpl::openFileSystem):
* src/WebWorkerClientImpl.h:
* src/WorkerFileSystemCallbacksBridge.cpp:
(WebKit):
(WebKit::WorkerFileSystemCallbacksBridge::postOpenFileSystemToMainThread):
(WebKit::WorkerFileSystemCallbacksBridge::openFileSystemOnMainThread):
* src/WorkerFileSystemCallbacksBridge.h:
(WorkerFileSystemCallbacksBridge):

Tools:

Update function declarations for new WebFileSystemType enum. (All
changes are behind an #ifdef so we can sync required changes in embedders.)

* DumpRenderTree/chromium/WebViewHost.cpp:
(WebViewHost::openFileSystem):
(WebViewHost::deleteFileSystem):
* DumpRenderTree/chromium/WebViewHost.h:
(WebViewHost):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146111 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: Script should know nothing about disabled source mappings.
https://bugs.webkit.org/show_bug.cgi?id=112580

Reviewed by Pavel Feldman.

Source/WebCore:

ResourceScriptMapping handles diverged uiSourceCodes internally now.

Tested in inspector/debugger/live-edit-breakpoints.html already.

* inspector/front-end/ResourceScriptMapping.js:
(WebInspector.ResourceScriptMapping.prototype.rawLocationToUILocation):
(WebInspector.ResourceScriptMapping.prototype._hasMergedToVM):
(WebInspector.ResourceScriptMapping.prototype._hasDivergedFromVM):
* inspector/front-end/Script.js:
(WebInspector.Script.prototype.rawLocationToUILocation):

LayoutTests:

* inspector/debugger/breakpoint-manager.html:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146112 268f45cc-cd09-0410-ab3c-d52691b4dbfc
plugins/plugin-clip-subframe.html is flakey
https://bugs.webkit.org/show_bug.cgi?id=112616

* platform/mac/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146114 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Allow blocking of application cache in third-party contexts
https://bugs.webkit.org/show_bug.cgi?id=112288

Reviewed by Adam Barth.

Source/WebCore:

Return early if we can't access the application cache due to security
restrictions.

Tests: http/tests/security/cross-origin-appcache-allowed.html
       http/tests/security/cross-origin-appcache.html
       http/tests/security/same-origin-appcache-blocked.html

* loader/appcache/ApplicationCacheGroup.cpp:
(WebCore::ApplicationCacheGroup::selectCache):
(WebCore::ApplicationCacheGroup::selectCacheWithoutManifestURL):
* page/SecurityOrigin.h:
(WebCore::SecurityOrigin::canAccessApplicationCache):

LayoutTests:

* http/tests/security/cross-origin-appcache-allowed-expected.txt: Added.
* http/tests/security/cross-origin-appcache-allowed.html: Added.
* http/tests/security/cross-origin-appcache-expected.txt: Added.
* http/tests/security/cross-origin-appcache.html: Added.
* http/tests/security/resources/cross-origin-iframe-for-appcache-allowed.html: Added.
* http/tests/security/resources/cross-origin-iframe-for-appcache.html: Added.
* http/tests/security/resources/manifest-for-appcache-allowed.manifest: Added.
* http/tests/security/resources/manifest-for-appcache-blocked.manifest: Added.
* http/tests/security/resources/manifest-for-appcache.manifest: Added.
* http/tests/security/resources/same-origin-iframe-for-appcache-blocked.html: Added.
* http/tests/security/same-origin-appcache-blocked-expected.txt: Added.
* http/tests/security/same-origin-appcache-blocked.html: Added.
* platform/chromium/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146115 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Inspector: [Chromium] http/tests/inspector/indexeddb/database-data.html ASSERT on Win7 following r133855
https://bugs.webkit.org/show_bug.cgi?id=101618

Deactivate transactions created by the inspector, before
they are reactivated by IndexedDB. This puts transactions
in an identical state as when they are created by scripts.

Reviewed by Vsevolod Vlasov.

Test: http/tests/inspector/indexeddb/database-data.html

* inspector/InspectorIndexedDBAgent.cpp: Make transactions inactive upon leaving the inspector code.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146116 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix GridTrackSize::operator==
https://bugs.webkit.org/show_bug.cgi?id=112501

Reviewed by Eric Seidel.

Source/WebCore:

There was a missing "other." in the function.

This was found by experimenting with a potential new Clang warning.

Test: fast/css-grid-layout/grid-dynamic-updates-relayout.html

* rendering/style/GridTrackSize.h:
(WebCore::GridTrackSize::operator==):

LayoutTests:

Add a test to check that style changes cause relayout correctly.

* fast/css-grid-layout/grid-dynamic-updates-relayout-expected.txt: Added.
* fast/css-grid-layout/grid-dynamic-updates-relayout.html: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146117 268f45cc-cd09-0410-ab3c-d52691b4dbfc
http/tests/navigation/navigation-redirect-schedule-crash.html asserts sometimes
https://bugs.webkit.org/show_bug.cgi?id=112617

* platform/mac/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146118 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ASSERTION FAILED: !NoEventDispatchAssertion::isEventDispatchForbidden()
https://bugs.webkit.org/show_bug.cgi?id=112620

* platform/mac/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146119 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[WinCairo] Build WinCairo port under VS2010 
https://bugs.webkit.org/show_bug.cgi?id=112604

Reviewed by Tim Horton.

* WebKit.vcxproj/WebKit.sln: Add Debug_WinCairo and Release_WinCairo
build targets. No other changes in this patch.
* WebKit.vcxproj/FeatureDefinesCairo.props: Add parallel property
sheet for WinCairo version of build.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146120 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[WinCairo] Get build working under VS2010.
https://bugs.webkit.org/show_bug.cgi?id=112604

Reviewed by Tim Horton.

* WTF.vcxproj/WTF.vcxproj: Add Debug_WinCairo and Release_WinCairo
targets so headers get copied to appropriate build folder.
* WTF.vcxproj/WTFGenerated.vcxproj: Ditto.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146121 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Skip some tests on Windows.

* platform/win/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146122 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[WinCairo] Get build working under VS2010.
https://bugs.webkit.org/show_bug.cgi?id=112604

Reviewed by Tim Horton.

* JavaScriptCore.vcxproj/JavaScriptCore.vcxproj: Add build targets for
Debug_WinCairo and Release_WinCairo using CFLite.
* JavaScriptCore.vcxproj/JavaScriptCoreCFLite.props: Added.
* JavaScriptCore.vcxproj/JavaScriptCoreDebugCFLite.props: Added.
* JavaScriptCore.vcxproj/JavaScriptCoreExportGenerator/JavaScriptCoreExportGenerator.vcxproj:
Add Debug_WinCairo and Release_WinCairo build targets to
make sure headers are copied to proper build folder.
* JavaScriptCore.vcxproj/JavaScriptCoreGenerated.vcxproj: Ditto.
* JavaScriptCore.vcxproj/JavaScriptCoreReleaseCFLite.props: Added.
* JavaScriptCore.vcxproj/LLInt/LLIntAssembly/LLIntAssembly.vcxproj:
Add Debug_WinCairo and Release_WinCairo build targets to
make sure headers are copied to proper build folder.
* JavaScriptCore.vcxproj/LLInt/LLIntDesiredOffsets/LLIntDesiredOffsets.vcxproj:
Ditto.
* JavaScriptCore.vcxproj/LLInt/LLIntOffsetsExtractor/LLIntOffsetsExtractor.vcxproj:
Ditto.
* JavaScriptCore.vcxproj/jsc/jsc.vcxproj: Ditto.
* JavaScriptCore.vcxproj/testRegExp/testRegExp.vcxproj: Ditto.
* JavaScriptCore.vcxproj/testapi/testapi.vcxproj: Ditto.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146123 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[NRWT][GTK] Add gtk-wk1 directory to the list of baseline search paths when using DumpRenderTree
https://bugs.webkit.org/show_bug.cgi?id=112619

Reviewed by Dirk Pranke.

When using DumpRenderTree on the Gtk port, NRWT should look for baselines first in the LayoutTests/platform/gtk-wk1
directory and then fall back to the generic LayoutTests/platform/gtk directory.

* Scripts/webkitpy/layout_tests/port/gtk.py:
(GtkPort.default_baseline_search_path): Implement the method on the GtkPort class, mapping every search path to the
Port._webkit_baseline_path method.
* Scripts/webkitpy/layout_tests/port/gtk_unittest.py:
(GtkPortTest.test_default_baseline_search_path): Add a test for the changes that are being introduced.
(GtkPortTest.test_port_specific_expectations_files): Wrap a couple of long lines.
* Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
(TestRebaselineTest.test_baseline_directory): Enhance one and add an additional test case for baseline directories
that are expected based on the builder name.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146124 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[webkitpy] '/usr/bin/interdiff' output while running test-webkitpy
https://bugs.webkit.org/show_bug.cgi?id=112622

Reviewed by Dirk Pranke.

* Scripts/webkitpy/tool/steps/haslanded_unittest.py:
(HasLandedTest): Pipe the stdout and stderr output of the subprocess call to subprocess.PIPE, eliminating unnecessary output.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146125 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed gardening. Marked flaky tests, removed obsolete
expectations, and fixed flaky test fast/innerHTML/innerHTML-iframe.html .
https://bugs.webkit.org/show_bug.cgi?id=97816
https://bugs.webkit.org/show_bug.cgi?id=112306
https://bugs.webkit.org/show_bug.cgi?id=112621

* fast/innerHTML/innerHTML-iframe.html:
* platform/chromium-android/platform/chromium/compositing/filters/background-filter-blur-expected.png: Removed.
* platform/chromium-android/platform/chromium/compositing/filters/background-filter-blur-off-axis-expected.png: Removed.
* platform/chromium-android/platform/chromium/compositing/filters/background-filter-blur-outsets-expected.png: Removed.
* platform/chromium-linux/platform/chromium/compositing/filters/background-filter-blur-expected.png: Removed.
* platform/chromium-linux/platform/chromium/compositing/filters/background-filter-blur-off-axis-expected.png: Removed.
* platform/chromium-linux/platform/chromium/compositing/filters/background-filter-blur-outsets-expected.png: Removed.
* platform/chromium-mac/platform/chromium/compositing/filters/background-filter-blur-expected.png: Removed.
* platform/chromium-mac/platform/chromium/compositing/filters/background-filter-blur-off-axis-expected.png: Removed.
* platform/chromium-mac/platform/chromium/compositing/filters/background-filter-blur-outsets-expected.png: Removed.
* platform/chromium-win/platform/chromium/compositing/filters/background-filter-blur-expected.png: Removed.
* platform/chromium-win/platform/chromium/compositing/filters/background-filter-blur-off-axis-expected.png: Removed.
* platform/chromium-win/platform/chromium/compositing/filters/background-filter-blur-outsets-expected.png: Removed.
* platform/chromium/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146126 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Cleanup: Move js for treemap and aggregate_results into own js files.
https://bugs.webkit.org/show_bug.cgi?id=112618

Reviewed by Dirk Pranke.

No functional changes, just moving the code into separate js file
rather than inlined in the html, so we can test it, make it more
modular, etc.  Other dashboard types are already done this way.

* TestResultServer/static-dashboards/aggregate_results.html:
* TestResultServer/static-dashboards/aggregate_results.js: Copied from Tools/TestResultServer/static-dashboards/aggregate_results.html.
(generatePage):
(handleValidHashParameter):
(htmlForBuilder):
(rawValuesHTML):
(chartHTML):
(filteredValues):
(chart):
(htmlForRevisionRows):
(wrapHTMLInTable):
(htmlForSummaryTable):
(valuesPerExpectation):
(htmlForTestType):
(htmlForTableRow):
(extendedEncode):
* TestResultServer/static-dashboards/treemap.html:
* TestResultServer/static-dashboards/treemap.js: Copied from Tools/TestResultServer/static-dashboards/treemap.html.
(humanReadableTime):
(convertToWebTreemapFormat):
(reverseSortByAverage):
(generatePage):
(focusPath):
(.switch.return):
(handleQueryParameterChange):
(extractName):
(fullName):
(handleFocus.):
(handleFocus):


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