- 14 Nov, 2014 40 commits
-
-
jsbell@chromium.org authored
The Chromium IDL parser was updated to support Promise<T> syntax. Update the IDLs to include types from the spec. Note that the type isn't actually used for anything so this is a no-op change, for documentation only. Review URL: https://codereview.chromium.org/723643002 git-svn-id: svn://svn.chromium.org/blink/trunk@185381 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eustas@chromium.org authored
This is a prereqisite for smooth file split. BUG= Review URL: https://codereview.chromium.org/724413002 git-svn-id: svn://svn.chromium.org/blink/trunk@185380 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
rbyers@chromium.org authored
We've now agreed to document areas of ownership in core/OWNERS (https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/StkI3k4Pm5U/i5PdztzMgNMJ). This adds a few descriptions of areas people gave me on a blink-core-owners-discuss thread back in May. NOTRY=True BUG=None Review URL: https://codereview.chromium.org/723063005 git-svn-id: svn://svn.chromium.org/blink/trunk@185379 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
pfeldman@chromium.org authored
NOTRY=true Review URL: https://codereview.chromium.org/732603002 git-svn-id: svn://svn.chromium.org/blink/trunk@185378 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
earthdok@chromium.org authored
BUG=427569 TBR=dpranke@chromium.org NOTRY=true Review URL: https://codereview.chromium.org/726943002 git-svn-id: svn://svn.chromium.org/blink/trunk@185377 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dgozman@chromium.org authored
BUG=431697 Review URL: https://codereview.chromium.org/733473002 git-svn-id: svn://svn.chromium.org/blink/trunk@185376 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
apavlov@chromium.org authored
R=pfeldman Review URL: https://codereview.chromium.org/724333004 git-svn-id: svn://svn.chromium.org/blink/trunk@185375 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
peter@chromium.org authored
This makes it possible for developers to call waitUntil() on the event, in case its lifetime should be extended. Specification link (Push API): https://w3c.github.io/push-api/#the-push-event BUG=430888 Review URL: https://codereview.chromium.org/716203003 git-svn-id: svn://svn.chromium.org/blink/trunk@185374 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
alexclarke@chromium.org authored
ATTN Sheriffs: There is good probability that that this patch may have unintended side effects. For example there may be some JS tests that use setTimeout(...0) and hope that layout will occur. With this patch that's much less likely to be the case and is actually a bug in the test. I tried to fix some of those here https://codereview.chromium.org/644093003/ Another possibility is that something using setInterval(... 0) may suddenly show a perf regression due to running much more frequently. BUG=402694 Review URL: https://codereview.chromium.org/467153003 git-svn-id: svn://svn.chromium.org/blink/trunk@185372 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
peter@chromium.org authored
This is possible now that Service Worker's ExtendableEvent has been made constructable. Specification: https://notifications.spec.whatwg.org/#service-worker-api BUG=432527 Review URL: https://codereview.chromium.org/716143003 git-svn-id: svn://svn.chromium.org/blink/trunk@185371 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yukishiino@chromium.org authored
Removes functions which take ScriptWrappableBase as an argument in DOMDataStore, V8Wrapper, and V8Binding. ScriptWrappableBase is still used as the internal pointer in a wrapper, and it's used to support NPObject. BUG=235436 Review URL: https://codereview.chromium.org/721383003 git-svn-id: svn://svn.chromium.org/blink/trunk@185370 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
hiroshige@chromium.org authored
This is to avoid memory bloat due to m_validatedURLs. BUG=52411 Review URL: https://codereview.chromium.org/723423002 git-svn-id: svn://svn.chromium.org/blink/trunk@185369 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
pfeldman@chromium.org authored
NOTRY=true Review URL: https://codereview.chromium.org/720223002 git-svn-id: svn://svn.chromium.org/blink/trunk@185368 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
philipj@opera.com authored
Intent to Deprecate: https://groups.google.com/a/chromium.org/d/msg/blink-dev/r2aARnIHG4k/mGAsu9RGKSMJ BUG=429536 Review URL: https://codereview.chromium.org/693353002 git-svn-id: svn://svn.chromium.org/blink/trunk@185367 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
jl@opera.com authored
Allow it to be called with startIndex that is greater than info.Length(). This will happen from the generated code for a method such as void f(long x, optional long y = 0, long... rest); when called with a single argument. Also a minor improvement: reserve a tighter initial capacity for the result vector. Capacity used to be reserved for storing all arguments, disregarding the startIndex value. Review URL: https://codereview.chromium.org/732483002 git-svn-id: svn://svn.chromium.org/blink/trunk@185366 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
peter@chromium.org authored
This brings the events in line with the Service Worker specification. This allows us to implement events deriving from ExtendableEvent (most notably Push, NotificationClick and NotificationError) according to their specifications as well. BUG=420896 Review URL: https://codereview.chromium.org/715013003 git-svn-id: svn://svn.chromium.org/blink/trunk@185365 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yhirano@chromium.org authored
xmlhttprequest-responseXML-nopartial used resources/small-chunks.cgi that takes 5 seconds to complete and it led to flaky timeout. Let's use a usual response. BUG=432784 R=kouhei Review URL: https://codereview.chromium.org/731443002 git-svn-id: svn://svn.chromium.org/blink/trunk@185364 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
aandrey@chromium.org authored
BUG=427954 R=yurys, pfeldman Review URL: https://codereview.chromium.org/693183002 git-svn-id: svn://svn.chromium.org/blink/trunk@185363 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
aandrey@chromium.org authored
On StepInto we should not show "Paused on Event Listener". The corresponding breakpoint may not even be active, so this status looks quite confusing. BUG=432468 R=vsevik, yurys Review URL: https://codereview.chromium.org/723543002 git-svn-id: svn://svn.chromium.org/blink/trunk@185362 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
philipj@opera.com authored
NOTRY=true Review URL: https://codereview.chromium.org/727703002 git-svn-id: svn://svn.chromium.org/blink/trunk@185361 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
bashi@chromium.org authored
- Nobody uses the forConstructor(). - m_interfaceName and m_methodName are passed, but nobody uses them. BUG=433174 Review URL: https://codereview.chromium.org/724183004 git-svn-id: svn://svn.chromium.org/blink/trunk@185360 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yoichio@chromium.org authored
If you have a "foo| ", WebLocalFrameImpl::selectWordAroundPosition selects space after the caret. This is from the Selection::expandUsingGranularity behavior. It is used widely including double-click word selection on desktop. Thus we can not change the behavior. I changed the implementation to use VisibleUnit functions directly. New implementation is that we try to find a word on right side and left side. In addition, move implement from WebLocalFrameImpl to FrameSelection. BUG=397696 Review URL: https://codereview.chromium.org/675413003 git-svn-id: svn://svn.chromium.org/blink/trunk@185359 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
pfeldman@chromium.org authored
Revert of DevTools: Split NetworkPanel.js (patchset #5 id:80001 of https://codereview.chromium.org/722683003/) Reason for revert: Don't overwrite files. Original issue's description: > DevTools: Split NetworkPanel.js > > BUG= > > Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185306 TBR=vsevik@chromium.org,apavlov@chromium.org,eustas@chromium.org NOTREECHECKS=true NOTRY=true BUG= Review URL: https://codereview.chromium.org/730463002 git-svn-id: svn://svn.chromium.org/blink/trunk@185358 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
falken@chromium.org authored
As per spec discussion: https://github.com/slightlyoff/ServiceWorker/issues/51#issuecomment-51172079 BUG=432827 Review URL: https://codereview.chromium.org/731433002 git-svn-id: svn://svn.chromium.org/blink/trunk@185357 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
aandrey@chromium.org authored
BUG=432907 TBR=pfeldman Review URL: https://codereview.chromium.org/723903004 git-svn-id: svn://svn.chromium.org/blink/trunk@185356 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
haraken@chromium.org authored
Currently we calculate allocationSizeFromSize twice in Heap::allocate() and Heap::outOfLineAllocate(). This CL removes the redundancy. BUG=420515 Review URL: https://codereview.chromium.org/730443002 git-svn-id: svn://svn.chromium.org/blink/trunk@185355 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
rune@opera.com authored
Allow all selectors to update invalidation sets using updateInvalidationSets and never fall back to a separate wholeSubtree loop in collectFeaturesFromSelector. The method for finding the InvalidationSetMode is dropped completely. With this change we are now at a point were a whole subtree invalidation is only necessary for these cases: 1. There are no recognized features in the rightmost compound selector - A universal selector: ".a *" - Only contains pseudo classes or elements that are not considered features: ".a ::before", ".a :first-child", etc. 2. The invalidation set component is immediately left of an adjacent combinator: ".a + .b", ".a ~ .b" 3. The selector has a ::first-letter or ::first-line pseudo These are currently depending on style recalc or layout below the element they are pseudo elements for. 3. There is a :host-context() in the rightmost compound selector :host-context sub-selectors match ascendants of the :host element for which we are resolving style, so ":host-context(.a)" is effectively the same as ".a :host" which falls under no recognized features in the rightmost compound in point 1. Points 1, 3, and 4 are now handled through InvalidationSetFeatures::forceSubtree set as a result of feature extraction. Point 2 is handled by updating InvalidationSetFeatures::adjacent as we progress past selector combinators. RuleFeaturesSet::collectFeaturesFromSelector is now back to how it was before we introduced invalidation sets (without the feature hash sets). Now, it only counts adjacent combinators and sets a flag when finding ::first-line, so it is possible to squash it into the same method as updateInvalidationSets() to have a single pass over the selector when finding rule features (if we want to do that). The lowered expected node count in the :host-context test is due to the fact that we only fall back to subtree invalidation when present in the rightmost compound. ::first-letter/::first-line are always in the rightmost compound, and :host-context() doesn't need subtree invalidation when in other compounds. ":host-context(.a) .b" is effectively ".a :host .b". R=chrishtr@chromium.org BUG=335247 Review URL: https://codereview.chromium.org/726503003 git-svn-id: svn://svn.chromium.org/blink/trunk@185354 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
haraken@chromium.org authored
It is unused. BUG=420515 Review URL: https://codereview.chromium.org/728753002 git-svn-id: svn://svn.chromium.org/blink/trunk@185353 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
sigbjornf@opera.com authored
R= BUG= NOTRY=true Review URL: https://codereview.chromium.org/717393004 git-svn-id: svn://svn.chromium.org/blink/trunk@185352 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yhirano@chromium.org authored
In order to demonstrate the requestor wants to receive the body stream as a byte stream, this CL adds a flag in WebURLRequest and ResourceRequest. BUG=418879 Review URL: https://codereview.chromium.org/700663004 git-svn-id: svn://svn.chromium.org/blink/trunk@185351 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
haraken@chromium.org authored
In the current implementation, when Vector::reserveCapacity expands its backing storage, we always reallocate the backing storage (i.e., allocate a new storage -> memmove the storage -> deallocate the old storage). In this CL, we reallocate the backing storage only when necessary. If we can expand the tail of the backing storage to the new capacity, we just expand the storage instead of reallocating the storage. This optimization works well for the following code: HeapVector<X> vec; for (...) { X* x = new X(); // Note that X is allocated in a different heap than the collection backing heap. vec.append(x); // If this calls Vector::reserveCapacity, we can expand the backing storage without reallocation. } but doesn't work for the following code: HeapVector<X> vec; HeapVector<X> vec2; for (...) { X* x = new X(); X* x2 = new X(); vec.append(x); // If this calls Vector::reserveCapacity, we have to reallocate the storage. vec2.append(x2); // If this calls Vector::reserveCapacity, we have to reallocate the storage. } This significantly improves a lot of benchmarks: parser.query-selector-*: 20 - 50% parser.html-parser: 5% parser.xml-parser: 11% shadow_dom.ShadowReprojection: 6% BUG=420515 Review URL: https://codereview.chromium.org/720163002 git-svn-id: svn://svn.chromium.org/blink/trunk@185350 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tasak@google.com authored
Split Writer, Reader, Serializer and Deserializer off from SerializedScriptValue.cpp. The goal is https://codereview.chromium.org/718383003/ BUG=358074 Review URL: https://codereview.chromium.org/721133002 git-svn-id: svn://svn.chromium.org/blink/trunk@185349 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
hiroshige@chromium.org authored
Previously WTF::bind() returns |Function|, but this causes implicit temporary objects and copies of |Function|, resulting potential thread-safe issues. This CL changes the return type of WTF::bind() to |OwnPtr<Function>|, thus removing such temporary objects and making the ownership of |Function| explicit. - Change the return type of WTF::bind(). - Replace |const Function&| in parameter with |PassOwnPtr<Function>|. - Replace |Function| with |OwnPtr<Function>|. - Add |.release()| and replace |f()| with |(*f)()|. - Other types of changes are in |callOnMainThread| and NetworkStateNotifierTest.cpp. (|Function| appears in typedef'ed names such as Closure.) Also this CL makes |FunctionBase| non-copyable to prevent unintended copies of |Function|. BUG=390851 Review URL: https://codereview.chromium.org/705003002 git-svn-id: svn://svn.chromium.org/blink/trunk@185348 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
bartekn@chromium.org authored
Fix a problem where a control's willValidate change wouldn't trigger the containing form's or fieldset's style change. Cache form validity while at it to avoid style recalculation BUG=360466 TEST=Added cases to layout tests that toggle controls disabled and readonly in form and fieldset Review URL: https://codereview.chromium.org/703473003 git-svn-id: svn://svn.chromium.org/blink/trunk@185347 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yukishiino@chromium.org authored
Makes SVGAnimatedProperty and its subclasses inherit from ScriptWrappable. This change increases the size of SVGAnimatedProperty and its subclasses by 8 bytes (on 64-bit env). BUG=235436 Review URL: https://codereview.chromium.org/720113003 git-svn-id: svn://svn.chromium.org/blink/trunk@185346 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yosin@chromium.org authored
BUG=433146 TBR=bokan@chromium.org, senorblanco@chromium.org NOTRY=true Review URL: https://codereview.chromium.org/723413002 git-svn-id: svn://svn.chromium.org/blink/trunk@185345 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
bashi@chromium.org authored
We have three specialized getWithUndefinedOrNullCheck(), but we don't need them, as DictionaryHelper::getWithUndefinedOrNullCheck() template does the job. Review URL: https://codereview.chromium.org/725023002 git-svn-id: svn://svn.chromium.org/blink/trunk@185344 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dcheng@chromium.org authored
This unintuitively caused drags to end immediately if a page called setDragImage with a detached node or one that hadn't been through layout yet. There's nothing in the spec that says the drags should abort in this case either, so this makes Blink more spec-conformant. BUG=413795 Review URL: https://codereview.chromium.org/724663002 git-svn-id: svn://svn.chromium.org/blink/trunk@185343 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
fmalita@chromium.org authored
After https://codereview.chromium.org/719253002, Skia disables LCD text for non-opaque save-layers automatically. Also remove a couple of single-use getters. R=reed@google.com,jbroman@chromium.org,senorblanco@chromium.org Review URL: https://codereview.chromium.org/724063004 git-svn-id: svn://svn.chromium.org/blink/trunk@185342 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
pdr@chromium.org authored
This patch updates the clip recorder and clip items to track a RenderLayerModelObject (a subclass of RenderObject) so invalidations are properly handled in the update algorithm just like regular DisplayItems. Clipper callsites have been updated accordingly. With this patch, the ASSERT in ViewDisplayList::findDisplayItem can now be removed. TEST=ViewDisplayListTest_UpdateClip Review URL: https://codereview.chromium.org/719353004 git-svn-id: svn://svn.chromium.org/blink/trunk@185341 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-