Bug 182186 - Scripts should always be allowed when calling FrameLoader::stopAllLoaders.
Summary: Scripts should always be allowed when calling FrameLoader::stopAllLoaders.
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-26 14:24 PST by Per Arne Vollan
Modified: 2018-01-26 14:24 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Per Arne Vollan 2018-01-26 14:24:31 PST
We should be able to add 'RELEASE_ASSERT(ScriptDisallowedScope::InMainThread::isScriptAllowed())' to FrameLoader::stopAllLoaders, but there are currently tests where this assert fails. See the following list of failing tests for mac-WK2.

Regressions: Unexpected crashes (12)
  css3/shapes/shape-outside/shape-image/shape-image-003.html [ Crash ]
  css3/shapes/shape-outside/shape-image/shape-image-008.html [ Crash ]
  css3/shapes/shape-outside/shape-image/shape-image-014.html [ Crash ]
  fast/shapes/shape-outside-floats/shape-outside-image-fit-002.html [ Crash ]
  fast/shapes/shape-outside-floats/shape-outside-image-set.html [ Crash ]
  http/tests/security/text-track-crossorigin.html [ Crash ]
  imported/blink/fast/text-autosizing/print-autosizing.html [ Crash ]
  imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-inline-items-003.html [ Crash ]
  imported/w3c/web-platform-tests/css/css-shapes/shape-outside/shape-image/shape-image-009.html [ Crash ]
  imported/w3c/web-platform-tests/css/css-shapes/shape-outside/shape-image/shape-image-015.html [ Crash ]
  imported/w3c/web-platform-tests/css/css-shapes/shape-outside/shape-image/shape-image-021.html [ Crash ]
  svg/custom/empty-mask.svg [ Crash ]