- 28 Mar, 2014 40 commits
-
-
ager@chromium.org authored
Align with Firefox and return false in the case where the Range method leads to an exception. Previously, we returned true. The behavior of these selection APIs are not in any specs and they are only implemented by Blink and Firefox. R=haraken@chromium.org, nbarth@chromium.org BUG= Review URL: https://codereview.chromium.org/212873002 git-svn-id: svn://svn.chromium.org/blink/trunk@170291 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
vsevik@chromium.org authored
TBR=pfeldman Review URL: https://codereview.chromium.org/214793004 git-svn-id: svn://svn.chromium.org/blink/trunk@170290 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
Revert of Remove applyAuthorStyles flag from ShadowRoot. (https://codereview.chromium.org/215313003/) Reason for revert: w3c/web-platform-tests/shadow-dom/elements-and-dom-objects/shadowroot-object/shadowroot-attributes/test-004.html started to fail. http://test-results.appspot.com/dashboards/flakiness_dashboard.html#group=%40ToT%20Blink&tests=w3c/web-platform-tests/shadow-dom/elements-and-dom-objects/shadowroot-object/shadowroot-attributes/test-004.html Original issue's description: > Remove applyAuthorStyles flag from ShadowRoot. > > This re-applies https://src.chromium.org/viewvc/blink?revision=165673&view=revision. > > BUG=357151 > > Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170271 TBR=esprehn@chromium.org,tasak@google.com,hayato@chromium.org,dglazkov@chromium.org NOTREECHECKS=true NOTRY=true BUG=357151 Review URL: https://codereview.chromium.org/216543002 git-svn-id: svn://svn.chromium.org/blink/trunk@170289 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dongseong.hwang@intel.com authored
Perf tests in PerformanceTests/Canvas usually run 6 times; 1 for warm-up, 5 for data. Currently, upload-canvas-2d-to-texture.html takes ~72 sec on Intel Ivy Bridge. If we have Android perf bot, this perf test takes huge time. upload-canvas-2d-to-texture.html calls glTexImage2d() 1000 times per one run. Ivy Bridge without Accelerated 2D Canvas can call glTexImage2d() ~85 times/sec, so one run takes 12 sec, and 6 runs take 72 sec. This CL limits 1 sec per one run for all canvas perf tests. To apply common logic to 6 tests, this CL introduces canvas_runner.js, which is a wrapper of PerformanceTests/resources/runner.js. canvas_runner.js makes sure that one run takes less than 1 sec. The algorithm is min(1 sec, time to call api 1000 times). This CL effects test results slightly, because now upload-canvas-2d-to-texture.html takes 6 sec, instead of 72 sec. BUG=242244 NOTRY=true Review URL: https://codereview.chromium.org/200253002 git-svn-id: svn://svn.chromium.org/blink/trunk@170288 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
nbarth@chromium.org authored
This consolidates the test cases post-rewrite. Specifically: * Remove old Perl TestInterface and TestObject (-2 files) * Move special operations into TestInterface{,2,3} (-2 files) (2 TestSpecialOperations*.idl left b/c 5 variants total, if squeezed so overlap) * Remove TestEventTarget, as covered by TestInterfaceEventTarget (-1 file) * Rename s/(.*)Python.idl/\1.idl TBR=haraken BUG=239771 NOTRY=true Review URL: https://codereview.chromium.org/213543004 git-svn-id: svn://svn.chromium.org/blink/trunk@170287 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dstockwell@chromium.org authored
Both transition and will-change should produce string values for unknown properties, but were producing identifiers. transition requires follow on work as it only currently considers valid property names. NOTRY=true Review URL: https://codereview.chromium.org/216003002 git-svn-id: svn://svn.chromium.org/blink/trunk@170286 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
loislo@chromium.org authored
BUG= R=pfeldman@chromium.org Review URL: https://codereview.chromium.org/214783002 git-svn-id: svn://svn.chromium.org/blink/trunk@170285 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eroman@chromium.org authored
These tests come from WebKit's LayoutTests/crypto, with only slight modifications to work in Blink. BUG=245025 Review URL: https://codereview.chromium.org/215763002 git-svn-id: svn://svn.chromium.org/blink/trunk@170284 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eustas@chromium.org authored
BUG=335712 Review URL: https://codereview.chromium.org/214523004 git-svn-id: svn://svn.chromium.org/blink/trunk@170283 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eustas@chromium.org authored
+minor refactoring. BUG=354131 Review URL: https://codereview.chromium.org/212933011 git-svn-id: svn://svn.chromium.org/blink/trunk@170282 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ojan@chromium.org authored
http://src.chromium.org/viewvc/blink?view=revision&revision=170250 TBR=vollick@chromium.org Review URL: https://codereview.chromium.org/216483002 git-svn-id: svn://svn.chromium.org/blink/trunk@170281 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
We have ASSERT_DISABLED macro, and it is typically used as #if !ASSERT_DISABLED ... #endif Double negative is not good for readability. We can write it with ASSERT_ENABLED as following: #if ASSERT_ENABLED ... #endif TEST=none; no behavior changes BUG= Review URL: https://codereview.chromium.org/216313002 git-svn-id: svn://svn.chromium.org/blink/trunk@170280 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eustas@chromium.org authored
All forwarded methods, expect didReceiveResponse, contains m_client check. Added check to didReceiveResponse for consistency. BUG=356654 Review URL: https://codereview.chromium.org/213383008 git-svn-id: svn://svn.chromium.org/blink/trunk@170279 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dbeam@chromium.org authored
<select>, or <input> tags via Autofill. This more closely matches the spec behavior as "input" events should be fired whenever the text is changed. From the spec[1]: """ When the user agent is to change an input element's value on behalf of the user (e.g. as part of a form prefilling feature), the user agent must queue a task to first update the value accordingly, then fire a simple event that bubbles named input at the input element, then fire a simple event that bubbles named change at the input element. """ BUG=353691 R=tkent@chromium.org [1] http://www.whatwg.org/specs/web-apps/current-work/multipage/common-input-element-attributes.html#event-input-input Review URL: https://codereview.chromium.org/215903003 git-svn-id: svn://svn.chromium.org/blink/trunk@170278 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
abarth@chromium.org authored
This CL separates the work we do to update the GraphicsLayer geometry from the work we do to rebuild the GraphicsLayer tree. We now update the geometry in tree-order rather than paint order, which fixes a bug in how we're propagating dirty bits during the tree walk. The bug fix is captured by the reorder-z-with-style.html test added in this CL. Review URL: https://codereview.chromium.org/215063006 git-svn-id: svn://svn.chromium.org/blink/trunk@170277 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
jshin@chromium.org authored
Harfbuzz on CrOS does not have hb-icu leading to a compile failure when system_harfbuzz is turned on to avoid a linker warning. (see http://crbug.com/353127). HarfbuzzShaper uses just one function (hb_icu_script_to_script) from hb-icu and it's a simple wrapper. It's ported to HarfbuzzShaper to avoid the dependency on hb-icu. BUG=356929 TEST=content_shell gets built on Linux and no change in layout tests. Review URL: https://codereview.chromium.org/214413002 git-svn-id: svn://svn.chromium.org/blink/trunk@170276 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
haraken@chromium.org authored
BUG=357087 Review URL: https://codereview.chromium.org/216273002 git-svn-id: svn://svn.chromium.org/blink/trunk@170275 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ojan@chromium.org authored
http://src.chromium.org/viewvc/blink?view=revision&revision=170237 BUG=345027 TBR=enne@chromium.org Review URL: https://codereview.chromium.org/216363002 git-svn-id: svn://svn.chromium.org/blink/trunk@170274 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ojan@chromium.org authored
http://src.chromium.org/viewvc/blink?view=revision&revision=170239 BUG=345027 TBR=enne@chromium.org Review URL: https://codereview.chromium.org/215913003 git-svn-id: svn://svn.chromium.org/blink/trunk@170273 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
jam@chromium.org authored
Remove unused selection related methods from WebView that got moved to WebFrame in r169968 now that Chrome uses the new ones. BUG=304341 Review URL: https://codereview.chromium.org/215703002 git-svn-id: svn://svn.chromium.org/blink/trunk@170272 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dglazkov@chromium.org authored
This re-applies https://src.chromium.org/viewvc/blink?revision=165673&view=revision. BUG=357151 Review URL: https://codereview.chromium.org/215313003 git-svn-id: svn://svn.chromium.org/blink/trunk@170271 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
philipj@opera.com authored
Since the unprefixed API isn't event implemented yet removal is nowhere in sight, but it's still interesting to track these features over time. BUG=none Review URL: https://codereview.chromium.org/214873002 git-svn-id: svn://svn.chromium.org/blink/trunk@170270 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
pfeldman@chromium.org authored
Review URL: https://codereview.chromium.org/214523005 git-svn-id: svn://svn.chromium.org/blink/trunk@170269 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
esprehn@chromium.org authored
This was done in r165624 but was wrong, you cannot ever synchronously dispatch the load or error event from inside didFinish since it means you run can end up running script inside ::insertedInto. It's not clear from the bug what the issue was, but the timing in the test that I updated was also wrong since it had <link> elements firing their load events synchronously while parsing. There might be a real timing bug in imports, but firing the event synchronously inside ::didFinish() isn't how to fix it. BUG=336113, 357435, 357445 Review URL: https://codereview.chromium.org/214513011 git-svn-id: svn://svn.chromium.org/blink/trunk@170268 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
esprehn@chromium.org authored
To eventually remove the ChildNodesLazySnapshot we need to stop allowing script to run inside ::insertedInto. It's also important since even with the lazy snapshot we still keep getting security bugs down there. This starts the process of removal by switching HTMLMetaElement to use a post insertion callback. R=ojan@chromium.org,abarth@chromium.org BUG=357435 Review URL: https://codereview.chromium.org/214003003 git-svn-id: svn://svn.chromium.org/blink/trunk@170267 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
haraken@chromium.org authored
I forgot to replace a couple of adoptRef()s in r170164. SimulatedMouseEvent's adoptRef() was another left-over. BUG=340522 TBR=ager Review URL: https://codereview.chromium.org/216283002 git-svn-id: svn://svn.chromium.org/blink/trunk@170266 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
- w3c/web-platform-tests/html-templates/parsing-html-templates/creating-an-element-for-the-token/template-owner-document.html [ Pass Timeout ] - virtual/implsidepainting/inspector/timeline/timeline-decode-resize.html [ Crash Pass Slow ] - inspector-protocol/page/enable-disable.html [ Failure Pass ] - virtual/threaded/animations/3d/matrix-transform-type-animation.html [ Pass Timeout ] - fast/events/touch/gesture/touch-gesture-scroll-div-removed.html [ Crash Pass ] - fast/mediastream/RTCPeerConnection-AddRemoveStream.html [ Crash Pass ] - http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-nested-cross-in-cross-none-block.html [ Failure Pass ] - virtual/softwarecompositing/visibility/visibility-composited-incremental-update.html [ Pass Timeout ] - virtual/threaded/animations/keyframe-timing-functions-multiple-animations.html [ Pass Timeout ] - css3/flexbox/repaint.html [ Pass Failure ] BUG=330086,318490,316349,357459,357460,357464,357464,357465,357465,355463 TBR=enne@chromium.org Review URL: https://codereview.chromium.org/215983003 git-svn-id: svn://svn.chromium.org/blink/trunk@170265 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ch.dumez@samsung.com authored
window.atob() returns wrong value when given a string container only white spaces. The reason was that base64DecodeInternal() was calling Vector::grow() before the loop but failed to call Vector::shrink() in case of early return. R= BUG=357332 Review URL: https://codereview.chromium.org/215833002 git-svn-id: svn://svn.chromium.org/blink/trunk@170264 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eroman@chromium.org authored
Now that all the tests have been moved off using shouldRejectPromiseWithNull() these temporary helpers can be removed. BUG=245025 Review URL: https://codereview.chromium.org/212173007 git-svn-id: svn://svn.chromium.org/blink/trunk@170263 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ojan@chromium.org authored
http://src.chromium.org/viewvc/blink?view=revision&revision=170232 TBR=senorblanco@chromium.org Review URL: https://codereview.chromium.org/216253002 git-svn-id: svn://svn.chromium.org/blink/trunk@170262 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
haraken@chromium.org authored
Now that it's guaranteed that DOMWrapperWorld is not 0 at any given time, we can make it a reference instead of a pointer. BUG=341032 Review URL: https://codereview.chromium.org/209713003 git-svn-id: svn://svn.chromium.org/blink/trunk@170261 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
rob.buis@samsung.com authored
the implementation of shape-outside, it's worth to remove shape-inside code at this point for now. A list of reasons for the removal: - Shape-inside is only part of Shapes Level 2, which needs to be improved on some topics. - Shape-inside is lack of new shapes support (e.g. inset). - Deprecated shapes are removed from the code (e.g. rectangle), which affects shape-inside. - The current shape-inside code spreads across the layout code. - The current shape-inside implementation is experimental in some areas, and the partially implemented code can have security implications. - Removal of shape-inside opens possibilities for code complexity and performance optimizations for shape-outside. (e.g. simpler geometry code) BUG=356778 Review URL: https://codereview.chromium.org/209443007 git-svn-id: svn://svn.chromium.org/blink/trunk@170260 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
keishi@chromium.org authored
According to the spec (http://www.whatwg.org/specs/web-apps/current-work/multipage/the-button-element.html#the-select-element) the idl for select.add is void add((HTMLOptionElement or HTMLOptGroupElement) element, optional (HTMLElement or long)? before = null); select.add should accept an optgroup as the first argument. select.add should support an index as the second argument. BUG=345345 Review URL: https://codereview.chromium.org/213773003 git-svn-id: svn://svn.chromium.org/blink/trunk@170259 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ricea@chromium.org authored
interleaved-fragments.html, invalid-continuation.html, zero-length-text.html, connect-src-websocket-allowed.html and handshake-error.html now pass. All other WebSocket tests which were set to "Skip" have been changed to "Failure", except for multiple-connections.html, which times out. Tests of functionality which is not implemented in the new implementation remain skipped. These are FIXME-handshake-fail-by-null-subprotocol-selection-whitelist.html, handshake-fail-by-no-cr.html and deflate-frame-* BUG=339373 TEST=layout tests Review URL: https://codereview.chromium.org/214473002 git-svn-id: svn://svn.chromium.org/blink/trunk@170258 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
timloh@chromium.org authored
This patch sorts animations in the stack so that they will be applied in the correct order. Note that due to the way compositor integration currently is implemented, we don't know the exact time when new animations will be started, but expect it will be very close to the current timeline time. http://dev.w3.org/fxtf/web-animations/#the-animation-stack BUG= Review URL: https://codereview.chromium.org/210703002 git-svn-id: svn://svn.chromium.org/blink/trunk@170257 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
haraken@chromium.org authored
Currently derefBase() does not do the decrement from 1 to 0 because an object that has 0 refcount is going to die immediately (there is no need to do the decrement). However, in the oilpan world, it's possible that an object that has 0 refcount is resurrected, because the object can still be retained through oilpan handles. Thus we need to manage the refcount correctly even when the refcount is going to be 0. I'm making this change separately from oilpan changes, since this change might regress performance of something. derefBase() is performance-sensitive. BUG=340522 Review URL: https://codereview.chromium.org/214453005 git-svn-id: svn://svn.chromium.org/blink/trunk@170256 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
hajimehoshi@chromium.org authored
Now we're implementing the DOM-object leak detector. When the number of DOM objects is increased after a test, we can assume that the test causes a leak. This feature is available at content_shell with the flag --enable-leak-detection. This patch enables this leak detection feature at run_webkit_test.py with the flag --enable-leak-detection. content_shell is assumed to report a detected leak with the following format: #LEAK - renderer pid PID (DETAIL_IN_JSON_FORMAT) and run_webkit_test.py will treat this as a kind of error by this patch. See also: https://docs.google.com/a/chromium.org/document/d/1sFAsZxeISKnbGdXoLZlB2tDZ8pvO102ePFQx6TX4X14/edit BUG=332630 TEST=test-webkitpy Review URL: https://codereview.chromium.org/148153009 git-svn-id: svn://svn.chromium.org/blink/trunk@170255 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
nbarth@chromium.org authored
The callback interface code was the first code and template we wrote. Since then we've improved style and template usage; this simplifies the code and brings it up-to-date. TBR=haraken BUG=345503 Review URL: https://codereview.chromium.org/215993002 git-svn-id: svn://svn.chromium.org/blink/trunk@170254 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
bajones@chromium.org authored
BUG=333040 Review URL: https://codereview.chromium.org/214413010 git-svn-id: svn://svn.chromium.org/blink/trunk@170253 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eroman@chromium.org authored
BUG=245025 Review URL: https://codereview.chromium.org/215153005 git-svn-id: svn://svn.chromium.org/blink/trunk@170252 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-