- 16 Jun, 2014 40 commits
-
-
sigbjornf@opera.com authored
Avoids its unnecessary persistents by doing so. R=tkent@chromium.org BUG=357163 Review URL: https://codereview.chromium.org/333313002 git-svn-id: svn://svn.chromium.org/blink/trunk@176217 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
c.shu@samsung.com authored
This CL takes care the rest part of html subdirs under core. BUG=381876 Review URL: https://codereview.chromium.org/338123002 git-svn-id: svn://svn.chromium.org/blink/trunk@176216 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
amikhaylova@google.com authored
BUG=376194 Review URL: https://codereview.chromium.org/337753004 git-svn-id: svn://svn.chromium.org/blink/trunk@176215 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
caseq@chromium.org authored
Now that we may fetch a lot of trace (or buffered timeline) events after timeline is stopped, we need a better indication of that. The button remaining red after it's pressed is very annoying. Let's turn it off and disable till we get all the events, and if the progress pane is on, display the appropriate message there. BUG=361045 Review URL: https://codereview.chromium.org/322403004 git-svn-id: svn://svn.chromium.org/blink/trunk@176214 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
vsevik@chromium.org authored
BUG=354447 R=pfeldman@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=174557 Review URL: https://codereview.chromium.org/267393003 git-svn-id: svn://svn.chromium.org/blink/trunk@176213 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eustas@chromium.org authored
BUG=245436 Review URL: https://codereview.chromium.org/337973004 git-svn-id: svn://svn.chromium.org/blink/trunk@176211 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
kangil.han@samsung.com authored
This CL deletes unneeded mutable keyword by removing const keyword on setter functions. Review URL: https://codereview.chromium.org/337113002 git-svn-id: svn://svn.chromium.org/blink/trunk@176210 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
schenney@chromium.org authored
TBR=dpranke BUG=385015 Review URL: https://codereview.chromium.org/338093003 git-svn-id: svn://svn.chromium.org/blink/trunk@176209 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
sergeyv@chromium.org authored
BUG= Review URL: https://codereview.chromium.org/332203002 git-svn-id: svn://svn.chromium.org/blink/trunk@176208 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dominik.rottsches@intel.com authored
Second blink side change, part 3 of the series in total. BUG=382411 R=eae,behdad,tkent Review URL: https://codereview.chromium.org/323963002 git-svn-id: svn://svn.chromium.org/blink/trunk@176207 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
sigbjornf@opera.com authored
Avoids keeping a bare pointer to the current anchor from the client implementation object. R=ager@chromium.org,zerny@chromium.org,haraken@chromium.org,tkent@chromium.org BUG=340522 Review URL: https://codereview.chromium.org/334153003 git-svn-id: svn://svn.chromium.org/blink/trunk@176206 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yurys@chromium.org authored
TimelinePresentationModel.Record now has three implementations: one for root record, one for coealesced record and one for representing actual TimelineModel.Record. This allows it to work fine with Timeline based on trace events. BUG=361045 R=caseq@chromium.org Review URL: https://codereview.chromium.org/337023004 git-svn-id: svn://svn.chromium.org/blink/trunk@176205 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
sergeyv@chromium.org authored
BUG= Review URL: https://codereview.chromium.org/332173002 git-svn-id: svn://svn.chromium.org/blink/trunk@176204 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
mlamouri@chromium.org authored
The mock is currently assuming that the screen orientation is handled by a RendererWebKitPlatformSupportImpl which is no longer the case. It will move to be part of WebFrameTestProxy but that will require a two sided patch so we should first disable the false-negative. BUG=162827 Review URL: https://codereview.chromium.org/339553003 git-svn-id: svn://svn.chromium.org/blink/trunk@176203 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
sigbjornf@opera.com authored
With GeolocationController (now back) on the heap, maintain a persistent set of them from GeolocationInspectorAgent. R=haraken@chromium.org,ager@chromium.org,zerny@chromium.org BUG=304341 Review URL: https://codereview.chromium.org/332153002 git-svn-id: svn://svn.chromium.org/blink/trunk@176202 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tasak@google.com authored
This is a preparation patch for implementing all shorthand property. This patch adds layout tests, which are currently failing. After implementing all shorthand correctly, the tests will pass. Spec: http://dev.w3.org/csswg/css-cascade/#all-shorthand BUG=172051 TEST=fast/css/all-shorthand-css-text.html,fast/css/all-shorthand.html,fast/css/getComputedStyle/getComputedStyle-all.html Review URL: https://codereview.chromium.org/335733003 git-svn-id: svn://svn.chromium.org/blink/trunk@176201 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
jl@opera.com authored
Adds support for parsing default values of different types, but only handles null default values when generating code. Replaces existing [Default=Null] optional SomeInterface arg [Default=NullString] optional DOMString arg with the now equivalent optional SomeInterface arg = null optional DOMString arg = null in IDL files, and drops support for those [Default] attributes. No changes to generated code. BUG=258153 Review URL: https://codereview.chromium.org/312683005 git-svn-id: svn://svn.chromium.org/blink/trunk@176200 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
fs@opera.com authored
When a media element is marked with the preload hint 'none', a load is not started until data is explicitly requested. The progress timer is however still started, which means that a 'stalled' event will be fired after ~3s. This is confusing, since loading never actually started in the first place. Fix this by implementing (the "optional") step 3 from the 'resource fetch algorithm'. BUG=382505 BUG=284413 Review URL: https://codereview.chromium.org/327553002 git-svn-id: svn://svn.chromium.org/blink/trunk@176199 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
sigbjornf@opera.com authored
R=haraken@chromium.org BUG=305497 NOTRY=true Review URL: https://codereview.chromium.org/332183002 git-svn-id: svn://svn.chromium.org/blink/trunk@176198 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
falken@chromium.org authored
Before this patch, the ServiceWorker object returned by navigator.serviceWorker.register() could be garbage collected prematurely causing state change event handlers to never be invoked. This patch makes ServiceWorker an ActiveDOMObject and keeps it alive until either stop() is called on it (indicating detach of the parent document) or it reaches the terminal "deactivated" state (soon to be renamed "redundant"). For future work, it may be possible to be more clever and allow the SW to die when it has no event handlers. BUG=383972 Review URL: https://codereview.chromium.org/330173003 git-svn-id: svn://svn.chromium.org/blink/trunk@176197 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
caseq@chromium.org authored
- enable "Capture picture" check-box in Timeline capture filter when Timeline on trace events experiment is enabled; - add disabled-by-default-devtools.timeline.{picture,layers} categories to trace filter when the above is checked; - associate recorded SkPicture with the last paint event of the layer with matching id; - display pictures preview in Timeline's details view, when these are available. BUG= Review URL: https://codereview.chromium.org/328143003 git-svn-id: svn://svn.chromium.org/blink/trunk@176196 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
davve@opera.com authored
Instead add includes to .cpp files that needs things that StyleResolverState.h included for them. This brings down the amount of recompilation drastically (from ~720 to ~20) when touching files like FontBuilder.h or StyleResolverState.h. Review URL: https://codereview.chromium.org/327773004 git-svn-id: svn://svn.chromium.org/blink/trunk@176195 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yhirano@chromium.org authored
ScriptPromise::then should use v8::Promise::Then in order to handle multiply-wrapped Promises correctly. BUG=371288 Review URL: https://codereview.chromium.org/316453002 git-svn-id: svn://svn.chromium.org/blink/trunk@176194 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
fs@opera.com authored
Calculating the animated value between two transforms of differing types would give random results (and ASSERT in debug.) Fix by requiring the effective 'from' value to have the same type as the 'to' value. If the types are not the same, then use a "zero transform" as the 'from' value. Also adjust the behavior of animateTransform additive to-animations in this case by clearing the list in these cases too (matching Presto and Gecko in this particular case.) BUG=231409 Review URL: https://codereview.chromium.org/330813002 git-svn-id: svn://svn.chromium.org/blink/trunk@176193 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yoichio@chromium.org authored
Let's use FrameSelection::DirectoinalOption instead of bool. BUG= Review URL: https://codereview.chromium.org/328243004 git-svn-id: svn://svn.chromium.org/blink/trunk@176192 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ziran.sun@samsung.com authored
R=tkent@chromium.org BUG=None Review URL: https://codereview.chromium.org/334793005 git-svn-id: svn://svn.chromium.org/blink/trunk@176191 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
pneubeck@chromium.org authored
Will allow reuse of this function in the implementation of the enterprise.platfromKeys Chrome extension API. BUG=364435 Review URL: https://codereview.chromium.org/312393004 git-svn-id: svn://svn.chromium.org/blink/trunk@176190 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yoichio@chromium.org authored
We use VectorComparer to compare WTF::Vector<T>. If T is not primitive type, we use std::equal to compare. By the way, we use the WTF::VectorBufferBase class for a base class of Vector. VectorBufferBase doesn't alloc a array if we init it without a size argument. As a conclusion, we pass NULL object to std::equal when we compare Vectors with the default constructor. It is asserted especially on a Windows debug build. BUG= Review URL: https://codereview.chromium.org/332113002 git-svn-id: svn://svn.chromium.org/blink/trunk@176189 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
aandrey@chromium.org authored
Evaluate explicit "delete this[p]" to delete a property. R=vsevik Review URL: https://codereview.chromium.org/323423002 git-svn-id: svn://svn.chromium.org/blink/trunk@176188 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tasak@google.com authored
Since r276361 made chromium side not to use the methods, now we can remove these methods from Blink. c.f. https://codereview.chromium.org/301883002 and svn://svn.chromium.org/chrome/trunk/src@276361 BUG=369451 Review URL: https://codereview.chromium.org/327483002 git-svn-id: svn://svn.chromium.org/blink/trunk@176187 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
horo@chromium.org authored
BUG=373120 Review URL: https://codereview.chromium.org/318393002 git-svn-id: svn://svn.chromium.org/blink/trunk@176186 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
We frequently saw object path dump like: Path to 1d6ec5d8 of WebCore::Node <- 7abc4660 of Persistent Then, we needed to investigate what this Persistent is. It took much time. This CL introduces 'tracing name' property to Persistent if ENABLE(GC_TRACING). The property is automatically filled with backtrace of a Persistent constructor. We'll get dump like: Path to 1bd56220 of WebCore::Node <- 1bd55ff8 of WebCore::Node <- 1bd55dc8 of WebCore::Node <- 7d046600 of Persistent ... Backtrace: Persistent<HTMLSelectElement, ThreadLocalPersistents<(ThreadAffinity)1> >::Persistent(HTMLSelectElement*) v8::Handle<v8::Object> V8DOMWrapper::associateObjectWithWrapper<V8HTMLSelectElement, HTMLSelectElement>(HTMLSelectElement*, WrapperTypeInfo const*, v8::Handle<v8::Object>, v8::Isolate*, WrapperConfiguration::Lifetime) v8::Handle<v8::Object> V8DOMWrapper::associateObjectWithWrapper<V8HTMLSelectElement, HTMLSelectElement>(WTF::RawPtr<HTMLSelectElement>, WrapperTypeInfo const*, v8::Handle<v8::Object>, v8::Isolate*, WrapperConfiguration::Lifetime) V8HTMLSelectElement::createWrapper(WTF::RawPtr<HTMLSelectElement>, v8::Handle<v8::Object>, v8::Isolate*) Additional improvement of the object path dump: * Correct host info name for heap collections * Don't try to dump unknown objects. BUG= Review URL: https://codereview.chromium.org/337653002 git-svn-id: svn://svn.chromium.org/blink/trunk@176185 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
aandrey@chromium.org authored
Internal properties inherently are not writeable, thus they should behave so in the frontend. R=vsevik Review URL: https://codereview.chromium.org/323313005 git-svn-id: svn://svn.chromium.org/blink/trunk@176184 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tyoshino@chromium.org authored
As bug305497 is marked WontFix, I'd like to merge back ExecutionContextClient to ExecutionContext for readability. This is 1st step for that. Note about behavior change induced by this CL addConsoleMessage(): When addConsoleMessage() is called via ExecutionContextClient, it just calls addMessage(). But ExecutionContext has non-virtual addConsoleMessage() which checks if m_client is non-NULL. We'll call the latter after this CL. If this change breaks something, that means such an addConsoleMessage() call has been invalid since it's called on an ExecutionContext that is already partially destructed. isDocument(): OK for the same reason. disableEval(): OK for the same reason. securityContext() and reportBlockedScriptExecutionToInspector(): No change as ExecutionContext doesn't have a non-virtual override for it. contextURL() and contextCompleteURL(): No change as they're implemented only on ExecutionContextClient. BUG=305497 Review URL: https://codereview.chromium.org/332993002 git-svn-id: svn://svn.chromium.org/blink/trunk@176183 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
davve@opera.com authored
When the third parameter to PropertyWrapper was removed in https://codereview.chromium.org/139273007 (legacy animation engine removal) setZoomWithoutReturnValue lost its last caller. Review URL: https://codereview.chromium.org/324063002 git-svn-id: svn://svn.chromium.org/blink/trunk@176182 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
BUG=384956 TBR= Review URL: https://codereview.chromium.org/331583004 git-svn-id: svn://svn.chromium.org/blink/trunk@176181 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
BUG=384950 TBR= Review URL: https://codereview.chromium.org/338743002 git-svn-id: svn://svn.chromium.org/blink/trunk@176180 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
sunil.ratnu@samsung.com authored
The original CL https://codereview.chromium.org/329183002/ got reverted in https://codereview.chromium.org/330933002/ as it was causing failures on the Chromium Linux Tsan v2 bot. The problem was that std::abs(int) is found in <cstdlib> but we apparently only include <cmath> everywhere. So the compiler only knows about std::abs(float) and variants. There were two ways of fixing this: 1. include <cstdlib> whereever std::abs(int) is used. 2. use abs() as it was done earlier. Because we already include <cmath> everywhere, and Since C++11, additional overloads are provided in the header <cmath> for the integral types as well, so its better to directly just use abs() rather than including an extra header file This CL uses the second way. BUG=None Review URL: https://codereview.chromium.org/333173002 git-svn-id: svn://svn.chromium.org/blink/trunk@176179 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
jamesr@chromium.org authored
This puts the blink heap asm targets in the GN build set and enables both blink platform test targets behind a single flag. They compile, link and run successfully on mac but (probably) don't link yet on linux due to ffmpeg deps. R=brettw@chromium.org Review URL: https://codereview.chromium.org/332123002 git-svn-id: svn://svn.chromium.org/blink/trunk@176174 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dcheng@chromium.org authored
Page::willBeDestroyed() detachs any frames remaining in the frame tree, so there's no need to do this before calling willBeDestroyed(). In addition, since frameDetached() recursively detaches all frames, eliminate the loop inside Page::willBeDestroyed() to detach all frames. Review URL: https://codereview.chromium.org/339493002 git-svn-id: svn://svn.chromium.org/blink/trunk@176173 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-