- 18 Aug, 2014 36 commits
-
-
malch@chromium.org authored
Review URL: https://codereview.chromium.org/393123007 Review URL: https://codereview.chromium.org/393123007 git-svn-id: svn://svn.chromium.org/blink/trunk@180458 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
haraken@chromium.org authored
(1) This CL basically does the following two things: - Drop "WillBe" types from webaudio/. - Replace the hand-written reference counting system with RefCountedGarbageCollected. (2) Given that AudioNode inherits from EventTarget, which is still on-heap in non-oilpan builds, we need to make AudioNode RefCountedGarbageCollected. (3) Ideally the following collections should use strong Members, but we cannot do that because these collections are touched by audio threads (which are not registered to oilpan). Thus we use raw pointers with GC_PLUGIN_IGNORE. - AudioNodeInput::m_disabledOutputs - AudioSummingJunction::m_outputs - AudioSummingJunction::m_renderingOutputs - AudioContext::m_finishedNodes - AudioContext::m_referencedNodes - AudioContext::m_nodesMarkForDeletion - AudioContext::m_nodesToDelete - AudioContext::m_dirtySummingJunctions - AudioContext::m_dirtyAudioNodeOutputs - AudioContext::m_automaticPullNodes - AudioContext::m_renderingAutomaticPullNodes - AudioContext::m_deferredBreakConnectionList - AudioContext::m_deferredFinishDerefList (4) Ideally AudioDSPKernel should be moved to the heap and AudioDSPKernel::m_kernelProcessor should be a Member. However, we cannot do that because AudioDSPKernel can be allocated by audio threads. Thus we leave AudioDSPKernel::m_kernelProcessor as a raw pointer. This raw pointer is guaranteed to be safe. (5) This CL fixes leaks of webaudio tests in LeakExpectations. BUG=340522 Review URL: https://codereview.chromium.org/438293003 git-svn-id: svn://svn.chromium.org/blink/trunk@180457 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
apavlov@chromium.org authored
R=eustas, lushnikov BUG=404555 Review URL: https://codereview.chromium.org/486633002 git-svn-id: svn://svn.chromium.org/blink/trunk@180456 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
mkwst@chromium.org authored
Revert of XMLHttpRequest::overrideMimeType should throw InvalidStateError (patchset #4 of https://codereview.chromium.org/478223002/) Reason for revert: It looks like this broke a number of Chromium-side browser tests: See http://build.chromium.org/p/chromium.webkit/builders/Linux%20Tests%20%28dbg%29/builds/3608 for example. http://test-results.appspot.com/dashboards/flakiness_dashboard.html#group=%40ToT%20Blink&testType=browser_tests&tests=ExtensionBrowserTest.RSSParseFeedInvalidFeed1,ExtensionBrowserTest.RSSParseFeedInvalidFeed2,ExtensionBrowserTest.RSSParseFeedInvalidFeed3,ExtensionBrowserTest.RSSParseFeedInvalidFeed4,ExtensionBrowserTest.RSSParseFeedValidFeed0,ExtensionBrowserTest.RSSParseFeedValidFeed2,ExtensionBrowserTest.RSSParseFeedValidFeed3,ExtensionBrowserTest.RSSParseFeedValidFeed4,ExtensionBrowserTest.RSSParseFeedValidFeed5,ExtensionBrowserTest.RSSParseFeedValidFeed6,ExtensionBrowserTest.RSSParseFeedValidFeedNoLinks for all the broken tests. Original issue's description: > XMLHttpRequest::overrideMimeType should throw InvalidStateError > > Before this CL, XMLHttpRequest accepted |overrideMimeType| regardless > of its state. This is not conformant to the current spec: > http://www.w3.org/TR/XMLHttpRequest2/#the-overridemimetype-method > > This CL changes it to throw InvalidStateError when the state > is LOADING or DONE, which aligns to the spec. > > BUG=402375 > > Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=180440 TBR=tyoshino@chromium.org,abarth@chromium.org,haraken@chromium.org,kouhei@chromium.org NOTREECHECKS=true NOTRY=true BUG=402375 Review URL: https://codereview.chromium.org/486703002 git-svn-id: svn://svn.chromium.org/blink/trunk@180455 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
sigbjornf@opera.com authored
Let generated bindings code handle the type checking of Blob arguments. R=tzik@chromium.org BUG= Review URL: https://codereview.chromium.org/474353004 git-svn-id: svn://svn.chromium.org/blink/trunk@180454 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
lushnikov@chromium.org authored
There was a left-over condition in the TextPrompt which has never being satisfied. As a result, the WebInspector.TextPrompt.Events.ItemAccepted event has never being fired. BUG=398224 Review URL: https://codereview.chromium.org/477593005 git-svn-id: svn://svn.chromium.org/blink/trunk@180453 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
apavlov@chromium.org authored
The _module.js files are currently used only at build-time in the release mode and at run-time when starting workers. We have all the required module info in module.json files, and workers can be loaded in the debug mode through a blob containing concatenated scripts for the worker, loaded via sync XHRs. This patch also gets rid of common/modules.js: module descriptors are now inlined into Runtime.js. R=pfeldman, vsevik BUG=391566 Review URL: https://codereview.chromium.org/472903003 git-svn-id: svn://svn.chromium.org/blink/trunk@180452 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yurys@chromium.org authored
In preparation to switching to tracing backend the test is changed to use higher level abstractions. BUG=398785 R=pfeldman@chromium.org Review URL: https://codereview.chromium.org/480013002 git-svn-id: svn://svn.chromium.org/blink/trunk@180451 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
sigbjornf@opera.com authored
If a FileReader is abort()ed, a task is scheduled to perform the actual abort operation. Should the containing Document's ActiveDOMObjects be stopped before that task gets to run, the FileReader would already advance to a DONE state and be at risk from being GCed before the abort task gets to run. If so, it would then access a dead object. The provided test elicits an assert that shows up the problem, but doesn't trigger the GC and subsequent access of the dead object. R=kouhei@chromium.org, tzik@chromium.org BUG=404513 Review URL: https://codereview.chromium.org/478263002 git-svn-id: svn://svn.chromium.org/blink/trunk@180450 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eustas@chromium.org authored
Rendering gradient consumes considerable amount of time. BUG=316092 Review URL: https://codereview.chromium.org/440853002 git-svn-id: svn://svn.chromium.org/blink/trunk@180449 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
lushnikov@chromium.org authored
The patch fixes inspector/audits/audits-panel-noimages-functional.html and inspector/audits/audits-panel-functional.html BUG=364088, 357079 R=apavlov Review URL: https://codereview.chromium.org/483683002 git-svn-id: svn://svn.chromium.org/blink/trunk@180448 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
klemen.forstneric@gmail.com authored
guidelines and improved performance in WebViewImpl.cpp a bit. Review URL: https://codereview.chromium.org/479803002 git-svn-id: svn://svn.chromium.org/blink/trunk@180447 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dgozman@chromium.org authored
BUG=398840 Review URL: https://codereview.chromium.org/483663002 git-svn-id: svn://svn.chromium.org/blink/trunk@180446 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
deepak.sa@samsung.com authored
- Removes unnecessary blink:: prefixes. - Removes *using namespace* usage. BUG= Review URL: https://codereview.chromium.org/468083003 git-svn-id: svn://svn.chromium.org/blink/trunk@180445 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
philipj@opera.com authored
http://fullscreen.spec.whatwg.org/#dom-element-requestfullscreen This spec change was made in order to simplify the fix for mis-nested fullscreen in iframes: https://www.w3.org/Bugs/Public/show_bug.cgi?id=26568 (comments 9-13) The requestFullscreen() implementation is not in sync with the spec, but an early return is equivalent until the "run the remaining steps asynchronously" bit is implemented. In order to be affected by this change, one would have to request fullscreen for the same element twice and do something meaningful in the fullscreenerror event, which is likely rare. Note that exitFullscreen() already does nothing if the fullscreen element stack is empty, so there is some symmetry to this. TEST=LayoutTests/fullscreen/api/element-request-fullscreen-top.html TEST=LayoutTests/fullscreen/api/element-request-fullscreen-non-top.html BUG=403741 Review URL: https://codereview.chromium.org/482543002 git-svn-id: svn://svn.chromium.org/blink/trunk@180444 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yurys@chromium.org authored
The method is always defined, no need for additional checks in inspector tests. BUG=None Review URL: https://codereview.chromium.org/486543003 git-svn-id: svn://svn.chromium.org/blink/trunk@180443 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
apavlov@chromium.org authored
The PresentationConsoleMessage management is moved from UISourceCode into PresentationConsoleMessageHelper. R=eustas, vsevik Review URL: https://codereview.chromium.org/472353002 git-svn-id: svn://svn.chromium.org/blink/trunk@180442 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
vsevik@chromium.org authored
WorkerGlobalScopeProxy is dedicated worker specific, while this interface could be reused for shared/service workers as well. BUG=404355 R=pfeldman, yurys, sergeyv Review URL: https://codereview.chromium.org/477313002 git-svn-id: svn://svn.chromium.org/blink/trunk@180441 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
kouhei@chromium.org authored
Before this CL, XMLHttpRequest accepted |overrideMimeType| regardless of its state. This is not conformant to the current spec: http://www.w3.org/TR/XMLHttpRequest2/#the-overridemimetype-method This CL changes it to throw InvalidStateError when the state is LOADING or DONE, which aligns to the spec. BUG=402375 Review URL: https://codereview.chromium.org/478223002 git-svn-id: svn://svn.chromium.org/blink/trunk@180440 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
philipj@opera.com authored
It's equivalent to webkitCurrentFullScreenElement != null. BUG=383813 Review URL: https://codereview.chromium.org/476353002 git-svn-id: svn://svn.chromium.org/blink/trunk@180439 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yurys@chromium.org authored
We are going to switch to tracing backend for the timeline and there won't be TimelineAgent so the tests are changed to use higher level abstractions. BUG=398785 Review URL: https://codereview.chromium.org/480003002 git-svn-id: svn://svn.chromium.org/blink/trunk@180438 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
andersr@opera.com authored
This patch adds support for the 'converter' attribute for a group of semi-custom CSS properties handled by the 'apply_auto' macro. This gets rid of the redundant 'compute_length=true/false' argument, plus the code related to that. It also makes it easier to add other things to the apply_auto-list which can't be converted with computeLength or a primitive value mapping. Review URL: https://codereview.chromium.org/454133004 git-svn-id: svn://svn.chromium.org/blink/trunk@180437 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
keishi@chromium.org authored
BUG=403184 Review URL: https://codereview.chromium.org/486583002 git-svn-id: svn://svn.chromium.org/blink/trunk@180436 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
philipj@opera.com authored
http://fullscreen.spec.whatwg.org/#model https://www.w3.org/Bugs/Public/show_bug.cgi?id=26568#c12 https://www.w3.org/Bugs/Public/show_bug.cgi?id=26568#c16 BUG=383813 NOTRY=true Review URL: https://codereview.chromium.org/477133002 git-svn-id: svn://svn.chromium.org/blink/trunk@180435 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
noel@chromium.org authored
Remove unused includes, simplify and clarify a comment, format the frameBytesAtIndex() code like the rest of the code in this file. BUG=None Review URL: https://codereview.chromium.org/485623002 git-svn-id: svn://svn.chromium.org/blink/trunk@180434 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
philipj@opera.com authored
This class does more than just manage the fullscreen element stack, and the shorter name makes the code more readable in many places. In the renamed Fullscreen class, it also makes it more obvious when the actual fullscreen element stack is being manipulated. BUG=383813 Review URL: https://codereview.chromium.org/476763004 git-svn-id: svn://svn.chromium.org/blink/trunk@180433 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yhirano@chromium.org authored
Make XMLHttpRequest return a ReadableStream when the response type is set to 'stream'. This CL also modifies ReadableStream interface and implementation to make it enable for XMLHttpRequest to use ReadableStream functionalities. BUG=401396 Review URL: https://codereview.chromium.org/455303002 git-svn-id: svn://svn.chromium.org/blink/trunk@180432 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
danakj@chromium.org authored
This removes the acceleratedCompositingForFixedRootBackground setting and makes the WebSetting setter a no-op. Any code that checked for this setting is replaced with a check for preferCompositingToLCDTextEnabled instead. R=abarth, vollick@chromium.org BUG=365851 Review URL: https://codereview.chromium.org/479893002 git-svn-id: svn://svn.chromium.org/blink/trunk@180431 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
horo@chromium.org authored
BUG=402387 Review URL: https://codereview.chromium.org/483603003 git-svn-id: svn://svn.chromium.org/blink/trunk@180430 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
heeyoun.lee@samsung.com authored
BUG=402536 Review URL: https://codereview.chromium.org/486563002 git-svn-id: svn://svn.chromium.org/blink/trunk@180429 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
zhishun.zhou@samsung.com authored
1. This stack copying limit is a performance sanity check; 2. ASan/LSan use more space on the stack, and performance is not an issue for LSan/ASan. So, we allow more stack copying to avoid test case failed on these builds. R=ager@chromium.org, oilpan-reviews@chromium.org BUG=403273 Review URL: https://codereview.chromium.org/474203002 git-svn-id: svn://svn.chromium.org/blink/trunk@180428 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
- Merge multiple |namespace blink| blocks - Remove unnecessary blink:: prefix - Other minor style fixes. BUG= Review URL: https://codereview.chromium.org/474183002 git-svn-id: svn://svn.chromium.org/blink/trunk@180427 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
falken@chromium.org authored
Another step toward removing the deprecated ServiceWorkerContainer.unregister. service_worker_unregister_and_register is the biggest consumer of it in our tests. Now to unregister, the function first registers at that scope to get a registration, then calls unregister on it. This only works with registrations that cleanly install, which is the most common use case. BUG=404064 Review URL: https://codereview.chromium.org/472293002 git-svn-id: svn://svn.chromium.org/blink/trunk@180426 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
kouhei@chromium.org authored
This CL removes |DocumentParser::startParsing()|. This was only used from XMLDocumentParser, but it was a no-op. The method initializes |m_state| to |ParsingState|, however the state should already be in |ParsingState| from c-tor initializer. BUG=404107 Review URL: https://codereview.chromium.org/471423002 git-svn-id: svn://svn.chromium.org/blink/trunk@180425 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
Revert of Oilpan: Move more code of RenderObject destructors to destroy(). (patchset #1 of https://codereview.chromium.org/459353002/) Reason for revert: Caused crashes in ImageQualityController::highQualityRepaintTimerFired(). Original issue's description: > Oilpan: Move more code of RenderObject destructors to destroy(). > > Like [1] and [2]. We should do it in general. > > [1] http://src.chromium.org/viewvc/blink?view=revision&revision=180023 > [2] http://src.chromium.org/viewvc/blink?view=revision&revision=180029 > > BUG=398342 > > Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=180046 TBR=oilpan-reviews@chromium.org,haraken@chromium.org NOTREECHECKS=true NOTRY=true BUG=398342 Review URL: https://codereview.chromium.org/478923005 git-svn-id: svn://svn.chromium.org/blink/trunk@180424 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
haraken@chromium.org authored
Given that we clear the m_referencedNodes in AudioContext::uninitialize(), the m_referencedNodes should be empty in both oilpan builds and non-oilpan builds. BUG=340522 Review URL: https://codereview.chromium.org/475373002 git-svn-id: svn://svn.chromium.org/blink/trunk@180423 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
- 17 Aug, 2014 4 commits
-
-
jinho.bang@samsung.com authored
The methods multiply a scale transformation on the current matrix. The specification: http://dev.w3.org/fxtf/geometry/ Intent to Implement: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/V_bJNtOg0oM BUG=388780 Review URL: https://codereview.chromium.org/450533006 git-svn-id: svn://svn.chromium.org/blink/trunk@180421 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
aandrey@chromium.org authored
R=yurys Review URL: https://codereview.chromium.org/470543002 git-svn-id: svn://svn.chromium.org/blink/trunk@180420 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
lushnikov@chromium.org authored
This rolls codemirror to 2b30a049fd, which is slightly later than 4.4.1. Layout test change: In codemirror version 4.4.1 the viewport update logic has changed and it no longer works if text editor offsetHeight is 0px. So creation of editor instance for tests now setups default editor height of 100px. R=apavlov BUG=404120 Review URL: https://codereview.chromium.org/475393002 git-svn-id: svn://svn.chromium.org/blink/trunk@180419 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
jinho.bang@samsung.com authored
The methods multiply a translation transformation on the current matrix. The specification: http://dev.w3.org/fxtf/geometry/ Intent to Implement: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/V_bJNtOg0oM BUG=388780 Review URL: https://codereview.chromium.org/446803002 git-svn-id: svn://svn.chromium.org/blink/trunk@180418 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-