Timeline
Sep 6, 2015:
- 11:47 PM Changeset in webkit [189461] by
-
- 2 edits in trunk/LayoutTests
Unreviewed, EFL gardening. Many tests have been failed since r188692.
Bug 148470 will try to fix this problem.
- platform/efl/TestExpectations:
- 11:28 PM Changeset in webkit [189460] by
-
- 3 edits in trunk/Source/JavaScriptCore
Gardening: fix broken Windows build after r189454.
Not reviewed.
- JavaScriptCore.vcxproj/testapi/testapi.vcxproj:
- JavaScriptCore.vcxproj/testapi/testapi.vcxproj.filters:
- 11:23 PM Changeset in webkit [189459] by
-
- 2 edits in trunk/LayoutTests
Add one more inspector test that flakily times out.
- platform/mac/TestExpectations: Added inspector/indexeddb/requestDatabaseNames.html.
- 11:17 PM Changeset in webkit [189458] by
-
- 7 edits2 moves3 adds in trunk/Source/JavaScriptCore
Implement the relational instructions in WebAssembly
https://bugs.webkit.org/show_bug.cgi?id=148838
Patch by Sukolsak Sakshuwong <Sukolsak Sakshuwong> on 2015-09-06
Reviewed by Saam Barati.
This patch implements the relational instructions for 32-bit integers in
WebAssembly.
- tests/stress/wasm-arithmetic.js:
- tests/stress/wasm-locals.js:
- tests/stress/wasm-relational.js: Added.
(shouldBe):
- tests/stress/wasm/arithmetic.wasm: Renamed from Source/JavaScriptCore/tests/stress/wasm-arithmetic.wasm.
- tests/stress/wasm/locals.wasm: Renamed from Source/JavaScriptCore/tests/stress/wasm-locals.wasm.
- tests/stress/wasm/relational.wasm: Added.
- wasm/WASMFunctionCompiler.h:
(JSC::WASMFunctionCompiler::buildRelationalI32):
- wasm/WASMFunctionParser.cpp:
(JSC::WASMFunctionParser::parseExpressionI32):
(JSC::WASMFunctionParser::parseRelationalI32ExpressionI32):
- wasm/WASMFunctionParser.h:
- wasm/WASMFunctionSyntaxChecker.h:
(JSC::WASMFunctionSyntaxChecker::buildRelationalI32):
- 11:14 PM Changeset in webkit [189457] by
-
- 2 edits in trunk/LayoutTests
Mark svg/dom/svg-root-lengths.html as a flaky failure
https://bugs.webkit.org/show_bug.cgi?id=148925
- 10:56 PM Changeset in webkit [189456] by
-
- 2 edits in trunk/LayoutTests
Mark svg/as-object/svg-in-object-dynamic-attribute-change.html as a flaky failure
https://bugs.webkit.org/show_bug.cgi?id=148922
- 10:39 PM Changeset in webkit [189455] by
-
- 9 edits1 copy1 add in trunk/Tools
WebKitTestRunner should build for iOS using the default target
https://bugs.webkit.org/show_bug.cgi?id=148918
Reviewed by Daniel Bates.
When WebKitTestRunner was ported to iOS, a separate target (WebKitTestRunnerApp) was created for building the
iOS variant. This is annoying because (1) all tools that invoke xcodebuild need to be taught to build this
non-default target, and (2) a single Xcode scheme cannot be used to build both Mac and iOS variants.
This change adds a new default target (All) and makes it work for both Mac and iOS. Files that were built for
both WebKitTestRunner and WebKitTestRunnerApp are now built in a static library target (WebKitTestRunner (Library)),
and both apps now link this library. Files that are specific to Mac or iOS are excluded on the other platform.
WebKitTestRunnerApp.app (which should be renamed to WebKitTestRunner.app) is skipped when installing on Mac, and
WebKitTestRunner is skipped when installing on iOS.
The target dependency graph now looks like this:
All
WebKitTestRunnerApp
WebKitTestRunner (Library)
WebKitTestRunnerInjectedBundle
Derived Sources
WebKitTestRunner
WebKitTestRunner (Library)
WebKitTestRunnerInjectedBundle
Derived Sources
- Scripts/build-webkit: Stopped building the WebKitTestRunnerApp target on iOS.
- Scripts/build-webkittestrunner: Ditto.
- WebKitTestRunner/Configurations/Base.xcconfig: Set SUPPORTED_PLATFORMS to macosx, iphoneos, and iphonesimulator.
- WebKitTestRunner/Configurations/BaseTarget.xcconfig: Set INSTALL_PATH here since it is the same for all targets.
- WebKitTestRunner/Configurations/InjectedBundle.xcconfig: Stopped setting INSTALL_PATH.
- WebKitTestRunner/Configurations/WebKitTestRunner.xcconfig: Moved frameworks from the build phase to here,
excluded iOS-only files, and skipped installing on iOS.
- WebKitTestRunner/Configurations/WebKitTestRunnerApp.xcconfig: Moved frameworks from the build phase to here,
excluded Mac-only files, and skipped installing on Mac.
- WebKitTestRunner/Configurations/WebKitTestRunnerLibrary.xcconfig: Skipped installing always.
- WebKitTestRunner/Makefile: Stopped building the WebKitTestRunnerApp target on iOS.
- WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj: Added new targets, removed frameworks from
Link Binary With Libraries builds phases, moved common files to the WebKitTestRunner (Library) target, and added
new configuration files.
- 10:19 PM Changeset in webkit [189454] by
-
- 15 edits2 adds in trunk/Source/JavaScriptCore
StackOverflow stack unwinding should stop at native frames.
https://bugs.webkit.org/show_bug.cgi?id=148749
Reviewed by Michael Saboff.
In the present code, after ping-pong'ing back and forth between native and JS
code a few times, if we have a stack overflow on re-entry into the VM to run
JS code's whose stack frame would overflow the JS stack, the code will end up
unwinding past the native function that is making the call to re-enter the VM.
As a result, any clean up code (e.g. destructors for stack variables) in the
skipped native function frame (and its chain of native function callers) will
not be called.
This patch is based on the Michael Saboff's fix of this issue landed on the
jsc-tailcall branch: http://trac.webkit.org/changeset/188555
We now check for the case where there are no JS frames to unwind since the
last native frame, and treat the exception as an unhandled exception. The
native function is responsible for further propagating the exception if needed.
Other supporting work:
- Remove vm->vmEntryFrameForThrow. It should always be the same as vm->topVMEntryFrame.
- Change operationThrowStackOverflowError() to use the throwStackOverflowError() helper function instead of rolling its own.
- Added a test that exercises this edge case. The test should not hang or crash.
- API/tests/PingPongStackOverflowTest.cpp: Added.
(PingPongStackOverflowObject_hasInstance):
(testPingPongStackOverflow):
- API/tests/PingPongStackOverflowTest.h: Added.
- API/tests/testapi.c:
(main):
- JavaScriptCore.xcodeproj/project.pbxproj:
- interpreter/CallFrame.h:
(JSC::ExecState::operator=):
(JSC::ExecState::callerFrame):
(JSC::ExecState::callerFrameOrVMEntryFrame):
(JSC::ExecState::argIndexForRegister):
(JSC::ExecState::callerFrameAndPC):
- interpreter/Interpreter.cpp:
(JSC::UnwindFunctor::UnwindFunctor):
(JSC::UnwindFunctor::operator()):
(JSC::Interpreter::unwind):
- interpreter/Interpreter.h:
(JSC::NativeCallFrameTracer::NativeCallFrameTracer):
(JSC::Interpreter::sampler):
- jit/CCallHelpers.h:
(JSC::CCallHelpers::jumpToExceptionHandler):
- jit/JITExceptions.cpp:
(JSC::genericUnwind):
- jit/JITExceptions.h:
- jit/JITOpcodes.cpp:
(JSC::JIT::emit_op_catch):
- jit/JITOpcodes32_64.cpp:
(JSC::JIT::emit_op_catch):
- jit/JITOperations.cpp:
- llint/LowLevelInterpreter32_64.asm:
- llint/LowLevelInterpreter64.asm:
- runtime/VM.h:
(JSC::VM::exceptionOffset):
(JSC::VM::callFrameForThrowOffset):
(JSC::VM::vmEntryFrameForThrowOffset): Deleted.
(JSC::VM::topVMEntryFrameOffset): Deleted.
- 8:10 PM Changeset in webkit [189453] by
-
- 2 edits in trunk/Source/JavaScriptCore
Unreviewed, disable module tests in Windows until name resolution is fixed
https://bugs.webkit.org/show_bug.cgi?id=148689
Until bug[1] is fixed, we disable the module tests.
Since the local file system name resolution is just implemented in jsc.cpp and
is intended to be used for the module tests, it does not affect JSC framework
and WebKit itself.
[1]: https://bugs.webkit.org/show_bug.cgi?id=148917
- tests/modules.yaml:
- 1:41 PM Changeset in webkit [189452] by
-
- 22 edits3 deletes in trunk
dispatchEvent() should throw an InvalidStateError if the event's initialized flag is not set
https://bugs.webkit.org/show_bug.cgi?id=148800
<rdar://problem/22565782>
<rdar://problem/22565485>
Reviewed by Geoffrey Garen.
Source/WebCore:
dispatchEvent() should throw an InvalidStateError if the event's
initialized flag is not set or its dispatch flag is set, and should
allow dispatching events with an empty type as long as it is
initialized:
https://dom.spec.whatwg.org/#dom-eventtarget-dispatchevent (step 1)
Previously, WebKit relied on the event type being empty to throw a
UNSPECIFIED_EVENT_TYPE_ERR: DOM Events Exception 0. However, this
exception type is outdated and initializing Event.type to an empty
string is legal.
No new tests, already covered by existing tests that were rebaselined.
- dom/Event.cpp:
(WebCore::Event::Event):
(WebCore::Event::initEvent):
- dom/Event.h:
(WebCore::Event::isInitialized):
- dom/EventTarget.cpp:
(WebCore::EventTarget::dispatchEvent):
LayoutTests:
- dom/html/level2/events/dispatchEvent02-expected.txt:
- dom/html/level2/events/dispatchEvent03-expected.txt:
- dom/html/level2/events/dispatchEvent04-expected.txt:
- dom/html/level2/events/dispatchEvent05-expected.txt:
- dom/html/level2/events/dispatchEvent06-expected.txt:
- dom/html/level2/events/dispatchEvent07-expected.txt:
- dom/xhtml/level2/events/dispatchEvent02-expected.txt:
- dom/xhtml/level2/events/dispatchEvent03-expected.txt:
- dom/xhtml/level2/events/dispatchEvent04-expected.txt:
- dom/xhtml/level2/events/dispatchEvent05-expected.txt:
- dom/xhtml/level2/events/dispatchEvent06-expected.txt:
- dom/xhtml/level2/events/dispatchEvent07-expected.txt:
Rebaseline, those tests are outdated and their expected results no
longer matches the behavior of the latest DOM specification.
- fast/dom/DOMException/EventException-expected.txt: Removed.
- fast/dom/DOMException/EventException.html: Removed.
- fast/dom/DOMException/resources/EventException.js: Removed.
Drop this test we no longer throw an EventException in this case.
- fast/dom/Window/dispatchEvent-expected.txt:
Rebaseline.
- fast/events/dispatch-event-being-dispatched-expected.txt:
- fast/events/dispatch-event-being-dispatched.html:
Fix the test to expect the new exception types.
- http/tests/w3c/dom/events/Event-type-empty-expected.txt:
- http/tests/w3c/dom/events/EventTarget-dispatchEvent-expected.txt:
Rebaseline.
- 1:34 PM Changeset in webkit [189451] by
-
- 1 edit6 deletes in trunk/LayoutTests
Unreviewed, drop a few more newly imported W3C media tests that are flaky.
- http/tests/w3c/html/semantics/embedded-content/media-elements/loading-the-media-resource/load-events-networkState-expected.txt: Removed.
- http/tests/w3c/html/semantics/embedded-content/media-elements/loading-the-media-resource/load-events-networkState.html: Removed.
- http/tests/w3c/html/semantics/embedded-content/media-elements/loading-the-media-resource/resource-selection-invoke-set-src-not-in-document-expected.txt: Removed.
- http/tests/w3c/html/semantics/embedded-content/media-elements/loading-the-media-resource/resource-selection-invoke-set-src-not-in-document.html: Removed.
- http/tests/w3c/html/semantics/embedded-content/media-elements/synchronising-multiple-media-elements/media-controllers/task-source-expected.txt: Removed.
- http/tests/w3c/html/semantics/embedded-content/media-elements/synchronising-multiple-media-elements/media-controllers/task-source.html: Removed.
- 1:26 PM Changeset in webkit [189450] by
-
- 1 edit4 deletes in trunk/LayoutTests
Unreviewed, drop a couple of newly imported W3C media tests as they are flaky.
- http/tests/w3c/html/semantics/embedded-content/media-elements/loading-the-media-resource/load-removes-queued-error-event-expected.txt: Removed.
- http/tests/w3c/html/semantics/embedded-content/media-elements/loading-the-media-resource/load-removes-queued-error-event.html: Removed.
- http/tests/w3c/html/semantics/embedded-content/media-elements/loading-the-media-resource/resource-selection-invoke-insert-into-iframe-expected.txt: Removed.
- http/tests/w3c/html/semantics/embedded-content/media-elements/loading-the-media-resource/resource-selection-invoke-insert-into-iframe.html: Removed.
- 1:23 PM Changeset in webkit [189449] by
-
- 2 edits in trunk/LayoutTests
Mark a couple of new W3C ref-tests as failing on iOS.
- platform/ios-simulator/TestExpectations:
- 1:17 PM Changeset in webkit [189448] by
-
- 1 edit31 adds in trunk/LayoutTests
Unreviewed, land iOS baselines for the newly imported W3C HTML tests.
- platform/ios-simulator/http/tests/w3c/html/semantics/forms/constraints/form-validation-checkValidity-expected.txt: Added.
- platform/ios-simulator/http/tests/w3c/html/semantics/forms/constraints/form-validation-reportValidity-expected.txt: Added.
- platform/ios-simulator/http/tests/w3c/html/semantics/forms/constraints/form-validation-validity-badInput-expected.txt: Added.
- platform/ios-simulator/http/tests/w3c/html/semantics/forms/constraints/form-validation-validity-rangeOverflow-expected.txt: Added.
- platform/ios-simulator/http/tests/w3c/html/semantics/forms/constraints/form-validation-validity-rangeUnderflow-expected.txt: Added.
- platform/ios-simulator/http/tests/w3c/html/semantics/forms/constraints/form-validation-validity-stepMismatch-expected.txt: Added.
- platform/ios-simulator/http/tests/w3c/html/semantics/forms/constraints/form-validation-validity-valid-expected.txt: Added.
- platform/ios-simulator/http/tests/w3c/html/semantics/forms/constraints/form-validation-validity-valueMissing-expected.txt: Added.
- platform/ios-simulator/http/tests/w3c/html/semantics/forms/constraints/form-validation-willValidate-expected.txt: Added.
- platform/ios-simulator/http/tests/w3c/html/semantics/forms/textfieldselection/selection-not-application-expected.txt: Added.
- platform/ios-simulator/http/tests/w3c/html/semantics/forms/the-input-element/color-expected.txt: Added.
- platform/ios-simulator/http/tests/w3c/html/semantics/forms/the-input-element/date-expected.txt: Added.
- platform/ios-simulator/http/tests/w3c/html/semantics/forms/the-input-element/datetime-expected.txt: Added.
- platform/ios-simulator/http/tests/w3c/html/semantics/forms/the-input-element/datetime-local-expected.txt: Added.
- platform/ios-simulator/http/tests/w3c/html/semantics/forms/the-input-element/input-textselection-01-expected.txt: Added.
- platform/ios-simulator/http/tests/w3c/html/semantics/forms/the-input-element/month-expected.txt: Added.
- platform/ios-simulator/http/tests/w3c/html/semantics/forms/the-input-element/time-2-expected.txt: Added.
- platform/ios-simulator/http/tests/w3c/html/semantics/forms/the-input-element/time-expected.txt: Added.
- platform/ios-simulator/http/tests/w3c/html/semantics/forms/the-input-element/type-change-state-expected.txt: Added.
- platform/ios-simulator/http/tests/w3c/html/semantics/forms/the-input-element/valueMode-expected.txt: Added.
- platform/ios-simulator/http/tests/w3c/html/semantics/forms/the-input-element/week-expected.txt: Added.
- platform/ios-simulator/http/tests/w3c/html/semantics/forms/the-label-element/labelable-elements-expected.txt: Added.
- platform/ios-simulator/http/tests/w3c/html/semantics/forms/the-meter-element/meter-expected.txt: Added.
- platform/ios-simulator/http/tests/w3c/html/semantics/interfaces-expected.txt: Added.
- 1:04 PM Changeset in webkit [189447] by
-
- 2 edits in trunk/LayoutTests
Unreviewed, skip new media tests on iOS.
- platform/ios-simulator/TestExpectations:
- 12:59 PM Changeset in webkit [189446] by
-
- 2 edits in trunk/LayoutTests
Unreviewed, skip http/tests/w3c/html/semantics/embedded-content/media-elements/* on Win/Release
Skip http/tests/w3c/html/semantics/embedded-content/media-elements/* on Win/Release
as well. Apparently, the "AQMEIOManager::FindIOUnit: error -1" messages can show
up on release builds as well.
- platform/win/TestExpectations:
- 11:40 AM Changeset in webkit [189445] by
-
- 7 edits in trunk
XHR2 timeout property should allow late updates
https://bugs.webkit.org/show_bug.cgi?id=98156
Reviewed by Darin Adler.
Source/WebCore:
Adding a timer within XMLHttpRequest to handle timeouts for asynchronous requests.
This allows easy update of the timeout even after request is sent.
Timeout is still handled by the network backend for synchronous requests (Web worker context).
Covered by updated tests.
- xml/XMLHttpRequest.cpp:
(WebCore::XMLHttpRequest::XMLHttpRequest): Adding timeout timer initialization.
(WebCore::XMLHttpRequest::setTimeout): Updating timeout timer state if request is sent.
(WebCore::XMLHttpRequest::createRequest): Starting timeout timer if needed.
(WebCore::XMLHttpRequest::internalAbort): Stopping timeout timer if needed.
(WebCore::XMLHttpRequest::didFail): Adding comment.
(WebCore::XMLHttpRequest::didFinishLoading): Stopping timeout timer if needed.
- xml/XMLHttpRequest.h:
LayoutTests:
Activating test checking that timeout can be updated after request is sent.
- http/tests/xmlhttprequest/timeout/xmlhttprequest-timeout-overrides-expected.txt:
- http/tests/xmlhttprequest/timeout/xmlhttprequest-timeout-overrides.js:
- http/tests/xmlhttprequest/timeout/xmlhttprequest-timeout-worker-overrides-expected.txt:
- 7:38 AM Changeset in webkit [189444] by
-
- 2 edits in trunk/Source/JavaScriptCore
Simplify JIT::emit_op_mod()
https://bugs.webkit.org/show_bug.cgi?id=148908
Patch by Sukolsak Sakshuwong <Sukolsak Sakshuwong> on 2015-09-06
Reviewed by Michael Saboff.
The IDIV instruction on x86 divides the value in the EDX:EAX registers
by the source operand and stores the quotient in EAX and the remainder
in EDX. Therefore, we store the values that we don't want to be
overwritten by IDIV in registers that are not EAX or EDX. This patch
makes the intention clearer and makes the code easier to read.
- jit/JITArithmetic.cpp:
(JSC::JIT::emit_op_mod):
Sep 5, 2015:
- 11:30 PM Changeset in webkit [189443] by
-
- 2 edits in trunk/Source/JavaScriptCore
Fix JSDollarVMPrototype after r189160.
https://bugs.webkit.org/show_bug.cgi?id=148900
Reviewed by Michael Saboff.
JSDollarVMPrototype needs to be updated to match http://trac.webkit.org/changeset/189160 i.e.
remove the use of JSC::Function bit in its property attributes.
- tools/JSDollarVMPrototype.cpp:
(JSC::JSDollarVMPrototype::finishCreation):
- 7:33 PM Changeset in webkit [189442] by
-
- 2 edits in trunk/Source/WebKit2
Leak in WebContextInjectedBundleClient::getInjectedBundleInitializationUserData
https://bugs.webkit.org/show_bug.cgi?id=148769
Fix suggested by Zan Dobersek.
Reviewed by Darin Adler.
- UIProcess/WebContextInjectedBundleClient.cpp:
(WebKit::WebContextInjectedBundleClient::getInjectedBundleInitializationUserData):
- 6:50 PM Changeset in webkit [189441] by
-
- 2 edits in trunk/Source/WebCore
Remove unused macros from StyleResolver.cpp
https://bugs.webkit.org/show_bug.cgi?id=148163
Reviewed by Andreas Kling.
HANDLE_INHERIT and HANDLE_INHERIT_AND_INITIAL are not used after
StyleBuilder refactoring.
No new tests because there is no behavior change.
- css/StyleResolver.cpp:
Remove HANDLE_INHERIT and HANDLE_INHERIT_AND_INITIAL.
- 5:47 PM WikiStart edited by
- (diff)
- 5:46 PM FontSelection edited by
- (diff)
- 5:45 PM FontSelection edited by
- (diff)
- 5:37 PM FontSelection created by
- 1:54 PM Changeset in webkit [189440] by
-
- 2 edits4 adds in trunk/LayoutTests
Import a couple of Chromium accesskey tests.
https://bugs.webkit.org/show_bug.cgi?id=148865
Reviewed by Daniel Bates.
- fast/forms/access-key-case-insensitive-expected.txt: Added.
- fast/forms/access-key-case-insensitive.html: Added.
- fast/forms/access-key-mutated-expected.txt: Added.
- fast/forms/access-key-mutated.html: Added.
- platform/ios-simulator/TestExpectations:
These tests are asynchronous and use unsupported features; skip them on
iOS so they don't time out.
- 1:43 PM AssociatingInformationWithTests edited by
- (diff)
- 1:41 PM AssociatingInformationWithTests edited by
- (diff)
- 1:39 PM AssociatingInformationWithTests created by
- 12:45 PM Changeset in webkit [189439] by
-
- 2 edits in trunk/Source/JavaScriptCore
Unreviewed, fix the module name resolution in Windows
https://bugs.webkit.org/show_bug.cgi?id=148689
Attempt to fix the module name resolution in Windows.
A module name is represented as the UNIX path under the current module tests.
This fix split the module name with '/' instead of pathSeparator().
This is only utilized by the jsc.cpp for the local module tests.
So, WebKit production and JavaScriptCore framework are not affected by this change.
- jsc.cpp:
(ModuleName::startsWithRoot):
(ModuleName::ModuleName):
(resolvePath):
(GlobalObject::moduleLoaderResolve):
- 11:52 AM Changeset in webkit [189438] by
-
- 72 edits in trunk/Source
Web Inspector: tighten up lifetimes for Agent-owned objects, and initialize agents using contexts
https://bugs.webkit.org/show_bug.cgi?id=148625
Reviewed by Joseph Pecoraro.
All agents own their domain-specific frontend and backend dispatchers. Change so that
they are initialized in constructors rather than when a frontend connects or disconnects.
This may cause additional memory use, but this can be counteracted by lazily creating
some agents that are not required for other agents to function (i.e., runtime and page agents).
To avoid adding frontend/backend dispatcher arguments to every single agent constructor,
change agent construction to take a AgentContext or a subclass of it. This provides agents with
references to objects in the owning InspectorEnvironment subclass that are guaranteed to
outlive all agents. AgentContext and its subclasses follow the existing Agent class hierarchy.
Source/JavaScriptCore:
- inspector/InspectorAgentBase.h:
(Inspector::JSAgentContext::JSAgentContext):
- inspector/JSGlobalObjectInspectorController.cpp:
(Inspector::JSGlobalObjectInspectorController::JSGlobalObjectInspectorController):
(Inspector::JSGlobalObjectInspectorController::connectFrontend):
(Inspector::JSGlobalObjectInspectorController::disconnectFrontend):
(Inspector::JSGlobalObjectInspectorController::disconnectAllFrontends):
(Inspector::JSGlobalObjectInspectorController::appendExtraAgent):
- inspector/JSGlobalObjectInspectorController.h:
- inspector/agents/InspectorAgent.cpp:
(Inspector::InspectorAgent::InspectorAgent):
(Inspector::InspectorAgent::didCreateFrontendAndBackend):
(Inspector::InspectorAgent::willDestroyFrontendAndBackend):
- inspector/agents/InspectorAgent.h:
- inspector/agents/InspectorConsoleAgent.cpp:
(Inspector::InspectorConsoleAgent::InspectorConsoleAgent):
(Inspector::InspectorConsoleAgent::didCreateFrontendAndBackend):
(Inspector::InspectorConsoleAgent::willDestroyFrontendAndBackend):
- inspector/agents/InspectorConsoleAgent.h:
- inspector/agents/InspectorDebuggerAgent.cpp:
(Inspector::InspectorDebuggerAgent::InspectorDebuggerAgent):
(Inspector::InspectorDebuggerAgent::didCreateFrontendAndBackend):
(Inspector::InspectorDebuggerAgent::willDestroyFrontendAndBackend):
- inspector/agents/InspectorDebuggerAgent.h:
- inspector/agents/InspectorRuntimeAgent.cpp:
(Inspector::InspectorRuntimeAgent::InspectorRuntimeAgent):
- inspector/agents/InspectorRuntimeAgent.h:
- inspector/agents/JSGlobalObjectConsoleAgent.cpp:
(Inspector::JSGlobalObjectConsoleAgent::JSGlobalObjectConsoleAgent):
- inspector/agents/JSGlobalObjectConsoleAgent.h:
- inspector/agents/JSGlobalObjectDebuggerAgent.cpp:
(Inspector::JSGlobalObjectDebuggerAgent::JSGlobalObjectDebuggerAgent):
- inspector/agents/JSGlobalObjectDebuggerAgent.h:
- inspector/agents/JSGlobalObjectRuntimeAgent.cpp:
(Inspector::JSGlobalObjectRuntimeAgent::JSGlobalObjectRuntimeAgent):
(Inspector::JSGlobalObjectRuntimeAgent::didCreateFrontendAndBackend):
- inspector/agents/JSGlobalObjectRuntimeAgent.h:
- inspector/augmentable/AlternateDispatchableAgent.h:
- inspector/augmentable/AugmentableInspectorController.h: Alternate agents should
have access to frontend router and backend dispatcher at construction time.
- inspector/scripts/codegen/cpp_generator_templates.py:
- inspector/scripts/codegen/generate_cpp_frontend_dispatcher_implementation.py:
(CppFrontendDispatcherImplementationGenerator._generate_dispatcher_implementation_for_event):
- inspector/scripts/codegen/objc_generator_templates.py:
Source/WebCore:
No new tests, no behavior changed.
- bindings/js/WorkerScriptDebugServer.cpp:
(WebCore::WorkerScriptDebugServer::WorkerScriptDebugServer):
(WebCore::WorkerScriptDebugServer::addListener):
(WebCore::WorkerScriptDebugServer::removeListener):
(WebCore::WorkerScriptDebugServer::runEventLoopWhilePaused):
- bindings/js/WorkerScriptDebugServer.h:
- inspector/InspectorApplicationCacheAgent.cpp:
(WebCore::InspectorApplicationCacheAgent::InspectorApplicationCacheAgent):
(WebCore::InspectorApplicationCacheAgent::didCreateFrontendAndBackend):
(WebCore::InspectorApplicationCacheAgent::getFramesWithManifests):
(WebCore::InspectorApplicationCacheAgent::willDestroyFrontendAndBackend):
- inspector/InspectorApplicationCacheAgent.h:
- inspector/InspectorCSSAgent.cpp:
(WebCore::InspectorCSSAgent::InspectorCSSAgent):
(WebCore::InspectorCSSAgent::didCreateFrontendAndBackend):
(WebCore::InspectorCSSAgent::willDestroyFrontendAndBackend):
- inspector/InspectorCSSAgent.h:
- inspector/InspectorController.cpp:
(WebCore::InspectorController::InspectorController):
- inspector/InspectorDOMAgent.cpp:
(WebCore::InspectorDOMAgent::InspectorDOMAgent):
(WebCore::InspectorDOMAgent::didCreateFrontendAndBackend):
(WebCore::InspectorDOMAgent::willDestroyFrontendAndBackend):
- inspector/InspectorDOMAgent.h:
- inspector/InspectorDOMDebuggerAgent.cpp:
(WebCore::InspectorDOMDebuggerAgent::InspectorDOMDebuggerAgent):
(WebCore::InspectorDOMDebuggerAgent::didCreateFrontendAndBackend):
(WebCore::InspectorDOMDebuggerAgent::willDestroyFrontendAndBackend):
- inspector/InspectorDOMDebuggerAgent.h:
- inspector/InspectorDOMStorageAgent.cpp:
(WebCore::InspectorDOMStorageAgent::InspectorDOMStorageAgent):
(WebCore::InspectorDOMStorageAgent::didCreateFrontendAndBackend):
(WebCore::InspectorDOMStorageAgent::findStorageArea):
(WebCore::InspectorDOMStorageAgent::willDestroyFrontendAndBackend):
- inspector/InspectorDOMStorageAgent.h:
- inspector/InspectorDatabaseAgent.cpp:
(WebCore::InspectorDatabaseAgent::InspectorDatabaseAgent):
(WebCore::InspectorDatabaseAgent::didCreateFrontendAndBackend):
(WebCore::InspectorDatabaseAgent::willDestroyFrontendAndBackend):
- inspector/InspectorDatabaseAgent.h:
- inspector/InspectorIndexedDBAgent.cpp:
(WebCore::InspectorIndexedDBAgent::InspectorIndexedDBAgent):
(WebCore::InspectorIndexedDBAgent::didCreateFrontendAndBackend):
(WebCore::InspectorIndexedDBAgent::willDestroyFrontendAndBackend):
- inspector/InspectorIndexedDBAgent.h:
- inspector/InspectorInstrumentation.cpp:
(WebCore::InspectorInstrumentation::didClearWindowObjectInWorldImpl):
- inspector/InspectorLayerTreeAgent.cpp:
(WebCore::InspectorLayerTreeAgent::InspectorLayerTreeAgent):
(WebCore::InspectorLayerTreeAgent::didCreateFrontendAndBackend):
(WebCore::InspectorLayerTreeAgent::willDestroyFrontendAndBackend):
- inspector/InspectorLayerTreeAgent.h:
- inspector/InspectorPageAgent.cpp:
(WebCore::InspectorPageAgent::InspectorPageAgent):
(WebCore::InspectorPageAgent::didCreateFrontendAndBackend):
(WebCore::InspectorPageAgent::enable):
(WebCore::InspectorPageAgent::reload):
(WebCore::InspectorPageAgent::navigate):
(WebCore::InspectorPageAgent::getCookies):
(WebCore::InspectorPageAgent::deleteCookie):
(WebCore::InspectorPageAgent::getResourceTree):
(WebCore::InspectorPageAgent::searchInResources):
(WebCore::InspectorPageAgent::getScriptExecutionStatus):
(WebCore::InspectorPageAgent::setScriptExecutionDisabled):
(WebCore::InspectorPageAgent::mainFrame):
(WebCore::InspectorPageAgent::findFrameWithSecurityOrigin):
(WebCore::InspectorPageAgent::buildObjectForFrame):
(WebCore::InspectorPageAgent::buildObjectForFrameTree):
(WebCore::InspectorPageAgent::setEmulatedMedia):
(WebCore::InspectorPageAgent::getCompositingBordersVisible):
(WebCore::InspectorPageAgent::setCompositingBordersVisible):
(WebCore::InspectorPageAgent::snapshotNode):
(WebCore::InspectorPageAgent::snapshotRect):
(WebCore::InspectorPageAgent::archive):
(WebCore::InspectorPageAgent::willDestroyFrontendAndBackend):
- inspector/InspectorPageAgent.h:
- inspector/InspectorReplayAgent.cpp:
(WebCore::InspectorReplayAgent::InspectorReplayAgent):
(WebCore::InspectorReplayAgent::didCreateFrontendAndBackend):
(WebCore::InspectorReplayAgent::willDestroyFrontendAndBackend):
- inspector/InspectorReplayAgent.h:
- inspector/InspectorResourceAgent.cpp:
(WebCore::InspectorResourceAgent::InspectorResourceAgent):
(WebCore::InspectorResourceAgent::didCreateFrontendAndBackend):
(WebCore::InspectorResourceAgent::willDestroyFrontendAndBackend):
- inspector/InspectorResourceAgent.h:
- inspector/InspectorTimelineAgent.cpp:
(WebCore::InspectorTimelineAgent::didCreateFrontendAndBackend):
(WebCore::InspectorTimelineAgent::InspectorTimelineAgent):
(WebCore::InspectorTimelineAgent::willDestroyFrontendAndBackend):
(WebCore::InspectorTimelineAgent::page):
- inspector/InspectorTimelineAgent.h:
- inspector/InspectorWebAgentBase.h:
(WebCore::WebAgentContext::WebAgentContext):
(WebCore::PageAgentContext::PageAgentContext):
(WebCore::WorkerAgentContext::WorkerAgentContext):
(WebCore::InspectorAgentBase::InspectorAgentBase):
- inspector/InspectorWorkerAgent.cpp:
(WebCore::InspectorWorkerAgent::InspectorWorkerAgent):
(WebCore::InspectorWorkerAgent::didCreateFrontendAndBackend):
(WebCore::InspectorWorkerAgent::willDestroyFrontendAndBackend):
- inspector/InspectorWorkerAgent.h:
- inspector/PageConsoleAgent.cpp:
(WebCore::PageConsoleAgent::PageConsoleAgent):
- inspector/PageConsoleAgent.h:
- inspector/PageDebuggerAgent.cpp:
(WebCore::PageDebuggerAgent::PageDebuggerAgent):
(WebCore::PageDebuggerAgent::sourceMapURLForScript):
(WebCore::PageDebuggerAgent::breakpointActionLog):
(WebCore::PageDebuggerAgent::injectedScriptForEval):
- inspector/PageDebuggerAgent.h:
- inspector/PageRuntimeAgent.cpp:
(WebCore::PageRuntimeAgent::PageRuntimeAgent):
(WebCore::PageRuntimeAgent::didCreateFrontendAndBackend):
(WebCore::PageRuntimeAgent::injectedScriptForEval):
(WebCore::PageRuntimeAgent::reportExecutionContextCreation):
(WebCore::PageRuntimeAgent::willDestroyFrontendAndBackend):
- inspector/PageRuntimeAgent.h:
- inspector/WebConsoleAgent.cpp:
(WebCore::WebConsoleAgent::WebConsoleAgent):
- inspector/WebConsoleAgent.h:
- inspector/WebDebuggerAgent.cpp:
(WebCore::WebDebuggerAgent::WebDebuggerAgent):
- inspector/WebDebuggerAgent.h:
- inspector/WorkerConsoleAgent.cpp:
(WebCore::WorkerConsoleAgent::WorkerConsoleAgent):
- inspector/WorkerConsoleAgent.h:
- inspector/WorkerDebuggerAgent.cpp:
(WebCore::WorkerDebuggerAgent::WorkerDebuggerAgent):
(WebCore::WorkerDebuggerAgent::~WorkerDebuggerAgent):
(WebCore::WorkerDebuggerAgent::interruptAndDispatchInspectorCommands):
(WebCore::WorkerDebuggerAgent::breakpointActionLog):
(WebCore::WorkerDebuggerAgent::injectedScriptForEval):
- inspector/WorkerDebuggerAgent.h:
- inspector/WorkerInspectorController.cpp:
(WebCore::WorkerInspectorController::WorkerInspectorController):
- inspector/WorkerRuntimeAgent.cpp:
(WebCore::WorkerRuntimeAgent::WorkerRuntimeAgent):
(WebCore::WorkerRuntimeAgent::didCreateFrontendAndBackend):
(WebCore::WorkerRuntimeAgent::injectedScriptForEval):
(WebCore::WorkerRuntimeAgent::willDestroyFrontendAndBackend):
- inspector/WorkerRuntimeAgent.h:
- 10:44 AM Changeset in webkit [189437] by
-
- 2 edits in trunk/LayoutTests
Unreviewed, skip http/tests/w3c/html/semantics/embedded-content/media-elements/* tests on Win/Debug.
Filed Bug 148903 to track the problem.
- platform/win/TestExpectations:
- 10:33 AM Changeset in webkit [189436] by
-
- 2 edits in trunk/LayoutTests
Unreviewed, mark imported/w3c/css/css-multicol-1/multicol-span-all-001.xht as failing on Windows.
- platform/win/TestExpectations:
- 10:33 AM Changeset in webkit [189435] by
-
- 4 edits in trunk/Tools
Web Inspector: Improve prepare-ChangeLog for multiple cases
https://bugs.webkit.org/show_bug.cgi?id=148875
Patch by Joseph Pecoraro <Joseph Pecoraro> on 2015-09-05
Reviewed by Timothy Hatcher.
- Scripts/prepare-ChangeLog:
(get_function_line_ranges_for_javascript):
- We were ignoring everything inside of an anonymous function expression, such as (function(){ ... }), which made InjectedScriptSource produce nothing. Better handle this by inserting a few tweaks.
- Allow method syntax outside of classes as long as they are at the global level.
- Avoid treating "get" and "set" as getter/setter functions in bad contexts.
- Scripts/webkitperl/prepare-ChangeLog_unittest/resources/javascript_unittests-expected.txt:
- Scripts/webkitperl/prepare-ChangeLog_unittest/resources/javascript_unittests.js:
(Foo.prototype.method1):
(Foo.prototype.method2):
(Foo.prototype.method3.innerFunction):
(Foo.prototype.method3):
(insideGlobalAnonymousFunctionExpression):
(foo.insideGlobalFunctionExpression):
(IssueWithMapGetAndSet.prototype.method1.nestedFunctionInsideMethod1):
(IssueWithMapGetAndSet.prototype.method1):
(IssueWithMapGetAndSet.prototype.method2):
(IssueWithMapGetAndSet.prototype.method3):
(IssueWithMapGetAndSet):
- 10:27 AM Changeset in webkit [189434] by
-
- 1 edit28 adds in trunk/LayoutTests
Unreviewed, land Windows baselines for the new W3C html tests imported in r189394.
- platform/win/http/tests/w3c/html/dom/interfaces-expected.txt: Added.
- platform/win/http/tests/w3c/html/semantics/embedded-content/media-elements/mime-types/canPlayType-expected.txt: Added.
- platform/win/http/tests/w3c/html/semantics/embedded-content/the-img-element/sizes/parse-a-sizes-attribute-expected.txt: Added.
- platform/win/http/tests/w3c/html/semantics/embedded-content/the-img-element/srcset/parse-a-srcset-attribute-expected.txt: Added.
- platform/win/http/tests/w3c/html/semantics/embedded-content/the-img-element/srcset/select-an-image-source-expected.txt: Added.
- platform/win/http/tests/w3c/html/semantics/embedded-content/the-img-element/update-the-source-set-expected.txt: Added.
- platform/win/http/tests/w3c/html/semantics/forms/constraints/form-validation-validity-badInput-expected.txt: Added.
- platform/win/http/tests/w3c/html/semantics/forms/constraints/form-validation-willValidate-expected.txt: Added.
- platform/win/http/tests/w3c/html/semantics/forms/textfieldselection/selection-not-application-expected.txt: Added.
- platform/win/http/tests/w3c/html/semantics/forms/textfieldselection/textfieldselection-setSelectionRange-expected.txt: Added.
- platform/win/http/tests/w3c/html/semantics/forms/the-input-element/color-expected.txt: Added.
- platform/win/http/tests/w3c/html/semantics/forms/the-input-element/input-textselection-01-expected.txt: Added.
- platform/win/http/tests/w3c/html/semantics/forms/the-input-element/type-change-state-expected.txt: Added.
- platform/win/http/tests/w3c/html/semantics/forms/the-input-element/valueMode-expected.txt: Added.
- 9:06 AM Changeset in webkit [189433] by
-
- 75 edits1 delete in trunk/Source
Web Inspector: agents should send messages through FrontendRouter instead of FrontendChannel
https://bugs.webkit.org/show_bug.cgi?id=148492
Reviewed by Joseph Pecoraro.
Source/JavaScriptCore:
Replace uses of FrontendChannel with FrontendRouter. Minor cleanups along the way.
Make AgentRegistry automatically signal discardAgent() in its destructor, since it always
gets executed in the owning controller's destructor anyway.
- inspector/InspectorAgentBase.h:
- inspector/InspectorAgentRegistry.cpp:
(Inspector::AgentRegistry::~AgentRegistry):
(Inspector::AgentRegistry::didCreateFrontendAndBackend):
(Inspector::AgentRegistry::willDestroyFrontendAndBackend):
(Inspector::AgentRegistry::discardAgents): Deleted.
- inspector/InspectorAgentRegistry.h:
- inspector/InspectorBackendDispatcher.cpp:
- inspector/InspectorFrontendRouter.cpp:
(Inspector::FrontendRouter::leakChannel): Deleted, no longer necessary.
- inspector/InspectorFrontendRouter.h:
- inspector/JSGlobalObjectInspectorController.cpp:
(Inspector::JSGlobalObjectInspectorController::JSGlobalObjectInspectorController):
(Inspector::JSGlobalObjectInspectorController::connectFrontend):
(Inspector::JSGlobalObjectInspectorController::appendExtraAgent):
(Inspector::JSGlobalObjectInspectorController::~JSGlobalObjectInspectorController):
- inspector/JSGlobalObjectInspectorController.h:
- inspector/agents/InspectorAgent.cpp:
(Inspector::InspectorAgent::didCreateFrontendAndBackend):
- inspector/agents/InspectorAgent.h:
- inspector/agents/InspectorConsoleAgent.cpp:
(Inspector::InspectorConsoleAgent::didCreateFrontendAndBackend):
- inspector/agents/InspectorConsoleAgent.h:
- inspector/agents/InspectorDebuggerAgent.cpp:
(Inspector::InspectorDebuggerAgent::didCreateFrontendAndBackend):
- inspector/agents/InspectorDebuggerAgent.h:
- inspector/agents/JSGlobalObjectRuntimeAgent.cpp:
(Inspector::JSGlobalObjectRuntimeAgent::didCreateFrontendAndBackend):
- inspector/agents/JSGlobalObjectRuntimeAgent.h:
- inspector/augmentable/AlternateDispatchableAgent.h:
- inspector/remote/RemoteInspectorDebuggable.cpp:
- inspector/scripts/codegen/cpp_generator_templates.py:
- inspector/scripts/codegen/generate_cpp_backend_dispatcher_implementation.py:
(CppBackendDispatcherImplementationGenerator.generate_output):
- inspector/scripts/codegen/generate_cpp_frontend_dispatcher_header.py:
(CppFrontendDispatcherHeaderGenerator.generate_output.FrontendRouter):
(CppFrontendDispatcherHeaderGenerator.generate_output):
- inspector/scripts/codegen/generate_cpp_frontend_dispatcher_implementation.py:
(CppFrontendDispatcherImplementationGenerator.generate_output):
(CppFrontendDispatcherImplementationGenerator._generate_dispatcher_implementation_for_event):
- inspector/scripts/codegen/generate_objc_backend_dispatcher_implementation.py:
(ObjCConfigurationImplementationGenerator.generate_output):
- inspector/scripts/codegen/generate_objc_frontend_dispatcher_implementation.py:
(ObjCFrontendDispatcherImplementationGenerator.generate_output):
Source/WebCore:
Replace uses of FrontendChannel with FrontendRouter. Minor code cleanup along the way.
No new tests, no behavior changed.
- WebCore.vcxproj/WebCore.vcxproj:
- WebCore.vcxproj/WebCore.vcxproj.filters:
- WebCore.xcodeproj/project.pbxproj:
- inspector/InspectorApplicationCacheAgent.cpp:
(WebCore::InspectorApplicationCacheAgent::didCreateFrontendAndBackend):
- inspector/InspectorApplicationCacheAgent.h:
- inspector/InspectorCSSAgent.cpp:
(WebCore::InspectorCSSAgent::didCreateFrontendAndBackend):
- inspector/InspectorCSSAgent.h:
- inspector/InspectorController.cpp:
(WebCore::InspectorController::connectFrontend):
(WebCore::InspectorController::~InspectorController): No need to call discardAgents().
- inspector/InspectorDOMAgent.cpp:
(WebCore::InspectorDOMAgent::didCreateFrontendAndBackend):
- inspector/InspectorDOMAgent.h:
- inspector/InspectorDOMDebuggerAgent.cpp:
(WebCore::InspectorDOMDebuggerAgent::didCreateFrontendAndBackend):
- inspector/InspectorDOMDebuggerAgent.h:
- inspector/InspectorDOMStorageAgent.cpp:
(WebCore::InspectorDOMStorageAgent::didCreateFrontendAndBackend):
- inspector/InspectorDOMStorageAgent.h:
- inspector/InspectorDatabaseAgent.cpp:
(WebCore::InspectorDatabaseAgent::didCreateFrontendAndBackend):
- inspector/InspectorDatabaseAgent.h:
- inspector/InspectorForwarding.h: Removed.
- inspector/InspectorIndexedDBAgent.cpp:
(WebCore::InspectorIndexedDBAgent::didCreateFrontendAndBackend):
- inspector/InspectorIndexedDBAgent.h:
- inspector/InspectorLayerTreeAgent.cpp:
(WebCore::InspectorLayerTreeAgent::didCreateFrontendAndBackend):
- inspector/InspectorLayerTreeAgent.h:
- inspector/InspectorPageAgent.cpp:
(WebCore::InspectorPageAgent::didCreateFrontendAndBackend):
- inspector/InspectorPageAgent.h:
- inspector/InspectorReplayAgent.cpp:
(WebCore::InspectorReplayAgent::didCreateFrontendAndBackend):
- inspector/InspectorReplayAgent.h:
- inspector/InspectorResourceAgent.cpp:
(WebCore::InspectorResourceAgent::didCreateFrontendAndBackend):
- inspector/InspectorResourceAgent.h:
- inspector/InspectorTimelineAgent.cpp:
(WebCore::InspectorTimelineAgent::didCreateFrontendAndBackend):
- inspector/InspectorTimelineAgent.h:
- inspector/InspectorWebAgentBase.h:
- inspector/InspectorWorkerAgent.cpp:
(WebCore::InspectorWorkerAgent::didCreateFrontendAndBackend):
- inspector/InspectorWorkerAgent.h:
- inspector/PageRuntimeAgent.cpp:
(WebCore::PageRuntimeAgent::didCreateFrontendAndBackend):
- inspector/PageRuntimeAgent.h:
- inspector/WorkerInspectorController.cpp:
(WebCore::WorkerInspectorController::connectFrontend):
- inspector/WorkerInspectorController.h:
- inspector/WorkerRuntimeAgent.cpp:
(WebCore::WorkerRuntimeAgent::didCreateFrontendAndBackend):
- inspector/WorkerRuntimeAgent.h:
- page/PageDebuggable.cpp:
- testing/Internals.cpp:
Source/WebKit/mac:
- WebCoreSupport/WebInspectorClient.h: Clean up the forward declarations, don't use InspectorForwarding.h.
- WebCoreSupport/WebInspectorClient.mm:
(WebInspectorClient::openInspectorFrontend):
Source/WebKit/win:
Stop using InspectorForwarding.h.
- WebCoreSupport/WebInspectorClient.h:
Source/WebKit2:
Stop using InspectorForwarding.h.
- WebProcess/WebPage/WebInspector.h:
- WebProcess/WebPage/WebInspectorUI.h:
- 1:47 AM Changeset in webkit [189432] by
-
- 11 edits in trunk/Source/WebCore
Add a new ResourceLoaderOption to avoid page defers loading mechanisms for inspector
https://bugs.webkit.org/show_bug.cgi?id=148727
Patch by Joseph Pecoraro <Joseph Pecoraro> on 2015-09-05
Reviewed by Antti Koivisto.
This will be tested shortly by inspector tests.
- loader/ResourceLoaderOptions.h:
(WebCore::ResourceLoaderOptions::ResourceLoaderOptions):
(WebCore::ResourceLoaderOptions::defersLoadingPolicy):
(WebCore::ResourceLoaderOptions::setDefersLoadingPolicy):
Add a new policy for defers loading. The default is to allow defers loading.
- loader/ResourceLoader.cpp:
(WebCore::ResourceLoader::ResourceLoader):
(WebCore::ResourceLoader::init):
(WebCore::ResourceLoader::setDefersLoading):
Respect the defers loading policy whenever we would set defers loading status.
- inspector/InspectorResourceAgent.cpp:
(WebCore::InspectorResourceAgent::loadResource):
Switch from incorrectly changing the defersLoading state of the loader
to setting an option to disallow defers loading entirely for the loader.
- loader/DocumentLoader.cpp:
(WebCore::DocumentLoader::startLoadingMainResource):
- loader/MediaResourceLoader.cpp:
(WebCore::MediaResourceLoader::start):
- loader/NetscapePlugInStreamLoader.cpp:
(WebCore::NetscapePlugInStreamLoader::NetscapePlugInStreamLoader):
- loader/cache/CachedResourceLoader.cpp:
(WebCore::CachedResourceLoader::requestUserCSSStyleSheet):
(WebCore::CachedResourceLoader::defaultCachedResourceOptions):
- loader/icon/IconLoader.cpp:
(WebCore::IconLoader::startLoading):
- platform/graphics/avfoundation/cf/WebCoreAVCFResourceLoader.cpp:
(WebCore::WebCoreAVCFResourceLoader::startLoading):
- platform/graphics/avfoundation/objc/WebCoreAVFResourceLoader.mm:
(WebCore::WebCoreAVFResourceLoader::startLoading):
Add the new value to instance of the longhand ResourceLoaderOptions constructor.
- 12:44 AM Changeset in webkit [189431] by
-
- 9 edits156 adds in trunk
[ES6] Enable ES6 Module in JSC shell by default
https://bugs.webkit.org/show_bug.cgi?id=148689
Reviewed by Geoffrey Garen.
Source/JavaScriptCore:
Enable ES6 Modules in JSC shell by default. Compile time flag is left for WebCore.
Since the entry point to evaluate the modules are completely separated from the usual
entry point to evaluate the script, we can safely enable ES6 modules in JSC shell.
And add bunch of tests for ES6 Modules.
- jsc.cpp:
(GlobalObject::finishCreation):
(functionLoadModule):
(runWithScripts):
(printUsageStatement): Deleted.
(CommandLine::parseArguments): Deleted.
- parser/Parser.cpp:
(JSC::Parser<LexerType>::parseInner): Deleted.
- tests/modules.yaml: Added.
- tests/modules/aliasing.js: Added.
- tests/modules/aliasing/drink-2.js: Added.
(export.let.Cappuccino.string_appeared_here.export.changeCappuccino):
- tests/modules/aliasing/drink.js: Added.
(export.changeCocoa):
- tests/modules/cyclic-may-produce-tdz.js: Added.
- tests/modules/cyclic-may-produce-tdz/1.js: Added.
- tests/modules/cyclic-may-produce-tdz/2.js: Added.
- tests/modules/default-error/main.js: Added.
- tests/modules/default-value-case-should-be-copied.js: Added.
- tests/modules/default-value-case-should-be-copied/module.js: Added.
(export.changeValue):
- tests/modules/defaults.js: Added.
- tests/modules/defaults/Cappuccino.js: Added.
- tests/modules/defaults/Cocoa.js: Added.
(export.default.Cocoa):
- tests/modules/defaults/Matcha.js: Added.
- tests/modules/destructuring-export.js: Added.
- tests/modules/destructuring-export/array.js: Added.
- tests/modules/destructuring-export/main.js: Added.
- tests/modules/execution-order-cyclic.js: Added.
- tests/modules/execution-order-cyclic/1.js: Added.
- tests/modules/execution-order-cyclic/10.js: Added.
- tests/modules/execution-order-cyclic/11.js: Added.
- tests/modules/execution-order-cyclic/2.js: Added.
- tests/modules/execution-order-cyclic/3.js: Added.
- tests/modules/execution-order-cyclic/4.js: Added.
- tests/modules/execution-order-cyclic/5.js: Added.
- tests/modules/execution-order-cyclic/6.js: Added.
- tests/modules/execution-order-cyclic/7.js: Added.
- tests/modules/execution-order-cyclic/8.js: Added.
- tests/modules/execution-order-cyclic/9.js: Added.
- tests/modules/execution-order-dag.js: Added.
- tests/modules/execution-order-dag/1.js: Added.
- tests/modules/execution-order-dag/10.js: Added.
- tests/modules/execution-order-dag/2.js: Added.
- tests/modules/execution-order-dag/3.js: Added.
- tests/modules/execution-order-dag/4.js: Added.
- tests/modules/execution-order-dag/5.js: Added.
- tests/modules/execution-order-dag/6.js: Added.
- tests/modules/execution-order-dag/7.js: Added.
- tests/modules/execution-order-dag/8.js: Added.
- tests/modules/execution-order-dag/9.js: Added.
- tests/modules/execution-order-depth.js: Added.
- tests/modules/execution-order-depth/1.js: Added.
- tests/modules/execution-order-depth/2.js: Added.
- tests/modules/execution-order-depth/3.js: Added.
- tests/modules/execution-order-self.js: Added.
- tests/modules/execution-order-sibling.js: Added.
- tests/modules/execution-order-sibling/1.js: Added.
- tests/modules/execution-order-sibling/2.js: Added.
- tests/modules/execution-order-sibling/3.js: Added.
- tests/modules/execution-order-tree.js: Added.
- tests/modules/execution-order-tree/1.js: Added.
- tests/modules/execution-order-tree/10.js: Added.
- tests/modules/execution-order-tree/11.js: Added.
- tests/modules/execution-order-tree/2.js: Added.
- tests/modules/execution-order-tree/3.js: Added.
- tests/modules/execution-order-tree/4.js: Added.
- tests/modules/execution-order-tree/5.js: Added.
- tests/modules/execution-order-tree/6.js: Added.
- tests/modules/execution-order-tree/7.js: Added.
- tests/modules/execution-order-tree/8.js: Added.
- tests/modules/execution-order-tree/9.js: Added.
- tests/modules/export-conflict-ok.js: Added.
- tests/modules/export-conflict-ok/A.js: Added.
- tests/modules/export-conflict-ok/B.js: Added.
- tests/modules/export-conflict-ok/main.js: Added.
- tests/modules/export-from.js: Added.
- tests/modules/export-from/main.js: Added.
- tests/modules/export-from/second.js: Added.
- tests/modules/export-with-declarations-list.js: Added.
- tests/modules/export-with-declarations-list/main.js: Added.
- tests/modules/exported-function-may-be-called-before-module-is-executed.js: Added.
- tests/modules/exported-function-may-be-called-before-module-is-executed/1.js: Added.
- tests/modules/exported-function-may-be-called-before-module-is-executed/2.js: Added.
(export.add):
(export.raise):
- tests/modules/import-error.js: Added.
- tests/modules/import-error/export-ambiguous-1.js: Added.
- tests/modules/import-error/export-ambiguous-2.js: Added.
- tests/modules/import-error/export-ambiguous.js: Added.
- tests/modules/import-error/export-default-from-star-2.js: Added.
(export.default.Cocoa):
- tests/modules/import-error/export-default-from-star.js: Added.
- tests/modules/import-error/export-not-found.js: Added.
- tests/modules/import-error/import-ambiguous.js: Added.
- tests/modules/import-error/import-default-from-star.js: Added.
- tests/modules/import-error/import-not-found.js: Added.
- tests/modules/imported-bindings-are-immutable.js: Added.
- tests/modules/imported-bindings-are-immutable/bindings.js: Added.
(export.functionDeclaration):
(export.classDeclaration):
- tests/modules/imported-bindings-can-be-changed-in-original-module.js: Added.
- tests/modules/imported-bindings-can-be-changed-in-original-module/bindings.js: Added.
- tests/modules/indirect-export-error.js: Added.
- tests/modules/indirect-export-error/indirect-export-ambiguous-2.js: Added.
- tests/modules/indirect-export-error/indirect-export-ambiguous-3.js: Added.
- tests/modules/indirect-export-error/indirect-export-ambiguous-4.js: Added.
- tests/modules/indirect-export-error/indirect-export-ambiguous.js: Added.
- tests/modules/indirect-export-error/indirect-export-default-2.js: Added.
- tests/modules/indirect-export-error/indirect-export-default-3.js: Added.
(export.default.Cocoa):
- tests/modules/indirect-export-error/indirect-export-default.js: Added.
- tests/modules/indirect-export-error/indirect-export-not-found-2.js: Added.
- tests/modules/indirect-export-error/indirect-export-not-found.js: Added.
- tests/modules/module-eval.js: Added.
- tests/modules/module-eval/A.js: Added.
- tests/modules/module-eval/B.js: Added.
- tests/modules/module-eval/drink.js: Added.
- tests/modules/module-is-strict-code.js: Added.
- tests/modules/namespace-ambiguous.js: Added.
- tests/modules/namespace-ambiguous/ambiguous-2.js: Added.
- tests/modules/namespace-ambiguous/ambiguous-3.js: Added.
- tests/modules/namespace-ambiguous/ambiguous-4.js: Added.
- tests/modules/namespace-ambiguous/ambiguous.js: Added.
- tests/modules/namespace-error.js: Added.
- tests/modules/namespace-error/namespace-local-error-should-hide-global-ambiguity-2.js: Added.
- tests/modules/namespace-error/namespace-local-error-should-hide-global-ambiguity-3.js: Added.
- tests/modules/namespace-error/namespace-local-error-should-hide-global-ambiguity-4.js: Added.
- tests/modules/namespace-error/namespace-local-error-should-hide-global-ambiguity-5.js: Added.
- tests/modules/namespace-error/namespace-local-error-should-hide-global-ambiguity-6.js: Added.
- tests/modules/namespace-error/namespace-local-error-should-hide-global-ambiguity-7.js: Added.
- tests/modules/namespace-error/namespace-local-error-should-hide-global-ambiguity.js: Added.
- tests/modules/namespace-tdz.js: Added.
- tests/modules/namespace-tdz/A.js: Added.
- tests/modules/namespace-tdz/B.js: Added.
(export.later):
- tests/modules/namespace-tdz/main.js: Added.
- tests/modules/namespace.js: Added.
- tests/modules/namespace/additional-drink.js: Added.
- tests/modules/namespace/drink.js: Added.
(export.default.changeCappuccino):
- tests/modules/namespace/more-additional-drink.js: Added.
- tests/modules/resources/assert.js: Added.
(export.shouldBe):
(export.shouldThrow):
- tests/modules/scopes.js: Added.
- tests/modules/scopes/additional-drink.js: Added.
- tests/modules/scopes/drink.js: Added.
(export.default.changeCappuccino):
- tests/modules/scopes/more-additional-drink.js: Added.
- tests/modules/this-should-be-undefined.js: Added.
- tests/stress/modules-syntax-error-with-names.js:
- tests/stress/modules-syntax-error.js:
- tests/stress/modules-syntax.js:
Tools:
- Scripts/run-javascriptcore-tests:
(runJSCStressTests):
- Scripts/run-jsc-stress-tests:
- 12:29 AM Changeset in webkit [189430] by
-
- 4 edits in trunk/LayoutTests
Fix lint warnings on iOS.
This enables the correct expectation for fast/events/scroll-in-scaled-page-with-overflow-hidden.html.
For other tests, I went with the expectation that was currently in effect.
Re-landing, as this had to be rolled out together with another patch.
- platform/ios-simulator-wk1/TestExpectations:
- platform/ios-simulator-wk2/TestExpectations:
- platform/ios-simulator/TestExpectations:
- 12:22 AM Changeset in webkit [189429] by
-
- 9 edits2 adds in trunk/Source/JavaScriptCore
[ES6] Implement ModuleNamespaceObject
https://bugs.webkit.org/show_bug.cgi?id=148705
Reviewed by Geoffrey Garen.
Implement Module namespace object.
That is used when importing the module with the formimport * as namespace from "mod".
The module namespace object is non-extensible object that has the bindings to the original module
as the property.
- CMakeLists.txt:
- JavaScriptCore.vcxproj/JavaScriptCore.vcxproj:
- JavaScriptCore.vcxproj/JavaScriptCore.vcxproj.filters:
- JavaScriptCore.xcodeproj/project.pbxproj:
- runtime/JSGlobalObject.cpp:
(JSC::JSGlobalObject::init):
(JSC::JSGlobalObject::visitChildren):
- runtime/JSGlobalObject.h:
(JSC::JSGlobalObject::moduleNamespaceObjectStructure):
- runtime/JSModuleNamespaceObject.cpp: Added.
(JSC::JSModuleNamespaceObject::JSModuleNamespaceObject):
(JSC::JSModuleNamespaceObject::finishCreation):
(JSC::JSModuleNamespaceObject::destroy):
(JSC::JSModuleNamespaceObject::visitChildren):
(JSC::callbackGetter):
(JSC::JSModuleNamespaceObject::getOwnPropertySlot):
(JSC::JSModuleNamespaceObject::put):
(JSC::JSModuleNamespaceObject::putByIndex):
(JSC::JSModuleNamespaceObject::deleteProperty):
(JSC::JSModuleNamespaceObject::getOwnPropertyNames):
(JSC::JSModuleNamespaceObject::defineOwnProperty):
(JSC::moduleNamespaceObjectSymbolIterator):
- runtime/JSModuleNamespaceObject.h: Added.
(JSC::JSModuleNamespaceObject::create):
(JSC::JSModuleNamespaceObject::createStructure):
(JSC::JSModuleNamespaceObject::moduleRecord):
- runtime/JSModuleRecord.cpp:
(JSC::JSModuleRecord::visitChildren):
(JSC::getExportedNames):
(JSC::JSModuleRecord::getModuleNamespace):
(JSC::JSModuleRecord::instantiateDeclarations):
- runtime/JSModuleRecord.h:
- 12:18 AM Changeset in webkit [189428] by
-
- 4 edits2 deletes in trunk/LayoutTests
Unreviewed, rolling out r189372 and r189403.
https://bugs.webkit.org/show_bug.cgi?id=148892
[iOS] All the media tests fail (Requested by ap on #webkit).
Reverted changesets:
"Unreviewed gardening; enabling media/ and http/tests/media/
tests (with expected failures) on ios-simulator"
http://trac.webkit.org/changeset/189372
"Fix lint warnings on iOS."
http://trac.webkit.org/changeset/189403