- 08 Sep, 2015 17 commits
-
-
tkent@chromium.org authored
Also, remove FormDataList::setData and setBlob. This simplifies the code. This CL has no behavior changes. BUG=528840 Review URL: https://codereview.chromium.org/1320463010 git-svn-id: svn://svn.chromium.org/blink/trunk@201898 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
testharnessreport: Hide elements in tests by removing them from the document tree, instead of visibility:hidden. This fixes the flakiness of web-platform-tests/webrtc/datachannel- emptystring.html. [1] made the test flaky because: - It added a chance to invoke onSendChannelOpen() - It prints some lines into <div id=msg>. - Text dump of visibility:hidden doesn't remove EOLs represented by <br>s. This CL resolves this issue by removing elements completely by body.textContent = ''. Setting display:none instead of visibility:hidden also works, but body.textContent = '' is much simpler. [1] https://src.chromium.org/viewvc/blink?revision=201628&view=revision BUG=528120 Review URL: https://codereview.chromium.org/1332523002 git-svn-id: svn://svn.chromium.org/blink/trunk@201897 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yosin@chromium.org authored
This patch introduces composed tree version of |firstEditableVisiblePositionAfterPositionInRoot()| for introducing composed tree version of |VisibleSelection| class. This patch is a preparation of making selection to handle granularity for web component, http://crrev.com/1277863002 BUG=513568 TEST=n/a; no behavior changes Review URL: https://codereview.chromium.org/1311543006 git-svn-id: svn://svn.chromium.org/blink/trunk@201896 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ramya.v@samsung.com authored
As per the spec https://html.spec.whatwg.org/multipage/forms.html#input-type-attr-summary input types date, time, month, week, datetime-local, file, image, reset etc should ignore placeholder attribute and in-turn should not affect placeholder-shown state. Adding testcases for the same. BUG=451120 Review URL: https://codereview.chromium.org/1332543002 git-svn-id: svn://svn.chromium.org/blink/trunk@201895 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
WebSearchableFormData.cpp created FormDataList instances. However DOMFormData, which is a subclass of FormDataList, is also acceptable, and we can remove FormDataList factory. This CL has no behavior changes. BUG=528840 Review URL: https://codereview.chromium.org/1323023005 git-svn-id: svn://svn.chromium.org/blink/trunk@201894 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
pdr@chromium.org authored
This test flakes consistently on the bots: http://test-results.appspot.com/dashboards/flakiness_dashboard.html#showExpectations=true&tests=inspector%2Fsources%2Fdebugger-breakpoints%2Fdebugger-reload-breakpoints-with-source-maps.html TBR=yurys@chromium.org BUG=529123 Review URL: https://codereview.chromium.org/1308663006 git-svn-id: svn://svn.chromium.org/blink/trunk@201893 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
haraken@chromium.org authored
Currently we run into an infinite loop when we hit the limit of the number of mmapped regions OS can support. It is better to have a RELEASE_ASSERT about it. BUG= Review URL: https://codereview.chromium.org/1320493006 git-svn-id: svn://svn.chromium.org/blink/trunk@201892 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
haraken@chromium.org authored
All the memory stats should be displayed in memory-infra. However, some memory stats are too heavy to profile in production builds. We can use the DETAILED_MEMORY_INFRA flag for them. BTW, GC_PROFILING flag will be removed soon. All the information in the GC profiler has been migrated to memory-infra. BUG= Review URL: https://codereview.chromium.org/1302183010 git-svn-id: svn://svn.chromium.org/blink/trunk@201891 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
haraken@chromium.org authored
We're now hitting a bunch of out-of-virtual-address-spaces in various benchmarks (e.g., tiny-innerHTML-setter.html, PseudoClassSelectors.html etc) on oilpan Linux builds. The reason is that a GC is never scheduled during the benchmark because the current GC heuristic is improper. In short, we're hitting a scenario like this: - allocatedObjectSize = 3 GB - markedObjectSizeAtLastCompleteSweep = 5 MB - partitionAlloc = 1 GB This doesn't hit the GC condition because (3 GB + 5 MB + 1 GB) / (5 MB + 1 GB) is not large enough. (Note: Accurately speaking, the esimated size becomes smaller than (5 MB + 1 GB) as the number of collected persistent handles increases, but in those benchmarks persistent handles are not collected so aggressively.) This is clearly insane and we should have a way to trigger a GC if the allocatedObjectSize is X% larger than the markedObjectSizeAtLastCompleteSweep. With that motivation, this CL changes the GC condition as follows: - Trigger a GC if a growing rate of PartitionAlloc _or_ Oilpan's heap is larger than X%. BUG=474470 Review URL: https://codereview.chromium.org/1325783007 git-svn-id: svn://svn.chromium.org/blink/trunk@201890 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
horo@chromium.org authored
BUG=522791 Review URL: https://codereview.chromium.org/1305903007 git-svn-id: svn://svn.chromium.org/blink/trunk@201889 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yunchao.he@intel.com authored
Almost all validations in texImage2DBase() and texSubImage2DBase() have been done in their callers. These validations are executed twice. It is not necessary. For example, validateTexFuncParameters() is not very cheap. it is called in texImage2DBase(). This function is also called by validateTexFunc(). But all variants of texImage2D() calls both validateTexFunc() and texImage2DBase(). No WebGL 1.0 conformance test regression with this change. BUG=528180 Review URL: https://codereview.chromium.org/1310003006 git-svn-id: svn://svn.chromium.org/blink/trunk@201886 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
alancutter@chromium.org authored
This patch enables additive keyframes in Web Animations element.animate(). "composite: 'add'" keyframe properties and neutral keyframes are now enabled in experimental only. This patch removes tests that assert we throw errors when additive or neutral keyframes are used in element.animate(). The following existing tests ensure that stable behaviour has not changed: virtual/stable/web-animations-api/additive-animations-unsupported.html virtual/stable/web-animations-api/partial-keyframes-unsupported.html BUG=437696 Review URL: https://codereview.chromium.org/1326443003 git-svn-id: svn://svn.chromium.org/blink/trunk@201885 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ramya.v@samsung.com authored
Support for CSSOM CSSNamespaceRule interface Spec:http://drafts.csswg.org/cssom/#the-cssnamespacerule-interface Changes include 1) Exposing CSSNamespaceRule interface 2) Reflecting namespace rules in stylesheet rule list BUG=389549 Review URL: https://codereview.chromium.org/1321943002 git-svn-id: svn://svn.chromium.org/blink/trunk@201884 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
pdr@chromium.org authored
This patch marks the SPV2 version of [1] as timing out. [1] non-self-painting-layer-overrides-visibility.html BUG=529100 TBR=wangxianzhu Review URL: https://codereview.chromium.org/1314983005 git-svn-id: svn://svn.chromium.org/blink/trunk@201883 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yosin@chromium.org authored
This patch introduces composed tree version of |characterAfter()| by templatizing original |characterAfter()| to work both DOM tree position and composed tree position version for introducing composed tree version of |VisibleSelection| class. This patch is a preparation of making selection to handle granularity for web component, http://crrev.com/1277863002 BUG=513568 TEST=n/a; no behavior changes Review URL: https://codereview.chromium.org/1328113005 git-svn-id: svn://svn.chromium.org/blink/trunk@201882 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
nainar@chromium.org authored
This patch adds a layout test to ensure that the 'color' property works as expected when used with `all:unset` or `all:inherit`. BUG=420781 Review URL: https://codereview.chromium.org/1330573003 git-svn-id: svn://svn.chromium.org/blink/trunk@201881 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
pdr@chromium.org authored
The Win10 bot doesn't have baselines for these tests. BUG=524134 TBR=wangxianzhu Review URL: https://codereview.chromium.org/1318523010 git-svn-id: svn://svn.chromium.org/blink/trunk@201880 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
- 07 Sep, 2015 23 commits
-
-
sigbjornf@opera.com authored
TBR=oilpan-reviews,yosin BUG=513568 NOTRY=true Review URL: https://codereview.chromium.org/1323023004 git-svn-id: svn://svn.chromium.org/blink/trunk@201879 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yoav@yoav.ws authored
While adding preconnect, we added a new API call that public that was destined to replace the previous one. This CL deletes calls to the previous API call. BUG= Review URL: https://codereview.chromium.org/1321193004 git-svn-id: svn://svn.chromium.org/blink/trunk@201878 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
jochen@chromium.org authored
This fixes a bug introduced in https://codereview.chromium.org/1305933007 which replaced a call to startOneShot that takes seconds with a call to postDelayedTask that takes milliseconds BUG=497761, 510398, 528666 R=alexclarke@chromium.org TBR=haraken@chromium.org Review URL: https://codereview.chromium.org/1304383004 git-svn-id: svn://svn.chromium.org/blink/trunk@201877 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
rune@opera.com authored
This reverts commit bb5572c1de7405160a32b80c6224477b13eaac14. Conflicts: Source/core/css/resolver/StyleResolver.h TBR=kochi@chromium.org BUG=487125 Review URL: https://codereview.chromium.org/1332493002 git-svn-id: svn://svn.chromium.org/blink/trunk@201875 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
rob.buis@samsung.com authored
Simplify parseShadowValue by getting rid of ShadowParseContext. BUG=404023 Review URL: https://codereview.chromium.org/1318093002 git-svn-id: svn://svn.chromium.org/blink/trunk@201874 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
rune@opera.com authored
> Reland of moved unused CascadeOrder. (patchset #1 id:1 of https://codereview.chromium.org/1306693007/ ) > > Reason for revert: > I don't think this contributes any of "too many opened files". > (as is commented bay jianli > https://code.google.com/p/chromium/issues/detail?id=524248#c7 ) > > Will revert and reland the original patch. > > > > Original issue's description: > > Revert of Removed unused CascadeOrder. (patchset #1 id:1 of https://codereview.chromium.org/1291873005/ ) > > > > Reason for revert: > > Speculative revert for causing "Too many opened files in the system". > > > > https://code.google.com/p/chromium/issues/detail?id=523598 > > > > > > Original issue's description: > > > Removed unused CascadeOrder. > > > > > > CascadeOrder is always ignoreCascadeOrder after [1] and can be removed. > > > > > > [1] https://codereview.chromium.org/1298173004 > > > > > > BUG=487125 > > > > > > Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201019 > > > > TBR=kochi@chromium.org,rune@opera.com > > NOPRESUBMIT=true > > NOTREECHECKS=true > > NOTRY=true > > BUG=487125 > > > > Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201082 > > TBR=rune@opera.com,jianli@chromium.org > NOPRESUBMIT=true > NOTREECHECKS=true > NOTRY=true > BUG=487125 > > Review URL: https://codereview.chromium.org/1313713005 TBR=kochi@chromium.org Review URL: https://codereview.chromium.org/1331573002 git-svn-id: svn://svn.chromium.org/blink/trunk@201871 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yukishiino@chromium.org authored
'static const' initialization in functions is considered as thread-unsafe (data race). Removes 'static const' initialization, and uses simple 'const' initialization instead. Note: 'static' keyword in the top-level 'static const' initialization has no meaning. 'const' implies file-scope, so no need to explicitly write 'static' in that case. BUG=526963,526959 Review URL: https://codereview.chromium.org/1324643005 git-svn-id: svn://svn.chromium.org/blink/trunk@201870 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
keishi@chromium.org authored
Revert of Oilpan: Remove raw pointer to DescendantInvalidationSet from StyleInvalidator::RecursionData (patchset #4 id:60001 of https://codereview.chromium.org/1225233005/ ) Reason for revert: blink_perf.css regression https://code.google.com/p/chromium/issues/detail?id=513378#makechanges Original issue's description: > Oilpan: Remove raw pointer to DescendantInvalidationSet from StyleInvalidator::RecursionData > > BUG=509911 > > Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=199288 > > Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=199294 TBR=haraken@chromium.org,yutak@chromium.org,oilpan-reviews@chromium.org,sigbjornf@opera.com NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=509911 Review URL: https://codereview.chromium.org/1330763002 git-svn-id: svn://svn.chromium.org/blink/trunk@201869 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yosin@chromium.org authored
This patch introduces composed tree version of |inSameLine()| for introducing composed tree version of |VisibleSelection| class. This patch is a preparation of making selection to handle granularity for web component, http://crrev.com/1277863002 BUG=513568 TEST=n/a; no behavior changes Review URL: https://codereview.chromium.org/1310913004 git-svn-id: svn://svn.chromium.org/blink/trunk@201868 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
mstensho@opera.com authored
Only block containers that don't establish new formatting contexts are allowed to ignore (and thus potentially overlap with) floats. This obviously also applies inside multicol, but we had a check that actively prevented that. This was some residue from CSS regions support (shared implementation with multicol), which had a much more sophisticated positioning implementation, which we've removed ages ago. BUG=528179 R=jchaffraix@chromium.org Review URL: https://codereview.chromium.org/1325323002 git-svn-id: svn://svn.chromium.org/blink/trunk@201867 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
mstensho@opera.com authored
Before laying out, we try to estimate and set the logical top of the child, but it may turn out after one layout pass that the estimate was wrong, due to margin collapsing, float clearance or pagination. So sometimes we need to reposition and relayout once or even twice inside layoutBlockChild(). This was done with slightly poorly duplicated code. Refactor into positionAndLayoutOnceIfNeeded() (and markDescendantsWithFloatsForLayoutIfNeeded()). One instance of this duplicated code used to sit in adjustBlockChildForPagination(). Moved it into layoutBlockChild(), to make it easier to understand what's going on (and to give adjustBlockChildForPagination() one less thing to worry about - one parameter removed). Renamed |result| to |newLogicalTop| in adjustBlockChildForPagination(), and |logicalTopAfterClear| to |newLogicalTop| in layoutBlockChild(). No behavioral changes were actually intended, but when unifying almost-duplicated code, some changes are inevitable. Added some tests for something that now works, and used to fail. In the subsequent layout passes we forgot to check if the new position changed how we were affected by floats. R=jchaffraix@chromium.org,leviw@chromium.org Review URL: https://codereview.chromium.org/1315353005 git-svn-id: svn://svn.chromium.org/blink/trunk@201866 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yosin@chromium.org authored
This patch introduces composed tree version of |absoluteCaretBoundsOf()| by templatizing original |absoluteCaretBoundsOf()| to work both DOM tree position and composed tree position version for introducing composed tree version of |VisibleSelection| class. This patch is a preparation of making selection to handle granularity for web component, http://crrev.com/1277863002 BUG=513568 TEST=n/a; no behavior changes Review URL: https://codereview.chromium.org/1330743002 git-svn-id: svn://svn.chromium.org/blink/trunk@201865 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
alancutter@chromium.org authored
This change enables individual CSS properties to track multiple animations occuring on them at the same time and to composite the animations together as defined by the Web Animations spec: http://w3c.github.io/web-animations/#combining-effects This behaviour guarded by the StackedCSSPropertyAnimations flag and is only enabled for experimental Blink by default. BUG=437696 Review URL: https://codereview.chromium.org/1329843002 git-svn-id: svn://svn.chromium.org/blink/trunk@201864 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
kojii@chromium.org authored
This patch improves getFallbackFamily() to find fallback fonts from a character code for a generic family when the specified character is Unified Han Ideographs. In this case, Blink uses ICU default locale. This patch improves: 1. Japanese and Korean can disambiguate by languages. Comparing fullName can fail on, for instance, English OS with display language set to these languages. 2. zh-HK maps to USCRIPT_TRADITIONAL_HAN, same as what localeToScriptCodeForFontSelection() in LocaleToScriptMapping does. BUG=509680 Review URL: https://codereview.chromium.org/1311043010 git-svn-id: svn://svn.chromium.org/blink/trunk@201863 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
FormDataList::Item class represents a name string in a form data, or a value in a form data. A value can be a string or Blob, but a name string is always a string. Representing a name string by Item class is overkill. This CL adds m_key member to Item class. Odd items in FormDataList::m_items represented name strings, and even items in FormDataList::m_items represented values. Now each of items in FormDataList::m_items represents a pair of a name string and a value. This makes the code much simpler. This CL has no behavior changes. BUG=528840 Review URL: https://codereview.chromium.org/1314013007 git-svn-id: svn://svn.chromium.org/blink/trunk@201862 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
peria@chromium.org authored
BUG=528110 Review URL: https://codereview.chromium.org/1329863002 git-svn-id: svn://svn.chromium.org/blink/trunk@201861 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
toyoshim@chromium.org authored
To implement MIDIPort#open(), #clear(), and #close(), let's add new interfaces to implement backends for them. Backend will be implemented in chromium side soon. Once it gets ready, I'll update Web MIDI IDLs and modules/webmidi implementations to use these interface to be up to date. BUG=471793, 471798 Review URL: https://codereview.chromium.org/1327993003 git-svn-id: svn://svn.chromium.org/blink/trunk@201860 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yosin@chromium.org authored
This patch introduces composed tree version of |VisiblePosition| called |VisiblePositionInComposedTree| with glue function |createVisiblePositionInDOMTree()|, which is a stub function for applying DOM tree version of functions in "VisibleUnits.cpp", e.g. |isLogicalEndOfLine()| |nextPositionOf()| and so on, for making patch size smaller. This patch is a preparation of making selection to handle granularity for web component, http://crrev.com/1277863002 BUG=513568 TEST=n/a; no behavior changes Review URL: https://codereview.chromium.org/1319753004 git-svn-id: svn://svn.chromium.org/blink/trunk@201859 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yosin@chromium.org authored
This patch copies "FrameSelection.{cpp,h}" to "SelectionEditor.{cpp,h}" as a preparation of moving |FrameSelection::modify()| to |SelectionEditor| class for inheriting change history. This patch is a preparation of making selection to handle granularity for web component, http://crrev.com/1277863002 BUG=513568 TEST=n/a; no behavior changes NOTRY=true Review URL: https://codereview.chromium.org/1331543002 git-svn-id: svn://svn.chromium.org/blink/trunk@201858 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ksakamoto@chromium.org authored
Use ScriptPromiseProperty to return same promise every time, until the FontFaceSet switches from loaded to loading state. This is in line with the spec, and also simplifies the code a bit. TEST=fast/css/fontfaceset-ready.html BUG=510434 Review URL: https://codereview.chromium.org/1313853003 git-svn-id: svn://svn.chromium.org/blink/trunk@201857 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yosin@chromium.org authored
This patch changes "move-by-line-006.html" to use "monospace" font instead of "Ahem" font to mitigate flakiness on local Windows desktop. When I run "move-by-line-006.html" on local Windows desktop, it is flaky, e.g. failed on parallel test execution but succeeded on single execution. BUG=n/a TEST=n/a; no behavior changes Review URL: https://codereview.chromium.org/1314643006 git-svn-id: svn://svn.chromium.org/blink/trunk@201856 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
kojii@chromium.org authored
imported csswg-test@7e34e95043bc21d087cd3e4d96e39050dea4a601 imported web-platform-tests@32ba9293b8e933dc7d2c2521eedac32ec86f457b * css-writing-modes-3 - 1 removed file removed from W3CImportExpectations. - 8 files renamed. - 1 test bug fixed in upstream and now pass. * shadow-dom - 1 test updated, still fail. TBR=dpranke@chromium.org,jsbell@chromium.org,tkent@chromium.org,hayato@chromium.org,kochi@chromium.org BUG=492664, 505364 Review URL: https://codereview.chromium.org/1308393009 git-svn-id: svn://svn.chromium.org/blink/trunk@201855 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yosin@chromium.org authored
This patch moves an implementation of |LayoutView::commitPendingSelection()| to |PendingSelection::commit()| as a preparation of moving it to "editing/", for reducing exposing editing functions to layout layer. Following patch will move |PendingSelection| to "editing/". This patch is a preparation of making selection to handle granularity for web component, http://crrev.com/1277863002 BUG=513568 TEST=n/a; no behavior changes Review URL: https://codereview.chromium.org/1315423006 git-svn-id: svn://svn.chromium.org/blink/trunk@201854 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-