Changeset 255221 in webkit
- Timestamp:
- Jan 27, 2020 7:01:18 PM (4 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r255219 r255221 1 2020-01-27 Devin Rousso <drousso@apple.com> 2 3 Unreviewed, speculative win build fix after r255191 4 5 * bindings/js/ScriptController.h: 6 * testing/Internals.cpp: 7 (WebCore::Internals::evaluateInWorldIgnoringException): 8 Don't use the `ScriptSourceCode` so we don't have to export its symbol. 9 1 10 2020-01-27 Jonathan Bedard <jbedard@apple.com> 2 11 -
trunk/Source/WebCore/bindings/js/ScriptController.h
r255191 r255221 101 101 102 102 WEBCORE_EXPORT JSC::JSValue executeScriptIgnoringException(const String& script, bool forceUserGesture = false); 103 JSC::JSValue executeScriptInWorldIgnoringException(DOMWrapperWorld&, const String& script, bool forceUserGesture = false);103 WEBCORE_EXPORT JSC::JSValue executeScriptInWorldIgnoringException(DOMWrapperWorld&, const String& script, bool forceUserGesture = false); 104 104 WEBCORE_EXPORT JSC::JSValue executeUserAgentScriptInWorldIgnoringException(DOMWrapperWorld&, const String& script, bool forceUserGesture); 105 105 WEBCORE_EXPORT ValueOrException executeUserAgentScriptInWorld(DOMWrapperWorld&, const String& script, bool forceUserGesture); 106 106 WEBCORE_EXPORT void executeAsynchronousUserAgentScriptInWorld(DOMWrapperWorld&, RunJavaScriptParameters&&, ResolveFunction&&); 107 107 JSC::JSValue evaluateIgnoringException(const ScriptSourceCode&); 108 WEBCORE_EXPORTJSC::JSValue evaluateInWorldIgnoringException(const ScriptSourceCode&, DOMWrapperWorld&);108 JSC::JSValue evaluateInWorldIgnoringException(const ScriptSourceCode&, DOMWrapperWorld&); 109 109 110 110 Expected<void, ExceptionDetails> shouldAllowUserAgentScripts(Document&) const; -
trunk/Source/WebCore/testing/Internals.cpp
r255191 r255221 3494 3494 auto& scriptController = document->frame()->script(); 3495 3495 auto world = ScriptController::createWorld(name); 3496 return scriptController.e valuateInWorldIgnoringException(ScriptSourceCode(source), world);3496 return scriptController.executeScriptInWorldIgnoringException(world, source); 3497 3497 } 3498 3498
Note: See TracChangeset
for help on using the changeset viewer.