- 11 Sep, 2014 24 commits
-
-
svillar@igalia.com authored
After r164062 percentages of indefinite sizes were correctly computed to "auto". The problem is that we were not doing it when the percentage was inside the minmax() function. In those cases it should compute to min-content for the min track sizing function or to max-content for the max track sizing function. Added a couple of tests, one to verify that we do not assert with percentages inside minmax() and another one to verify that we properly compute the percentage of indefinite size in various situations. BUG=401477,409085 Review URL: https://codereview.chromium.org/450093004 git-svn-id: svn://svn.chromium.org/blink/trunk@181800 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
rune@opera.com authored
ElementRareData::resetStyleState() cleared the StyleAffectedByEmpty flag before recalculating style for an Element. However, this flag can be set by style recalc for any of the sibling subtree elements in the presence of adjacent combinators. If you have a LocalStyleChange for the element that may become empty/non-empty, the flag can not be cleared since it may never be set again unless the siblings affected by the :empty state are recalculated. R=esprehn@chromium.org BUG=412950 Review URL: https://codereview.chromium.org/558333002 git-svn-id: svn://svn.chromium.org/blink/trunk@181799 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
mkwst@chromium.org authored
Revert of Revert of Mixed Content: Move subframe checks into ResourceFetcher. (patchset #1 id:1 of https://codereview.chromium.org/550083003/) Reason for revert: This wasn't the root cause of the non-V8 context call. Original issue's description: > Revert of Mixed Content: Move subframe checks into ResourceFetcher. (patchset #2 id:40001 of https://codereview.chromium.org/544573002/) > > Reason for revert: > calls V8 from a non-V8 context > > Original issue's description: > > Mixed Content: Move subframe checks into ResourceFetcher. > > > > Currently we're checking for mixed content when loading the main > > resource of subframes in two places: DocumentLoader and ResourceFetcher. > > The former properly checks against the frame's parent frame, while the > > latter bypasses the checks entirely by virtue of the request's > > 'Resource::Type' being 'Main'. > > > > This is both confusing and difficult to replicate when moving to the > > brave new world of request contexts and frame types that Fetch now > > defines. > > > > This patch drops the DocumentLoader check, and moves the relevant > > logic into ResourceFetcher::canRequest and > > ResourceFetcher::checkInsecureContent. > > > > BUG=400087 > > > > Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181383 > > TBR=mkwst@chromium.org > NOTREECHECKS=true > NOTRY=true > BUG=400087 > > Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181543 TBR=jochen@chromium.org NOTREECHECKS=true NOTRY=true BUG=400087 Review URL: https://codereview.chromium.org/559333002 git-svn-id: svn://svn.chromium.org/blink/trunk@181798 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
caseq@chromium.org authored
This just moves code from sdk/TracingModel.js to timeline/TracingModel.js and renames the former to sdk/TracingManager.js. No actual code was harmed. BUG=412709 Review URL: https://codereview.chromium.org/563463003 git-svn-id: svn://svn.chromium.org/blink/trunk@181797 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
jl@opera.com authored
By assuming that the |value| expression throws exceptions via the ExceptionState object, and only via it, we can skip the v8::TryCatch declaration and check. This is good since it is less code, and since v8::TryCatch objects cost a bit of CPU time to initialize. The correctness of this patch depends on https://codereview.chromium.org/559553003/ and https://codereview.chromium.org/556273003/ that make sure all type conversion helpers with an ExceptionState& argument actually throw all exceptions via it. Review URL: https://codereview.chromium.org/552143004 git-svn-id: svn://svn.chromium.org/blink/trunk@181796 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
pdr@chromium.org authored
As discussed on blink-core-owners-discuss, Kouhei should be an owner! TBR=kouhei Review URL: https://codereview.chromium.org/553773003 git-svn-id: svn://svn.chromium.org/blink/trunk@181795 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
loislo@chromium.org authored
plugins/touch-events-details.html plugins/transformed-events.html They were regressed by jdduke@ at #294250 (dd03ea64) BUG=413098 TBR= jianli@chromium.org, jdduke@chromium.org, NOTRY=true Review URL: https://codereview.chromium.org/564673002 git-svn-id: svn://svn.chromium.org/blink/trunk@181794 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
horo@chromium.org authored
http://fetch.spec.whatwg.org/ https://github.com/whatwg/fetch/commit/a898f9a2941350aa625aa79b24673628ac2b2a8e Request.body and Response.body is removed from the spec. Body interface is introduced. interface Body { readonly attribute boolean bodyUsed; Promise<ArrayBuffer> arrayBuffer(); Promise<Blob> blob(); Promise<FormData> formData(); Promise<JSON> json(); Promise<ScalarValueString> text(); }; Request implements Body; Response implements Body; BUG=411743,410197,410196 TEST=http/tests/serviceworker/ http/tests/local/serviceworker/ Review URL: https://codereview.chromium.org/555443002 git-svn-id: svn://svn.chromium.org/blink/trunk@181793 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
BUG=123896 Review URL: https://codereview.chromium.org/561673002 git-svn-id: svn://svn.chromium.org/blink/trunk@181792 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tyoshino@chromium.org authored
This CL adds internalAbort() call to handleDidCancel(). This is not harmful. It's rather good that we clear resources. R=yhirano,sof,kouhei BUG=406229 Review URL: https://codereview.chromium.org/490083002 git-svn-id: svn://svn.chromium.org/blink/trunk@181791 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
Intent to remove: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/SYlD0YVUnQk Remove all *Sync interfaces and implementations, and WorkerGlobalScope:: openDatabase. CLs to simplify code follow. BUG=397429,323858,310866,357427 Review URL: https://codereview.chromium.org/561093003 git-svn-id: svn://svn.chromium.org/blink/trunk@181790 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ojan@chromium.org authored
The only functional difference is that we no longer repeat the step name on every line. Otherwise, it's all CSS tweaks. NOTRY=true R=michaelpg@chromium.org Review URL: https://codereview.chromium.org/553343002 git-svn-id: svn://svn.chromium.org/blink/trunk@181789 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
sunil.ratnu@samsung.com authored
RenderFlexibleBox has several methods that take pointers to RenderBox instances but those methods assumes that the objects will never be NULL. We should replace them by references. This makes the caller code safer. Review URL: https://codereview.chromium.org/555213002 git-svn-id: svn://svn.chromium.org/blink/trunk@181787 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
rbyers@chromium.org authored
This has been an alias for innerNode with a "remove this" FIXME for some time. The cleanup is pretty easy. BUG= Review URL: https://codereview.chromium.org/476303002 git-svn-id: svn://svn.chromium.org/blink/trunk@181786 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
HTMLTextAreaElement::value() is a costly operation, and we can avoid it if a <textarea> has neither 'required' attribute nor 'maxlength' attribute. This CL improves PerformanceTests/DOM/textarea-dom.html and textarea-edit.html by a few percent. BUG= Review URL: https://codereview.chromium.org/543403003 git-svn-id: svn://svn.chromium.org/blink/trunk@181785 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ksakamoto@chromium.org authored
This is the first step towards implementing getRegistration method of ServiceWorkerContainer. This patch adds definition of the method and its callback type to WebServiceWorkerProvider. [2/3] https://codereview.chromium.org/535753002/ [3/3] https://codereview.chromium.org/540823003/ BUG=404951 TEST=compile (tests will be added by subsequent patches) Review URL: https://codereview.chromium.org/553983010 git-svn-id: svn://svn.chromium.org/blink/trunk@181784 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
shimazu@chromium.org authored
ServiceWorkerRegistration::unregister returns false when the registration is already unregistered. (3/3) 1. [Blink] https://codereview.chromium.org/549093002/ 2. [Chromium] https://codereview.chromium.org/554573002/ 3. [Blink] this patch BUG=390894 TEST=run_webkit_tests.py http/tests/serviceworker/unregister.html Review URL: https://codereview.chromium.org/550093002 git-svn-id: svn://svn.chromium.org/blink/trunk@181783 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
jsbell@chromium.org authored
This looks like a no-op, but forthcoming changes to IDBPendingTransactionMonitor require this and it makes those patches much easier to understand. BUG=390704,411532 Review URL: https://codereview.chromium.org/555633002 git-svn-id: svn://svn.chromium.org/blink/trunk@181782 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
We used <button> for cells, and we had unexpected focus behaviors. This CL changes <button> to <div>. This is a preparation to support accessibility in the month popup. BUG=123896 Review URL: https://codereview.chromium.org/556323003 git-svn-id: svn://svn.chromium.org/blink/trunk@181781 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
rbyers@chromium.org authored
Bug 401177 added more explicit tracking of the source of synthetic mouse events. This CL updates the remianing places that generate mouse event from touch input to explicitly mark them as so. To do this I've removed an ASSERT I added that attempted to lock-in hit-test reduction improvements. We have a dedicated test for this (hit-test-counts.html) and so the ASSERT wasn't adding much. It's not worth the effort at this point to refactor the touch drag and drop code (a little used feature) to remove a couple of hit tests (but I've left the comments in place saying that ideally we'd do so in the future). BUG=408660 Review URL: https://codereview.chromium.org/558753002 git-svn-id: svn://svn.chromium.org/blink/trunk@181780 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
rob.buis@samsung.com authored
The comment is outdated since the css values have been implemented and the referenced bug is closed. NOTRY=true Review URL: https://codereview.chromium.org/562743003 git-svn-id: svn://svn.chromium.org/blink/trunk@181778 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
deepak.sa@samsung.com authored
Use reference instead of pointer in BMPImageDecoder::processFileHeader Review URL: https://codereview.chromium.org/556913002 git-svn-id: svn://svn.chromium.org/blink/trunk@181777 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
michaelpg@chromium.org authored
R=ojan@chromium.org NOTRY=true Review URL: https://codereview.chromium.org/558363002 git-svn-id: svn://svn.chromium.org/blink/trunk@181776 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
jdduke@chromium.org authored
Remove this field as it is no longer used by Chromium. Also prepare the way for removing |WebTouchEvent.changedTouches| by populating |WebTouchEvent.touches| with *all* touch points, even those that are released or cancelled, in WebTouchEventBuilder. The plugin consumer downstream can resynthesize the changed touches on-demand. This is part 2 of a 4-sided patch simplifying WebTouchEvent: 1) https://codereview.chromium.org/557863002/ 2) This change 3) https://codereview.chromium.org/559693003/ 4) https://codereview.chromium.org/560493003/ BUG=358132 Review URL: https://codereview.chromium.org/558773002 git-svn-id: svn://svn.chromium.org/blink/trunk@181775 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
- 10 Sep, 2014 16 commits
-
-
kouhei@chromium.org authored
This is a Blink side patch for visualizing paint invalidation for newly created RenderObject. Demo @ https://www.youtube.com/watch?v=L-zo91nL2nE&list=UUGC5ommqy7KyPzZ-eGlL_Dg After this CL, GraphicsLayerDebugInfo holds a vector of invalidation rects along with their source / reason. The rects can be queried from the embedder using the method |GraphicsLayerDebugInfo::getAnnotatedInvalidationRects|. This CL also adds a flag |RenderObject::hadPaintInvalidation| to track if the RenderObject had ever been painted. The flag is then used to annotate invalidation rects for first paint of the RenderObject. After this CL, WebLayer implementator can query this info to visualize the layer invalidation including the first paint, which is useful for telling if the repaint storm is due to the page itself, or is a performance bug in Blink rendering stack. BUG=402033 Review URL: https://codereview.chromium.org/498193003 git-svn-id: svn://svn.chromium.org/blink/trunk@181774 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
rob.buis@samsung.com authored
Review URL: https://codereview.chromium.org/560613002 git-svn-id: svn://svn.chromium.org/blink/trunk@181773 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
mostynb@opera.com authored
Followup to CL 459633002, this fixes a compile error with some older toolchains. BUG=401254 Review URL: https://codereview.chromium.org/558283003 git-svn-id: svn://svn.chromium.org/blink/trunk@181772 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
brianderson@chromium.org authored
We need to find the missing setNeedsAnimate. BUG=393331 Review URL: https://codereview.chromium.org/556723004 git-svn-id: svn://svn.chromium.org/blink/trunk@181770 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
skobes@chromium.org authored
This class was only used for rendering <select> elements. PopupListBox now inherits ScrollView directly. (With future refactorings of the scrolling code it may not even do that.) PopupContainer now inherits Widget. There is no need for it to be a ScrollView since it never actually scrolls. Review URL: https://codereview.chromium.org/562513004 git-svn-id: svn://svn.chromium.org/blink/trunk@181769 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
japhet@chromium.org authored
BUG= Review URL: https://codereview.chromium.org/460043002 git-svn-id: svn://svn.chromium.org/blink/trunk@181768 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dpranke@chromium.org authored
In addition to changing the default for the chromium coding style to use single-quoted string literals instead of double, this reworks the structure of the program to be a bit clearer, and adds command line args to toggle on and off the autopep8 reformatting and the string literal reformatting. TBR=eseidel@chromium.org Review URL: https://codereview.chromium.org/555283006 git-svn-id: svn://svn.chromium.org/blink/trunk@181767 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
jrummell@chromium.org authored
The latest EME spec has MediaKeys.createSession() return the session object, and adds MediaKeySession.generateRequest() to actually call the CDM with the necessary |initData| for the session. This change also updates the layout tests to match the new way of creating sessions. BUG=358271 TEST=updated layout tests pass Review URL: https://codereview.chromium.org/543173002 git-svn-id: svn://svn.chromium.org/blink/trunk@181765 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
nasko@chromium.org authored
BUG=357747 Review URL: https://codereview.chromium.org/544443002 git-svn-id: svn://svn.chromium.org/blink/trunk@181764 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eustas@chromium.org authored
String is much more useful, it can be used as key for StringMap. BUG= Review URL: https://codereview.chromium.org/556363002 git-svn-id: svn://svn.chromium.org/blink/trunk@181763 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dmurph@chromium.org authored
BUG=412027 Review URL: https://codereview.chromium.org/558793002 git-svn-id: svn://svn.chromium.org/blink/trunk@181762 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
rsesek@chromium.org authored
This path required a connection to the WindowServer, which should be avoided (see the two bugs for details). Instead this data can be retrieved via the ColorProfile class, which can access a value that has been cached during pre-sandbox warmup. BUG=397642,306348 R=noel@chromium.org Review URL: https://codereview.chromium.org/554033002 git-svn-id: svn://svn.chromium.org/blink/trunk@181761 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
wangxianzhu@chromium.org authored
I found that InvalidationLocationChange is a very frequent invalidation reason for some repaint storms. The invalidation is because the location (from the paint invalidation container) of the render object changed since the last invalidation. It will be helpful to know how the location changes when debugging repaint storms. Review URL: https://codereview.chromium.org/561443002 git-svn-id: svn://svn.chromium.org/blink/trunk@181759 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
sigbjornf@opera.com authored
As LocalDOMWindow controls the registration lifetime of its DOMWindowProperties, there's no need to offer a separate unregistration mechanism. Remove it, simplify notification code + retire now unused LocalDOMWindow back reference on DOMWindowProperty. R=haraken,ager BUG= Review URL: https://codereview.chromium.org/558213002 git-svn-id: svn://svn.chromium.org/blink/trunk@181758 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
fmalita@chromium.org authored
The LCD bit is captured in run paints at blob build time, so any adjustments should be performed at that point. Also, text encoding is handled similarly, and we don't need to set it on draw paints. R=jbroman@chromium.org,reed@chromium.org,eae@chromium.org BUG=412445 Review URL: https://codereview.chromium.org/551183005 git-svn-id: svn://svn.chromium.org/blink/trunk@181757 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
rob.buis@samsung.com authored
Support for CSSPropertyWebkitCursorVisibility has been removed: https://chromiumcodereview.appspot.com/14612004 Review URL: https://codereview.chromium.org/563553002 git-svn-id: svn://svn.chromium.org/blink/trunk@181756 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-