Separate enabling sandbox extensions from the WEB_PROCESS_SANDBOX flag
https://bugs.webkit.org/show_bug.cgi?id=133016

Reviewed by Alexey Proskuryakov.

Add a distinct SANDBOX_EXTENSIONS flag to guard sandbox extensions
and switch over to it in the places that extensions are used.

* Shared/SandboxExtension.h:
* Shared/mac/SandboxExtensionMac.mm:
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::didChooseFilesForOpenPanel):
* WebKit2Prefix.h:
* WebProcess/WebPage/WebPage.cpp:
* WebProcess/WebPage/WebPage.h:
* WebProcess/WebPage/WebPage.messages.in:
* WebProcess/cocoa/WebProcessCocoa.mm:
(WebKit::WebProcess::platformInitializeWebProcess):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@168984 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove calls to internals.settings.setRegionBasedColumnsEnabled(true);
in tests.

Some of these tests may now be no-ops, but I haven't found a convenient
way to know which ones.

* fast/multicol/break-in-columns-before-spanner-expected.html:
* fast/multicol/break-in-columns-before-spanner.html:
* fast/multicol/break-in-scrollable-expected.html:
* fast/multicol/break-in-scrollable.html:
* fast/multicol/client-rects-spanners-complex.html:
* fast/multicol/client-rects-spanners.html:
* fast/multicol/inline-children-crash.html:
* fast/multicol/mixed-opacity-fixed-test.html:
* fast/multicol/mixed-opacity-test.html:
* fast/multicol/mixed-positioning-stacking-order.html:
* fast/multicol/multicol-li-crash.html:
* fast/multicol/newmulticol/adjacent-spanners.html:
* fast/multicol/newmulticol/avoid-column-break-inside.html:
* fast/multicol/newmulticol/balance-images.html:
* fast/multicol/newmulticol/balance-maxheight1.html:
* fast/multicol/newmulticol/balance-maxheight2.html:
* fast/multicol/newmulticol/balance1.html:
* fast/multicol/newmulticol/balance10.html:
* fast/multicol/newmulticol/balance2.html:
* fast/multicol/newmulticol/balance3.html:
* fast/multicol/newmulticol/balance4.html:
* fast/multicol/newmulticol/balance5.html:
* fast/multicol/newmulticol/balance6.html:
* fast/multicol/newmulticol/balance7.html:
* fast/multicol/newmulticol/balance8.html:
* fast/multicol/newmulticol/balance9.html:
* fast/multicol/newmulticol/block-becomes-spanner-expected.html:
* fast/multicol/newmulticol/block-becomes-spanner.html:
* fast/multicol/newmulticol/break-after-expected.html:
* fast/multicol/newmulticol/break-after.html:
* fast/multicol/newmulticol/break-before.html:
* fast/multicol/newmulticol/breaks-2-columns-3-no-balancing.html:
* fast/multicol/newmulticol/breaks-2-columns-3.html:
* fast/multicol/newmulticol/breaks-3-columns-3.html:
* fast/multicol/newmulticol/cell-shrinkback.html:
* fast/multicol/newmulticol/change-spanner-display-expected.html:
* fast/multicol/newmulticol/change-spanner-display.html:
* fast/multicol/newmulticol/change-spanner-parent-display-expected.html:
* fast/multicol/newmulticol/change-spanner-parent-display.html:
* fast/multicol/newmulticol/client-rects.html:
* fast/multicol/newmulticol/clipping-expected.html:
* fast/multicol/newmulticol/clipping-overflow-hidden-expected.html:
* fast/multicol/newmulticol/clipping-overflow-hidden.html:
* fast/multicol/newmulticol/clipping-top-overflow-expected.html:
* fast/multicol/newmulticol/clipping-top-overflow.html:
* fast/multicol/newmulticol/clipping.html:
* fast/multicol/newmulticol/column-rules-fixed-height.html:
* fast/multicol/newmulticol/columns-shorthand-parsing.html:
* fast/multicol/newmulticol/compare-with-old-impl/BottomToTop-tb.html:
* fast/multicol/newmulticol/compare-with-old-impl/LeftToRight-tb.html:
* fast/multicol/newmulticol/compare-with-old-impl/anonymous-block-split-crash.html:
* fast/multicol/newmulticol/compare-with-old-impl/before-child-anonymous-column-block.html:
* fast/multicol/newmulticol/compare-with-old-impl/clone-before-after-content-crash.html:
* fast/multicol/newmulticol/compare-with-old-impl/clone-block-children-inline-mismatch-crash.html:
* fast/multicol/newmulticol/compare-with-old-impl/clone-flexbox.html:
* fast/multicol/newmulticol/compare-with-old-impl/clone-summary.html:
* fast/multicol/newmulticol/compare-with-old-impl/column-rules-stacking.html:
* fast/multicol/newmulticol/compare-with-old-impl/column-span-inside-multicol-webkit-box.html:
* fast/multicol/newmulticol/compare-with-old-impl/continuation-crash.html:
* fast/multicol/newmulticol/compare-with-old-impl/double-merge-anonymous-block-crash.html:
* fast/multicol/newmulticol/compare-with-old-impl/empty-anonymous-block-split-crash.html:
* fast/multicol/newmulticol/compare-with-old-impl/float-not-removed-crash.html:
* fast/multicol/newmulticol/compare-with-old-impl/hit-test-above-or-below.html:
* fast/multicol/newmulticol/compare-with-old-impl/hit-test-block-axis-flipped.html:
* fast/multicol/newmulticol/compare-with-old-impl/hit-test-end-of-column-with-line-height.html:
* fast/multicol/newmulticol/compare-with-old-impl/hit-test-end-of-column.html:
* fast/multicol/newmulticol/compare-with-old-impl/hit-test-float.html:
* fast/multicol/newmulticol/compare-with-old-impl/hit-test-gap-between-pages-flipped.html:
* fast/multicol/newmulticol/compare-with-old-impl/hit-test-gap-between-pages.html:
* fast/multicol/newmulticol/compare-with-old-impl/hit-test-gap-block-axis.html:
* fast/multicol/newmulticol/compare-with-old-impl/list-multi-column-crash.html:
* fast/multicol/newmulticol/compare-with-old-impl/multicol-with-child-renderLayer-for-input-expected.html:
* fast/multicol/newmulticol/compare-with-old-impl/multicol-with-child-renderLayer-for-input.html:
* fast/multicol/newmulticol/compare-with-old-impl/overflow-content.html:
* fast/multicol/newmulticol/compare-with-old-impl/positioned-child-not-removed-crash.html:
* fast/multicol/newmulticol/compare-with-old-impl/positioned-objects-not-removed-crash.html:
* fast/multicol/newmulticol/compare-with-old-impl/recursive-split-flow-crash.html:
* fast/multicol/newmulticol/compare-with-old-impl/removal-of-multicol-span-crash.html:
* fast/multicol/newmulticol/compare-with-old-impl/remove-child-split-flow-crash.html:
* fast/multicol/newmulticol/compare-with-old-impl/runin-continuation-crash.html:
* fast/multicol/newmulticol/compare-with-old-impl/shrink-to-column-height-for-pagination.html:
* fast/multicol/newmulticol/compare-with-old-impl/span-as-nested-inline-block-child.html:
* fast/multicol/newmulticol/compare-with-old-impl/split-flow-anonymous-wrapper-crash.html:
* fast/multicol/newmulticol/compare-with-old-impl/split-inline-wrong-post-block-crash.html:
* fast/multicol/newmulticol/compare-with-old-impl/table-multi-column-crash.html:
* fast/multicol/newmulticol/compare-with-old-impl/textbox-not-removed-crash.html:
* fast/multicol/newmulticol/compare-with-old-impl/update-after-content-before-child-crash.html:
* fast/multicol/newmulticol/direct-child-column-span-all.html:
* fast/multicol/newmulticol/fixed-height-fill-auto-expected.html:
* fast/multicol/newmulticol/fixed-height-fill-auto.html:
* fast/multicol/newmulticol/fixed-height-fill-balance-2.html:
* fast/multicol/newmulticol/fixed-height-fill-balance-expected.html:
* fast/multicol/newmulticol/fixed-height-fill-balance.html:
* fast/multicol/newmulticol/float-avoidance.html:
* fast/multicol/newmulticol/float-multicol.html:
* fast/multicol/newmulticol/float-paginate-complex.html:
* fast/multicol/newmulticol/float-paginate-empty-lines.html:
* fast/multicol/newmulticol/float-paginate.html:
* fast/multicol/newmulticol/hide-box-horizontal-bt-expected.html:
* fast/multicol/newmulticol/hide-box-horizontal-bt.html:
* fast/multicol/newmulticol/hide-box-vertical-lr-expected.html:
* fast/multicol/newmulticol/hide-box-vertical-lr.html:
* fast/multicol/newmulticol/hide-box-vertical-rl-expected.html:
* fast/multicol/newmulticol/hide-box-vertical-rl.html:
* fast/multicol/newmulticol/insert-row-content1-expected.html:
* fast/multicol/newmulticol/insert-row-content1.html:
* fast/multicol/newmulticol/insert-row-content2-expected.html:
* fast/multicol/newmulticol/insert-row-content2.html:
* fast/multicol/newmulticol/insert-row-content3-expected.html:
* fast/multicol/newmulticol/insert-row-content3.html:
* fast/multicol/newmulticol/insert-row-content4-expected.html:
* fast/multicol/newmulticol/insert-row-content4.html:
* fast/multicol/newmulticol/insert-row-content5-expected.html:
* fast/multicol/newmulticol/insert-row-content5.html:
* fast/multicol/newmulticol/insert-row-content6-expected.html:
* fast/multicol/newmulticol/insert-row-content6.html:
* fast/multicol/newmulticol/insert-row-content7-expected.html:
* fast/multicol/newmulticol/insert-row-content7.html:
* fast/multicol/newmulticol/insert-row-content8-expected.html:
* fast/multicol/newmulticol/insert-row-content8.html:
* fast/multicol/newmulticol/insert-row-content9-expected.html:
* fast/multicol/newmulticol/insert-row-content9.html:
* fast/multicol/newmulticol/insert-spanner-child1-expected.html:
* fast/multicol/newmulticol/insert-spanner-child1.html:
* fast/multicol/newmulticol/insert-spanner-child2-expected.html:
* fast/multicol/newmulticol/insert-spanner-child2.html:
* fast/multicol/newmulticol/insert-spanner-child3-expected.html:
* fast/multicol/newmulticol/insert-spanner-child3.html:
* fast/multicol/newmulticol/insert-spanner1-expected.html:
* fast/multicol/newmulticol/insert-spanner1.html:
* fast/multicol/newmulticol/insert-spanner2-expected.html:
* fast/multicol/newmulticol/insert-spanner2.html:
* fast/multicol/newmulticol/insert-spanner3-expected.html:
* fast/multicol/newmulticol/insert-spanner3.html:
* fast/multicol/newmulticol/insert-spanner4-expected.html:
* fast/multicol/newmulticol/insert-spanner4.html:
* fast/multicol/newmulticol/insert-spanner5-expected.html:
* fast/multicol/newmulticol/insert-spanner5.html:
* fast/multicol/newmulticol/insert-spanner6-expected.html:
* fast/multicol/newmulticol/insert-spanner6.html:
* fast/multicol/newmulticol/insert-spanner7-expected.html:
* fast/multicol/newmulticol/insert-spanner7.html:
* fast/multicol/newmulticol/insert-spanner8-expected.html:
* fast/multicol/newmulticol/insert-spanner8.html:
* fast/multicol/newmulticol/layers-in-multicol.html:
* fast/multicol/newmulticol/layers-split-across-columns.html:
* fast/multicol/newmulticol/leading-and-trailing-margin-expected.html:
* fast/multicol/newmulticol/leading-and-trailing-margin.html:
* fast/multicol/newmulticol/leading-margin.html:
* fast/multicol/newmulticol/line-grid-inside-columns.html:
* fast/multicol/newmulticol/line-grid-into-columns.html:
* fast/multicol/newmulticol/multicol-with-spanner-becomes-regular-block.html:
* fast/multicol/newmulticol/orphans-and-widows-balance.html:
* fast/multicol/newmulticol/positioned-split.html:
* fast/multicol/newmulticol/positioned-with-constrained-height.html:
* fast/multicol/newmulticol/progression-reverse-overflow.html:
* fast/multicol/newmulticol/progression-reverse.html:
* fast/multicol/newmulticol/remove-row-content1-expected.html:
* fast/multicol/newmulticol/remove-row-content1.html:
* fast/multicol/newmulticol/remove-row-content2-expected.html:
* fast/multicol/newmulticol/remove-row-content2.html:
* fast/multicol/newmulticol/remove-row-content3-expected.html:
* fast/multicol/newmulticol/remove-row-content3.html:
* fast/multicol/newmulticol/remove-row-content4-expected.html:
* fast/multicol/newmulticol/remove-row-content4.html:
* fast/multicol/newmulticol/remove-row-content5-expected.html:
* fast/multicol/newmulticol/remove-row-content5.html:
* fast/multicol/newmulticol/remove-row-content6-expected.html:
* fast/multicol/newmulticol/remove-row-content6.html:
* fast/multicol/newmulticol/remove-row-content7-expected.html:
* fast/multicol/newmulticol/remove-row-content7.html:
* fast/multicol/newmulticol/remove-row-content8-expected.html:
* fast/multicol/newmulticol/remove-row-content8.html:
* fast/multicol/newmulticol/remove-row-content9-expected.html:
* fast/multicol/newmulticol/remove-row-content9.html:
* fast/multicol/newmulticol/remove-spanner1-expected.html:
* fast/multicol/newmulticol/remove-spanner1.html:
* fast/multicol/newmulticol/remove-spanner2-expected.html:
* fast/multicol/newmulticol/remove-spanner2.html:
* fast/multicol/newmulticol/remove-spanner3-expected.html:
* fast/multicol/newmulticol/remove-spanner3.html:
* fast/multicol/newmulticol/remove-spanner4-expected.html:
* fast/multicol/newmulticol/remove-spanner4.html:
* fast/multicol/newmulticol/remove-spanner5-expected.html:
* fast/multicol/newmulticol/remove-spanner5.html:
* fast/multicol/newmulticol/remove-spanner6-expected.html:
* fast/multicol/newmulticol/remove-spanner6.html:
* fast/multicol/newmulticol/single-line.html:
* fast/multicol/newmulticol/sole-spanner.html:
* fast/multicol/newmulticol/span-between-text-expected.html:
* fast/multicol/newmulticol/span-between-text.html:
* fast/multicol/newmulticol/spanner-becomes-regular-block-expected.html:
* fast/multicol/newmulticol/spanner-becomes-regular-block.html:
* fast/multicol/newmulticol/spanner-first-expected.html:
* fast/multicol/newmulticol/spanner-first.html:
* fast/multicol/newmulticol/spanner-img-expected.html:
* fast/multicol/newmulticol/spanner-img.html:
* fast/multicol/newmulticol/spanner-inline-block-expected.html:
* fast/multicol/newmulticol/spanner-inline-block.html:
* fast/multicol/newmulticol/spanner-last-expected.html:
* fast/multicol/newmulticol/spanner-last.html:
* fast/multicol/newmulticol/spanner-nested-dynamic-expected.html:
* fast/multicol/newmulticol/spanner-nested-dynamic.html:
* fast/multicol/newmulticol/spanner-nested-expected.html:
* fast/multicol/newmulticol/spanner-nested.html:
* fast/multicol/newmulticol/spanner-pseudo-after1-expected.html:
* fast/multicol/newmulticol/spanner-pseudo-after1.html:
* fast/multicol/newmulticol/spanner-pseudo-after2-expected.html:
* fast/multicol/newmulticol/spanner-pseudo-after2.html:
* fast/multicol/newmulticol/spanner-pseudo-after3-expected.html:
* fast/multicol/newmulticol/spanner-pseudo-after3.html:
* fast/multicol/newmulticol/spanner-pseudo-after4-expected.html:
* fast/multicol/newmulticol/spanner-pseudo-after4.html:
* fast/multicol/newmulticol/spanner-pseudo-before-after1-expected.html:
* fast/multicol/newmulticol/spanner-pseudo-before-after1.html:
* fast/multicol/newmulticol/spanner-pseudo-before-after2-expected.html:
* fast/multicol/newmulticol/spanner-pseudo-before-after2.html:
* fast/multicol/newmulticol/spanner-pseudo-before-after3-expected.html:
* fast/multicol/newmulticol/spanner-pseudo-before-after3.html:
* fast/multicol/newmulticol/spanner-pseudo-before-after4-expected.html:
* fast/multicol/newmulticol/spanner-pseudo-before-after4.html:
* fast/multicol/newmulticol/spanner-pseudo-before1-expected.html:
* fast/multicol/newmulticol/spanner-pseudo-before1.html:
* fast/multicol/newmulticol/spanner-pseudo-before2-expected.html:
* fast/multicol/newmulticol/spanner-pseudo-before2.html:
* fast/multicol/newmulticol/spanner-pseudo-before3-expected.html:
* fast/multicol/newmulticol/spanner-pseudo-before3.html:
* fast/multicol/newmulticol/spanner-pseudo-before4-expected.html:
* fast/multicol/newmulticol/spanner-pseudo-before4.html:
* fast/multicol/newmulticol/spanner-table-expected.html:
* fast/multicol/newmulticol/spanner-table.html:
* fast/multicol/newmulticol/spanner-with-margin-expected.html:
* fast/multicol/newmulticol/spanner-with-margin.html:
* fast/multicol/newmulticol/spanner1-expected.html:
* fast/multicol/newmulticol/spanner1.html:
* fast/multicol/newmulticol/spanner2-expected.html:
* fast/multicol/newmulticol/spanner2.html:
* fast/multicol/newmulticol/spanner3-expected.html:
* fast/multicol/newmulticol/spanner3.html:
* fast/multicol/newmulticol/spanner4-expected.html:
* fast/multicol/newmulticol/spanner4.html:
* fast/multicol/newmulticol/spanner5-expected.html:
* fast/multicol/newmulticol/spanner5.html:
* fast/multicol/newmulticol/spanner6-expected.html:
* fast/multicol/newmulticol/spanner6.html:
* fast/multicol/newmulticol/spanner7-expected.html:
* fast/multicol/newmulticol/spanner7.html:
* fast/multicol/newmulticol/spanner8-expected.html:
* fast/multicol/newmulticol/spanner8.html:
* fast/multicol/newmulticol/spanner9-expected.html:
* fast/multicol/newmulticol/spanner9.html:
* fast/multicol/newmulticol/trailing-margin-with-spanner-expected.html:
* fast/multicol/newmulticol/trailing-margin-with-spanner.html:
* fast/multicol/newmulticol/trailing-margin-with-spanner2-expected.html:
* fast/multicol/newmulticol/trailing-margin-with-spanner2.html:
* fast/multicol/newmulticol/unresolvable-percent-height-2.html:
* fast/multicol/newmulticol/unresolvable-percent-height.html:
* fast/multicol/newmulticol/unresolvable-percent-max-height-2.html:
* fast/multicol/newmulticol/unresolvable-percent-max-height.html:
* fast/multicol/offset-top-left.html:
* fast/multicol/percent-height.html:
* fast/multicol/positioned-outside-of-columns.html:
* fast/multicol/scrolling-column-rules.html:
* fast/multicol/tall-float-expected.html:
* fast/multicol/tall-float.html:
* fast/multicol/transform-inside-opacity.html:
* fast/multicol/zoom-test-expected.html:
* fast/multicol/zoom-test.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@168985 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Put back a symbol removed in r168978 that Safari needs, but deprecate it.

Reviewed by Anders Carlsson.

* Shared/API/c/WKDeprecatedFunctions.cpp:
(WKPreferencesSetRegionBasedColumnsEnabled):
(WKPreferencesGetRegionBasedColumnsEnabled):

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