- 19 Aug, 2015 26 commits
-
-
yosin@chromium.org authored
This patch gets rid of a redundant argument DOWNSTREAM from |VisiblePosition| constructor call sites to simplify source code for improving code health, since default value of affinity is |DOWNSTREAM| in each constructor declarations. This patch is a preparation of introducing |TextAffinity| enum class as replacement of |EAffinity|, http://crbug.com/522038. BUG=522038 TEST=n/a; no behavior changes Review URL: https://codereview.chromium.org/1285233004 git-svn-id: svn://svn.chromium.org/blink/trunk@200796 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dgrogan@chromium.org authored
Instead of returning a permission string, requestPersistent() was recently changed to return a boolean representing the value of the default box. This is an experimental API only exposed behind a flag. The spec is at https://storage.spec.whatwg.org/ BUG=482814 Review URL: https://codereview.chromium.org/1302643002 git-svn-id: svn://svn.chromium.org/blink/trunk@200795 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
samli@chromium.org authored
Option and control keys are explicit instead of using the symbols. Command appears first always. BUG=521207 Review URL: https://codereview.chromium.org/1293793004 git-svn-id: svn://svn.chromium.org/blink/trunk@200794 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
miletus@chromium.org authored
LayoutObject::hitTest() calls into nodeAtPoint() 4 times with different HitTestAction options: HitTestForeground, HitTestFloat, HitTestChildBlockBackgrounds, HitTestBlockBackground. LayoutPart::nodeAtPoint() descends into iframe hit-test disregard of HitTestAction options. For rect-based hit-test, if the test rect is not totally within the iframe bounds, the iframe hit test will return false for the rect-based hit test search to continue, which means we will call into iframe hit test 4 times unnecessarily. Lets make the change that LayoutPart::nodeAtPoint() descends into iframe only in the HitTestForeground phase. If we do hit the iframe, LayoutObject::hitTest() will terminate at the HitTestForeground phase, If iframe does not hit, we only descend into it once and would have collected enough information (e.g. pushing overlapping nodes into hit list). BUG=520730 Review URL: https://codereview.chromium.org/1302583002 git-svn-id: svn://svn.chromium.org/blink/trunk@200793 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
alph@chromium.org authored
BUG=463547 R=caseq,paulirish Review URL: https://codereview.chromium.org/1303633002 git-svn-id: svn://svn.chromium.org/blink/trunk@200792 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yosin@chromium.org authored
This patch changes |ContainerNode::willRemoveChild()| not to call |Document::nodeWillRemoved()| for a node in different document since we assume |Document::nodeWillRemoved()| will be called for owner document. This situation can be happened when DOM mutation event handler moves a removing node to another document via |dispatchChildRemovalEvents()| call in |ContainerNode::willRemoveChild()| at L439. BUG=477584 TEST=LayoutTests/fast/dom/Range/range-dom-node-removed-assert.html Review URL: https://codereview.chromium.org/1297593004 git-svn-id: svn://svn.chromium.org/blink/trunk@200791 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
guanxian.li@intel.com authored
Integrate samplerParameter[if] functions and validate the pname in blink. BUG=295792 Review URL: https://codereview.chromium.org/1300583002 git-svn-id: svn://svn.chromium.org/blink/trunk@200790 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dgozman@chromium.org authored
Added ability to reveal a setting in settings screen for "Edit" option. BUG=520239 Review URL: https://codereview.chromium.org/1292673002 git-svn-id: svn://svn.chromium.org/blink/trunk@200789 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yosin@chromium.org authored
This patch gets rid of a redundant argument DOWNSTREAM from |VisbileSelection| constructor call sites to simplify source code for improving code health, since default value of affinity is |DOWNSTREAM| in each constructor declarations. This patch is a preparation of introducing |TextAffinity| enum class as replacement of |EAffinity|, http://crbug.com/522038. BUG=522038 TEST=n/a; no behavior changes Review URL: https://codereview.chromium.org/1289673008 git-svn-id: svn://svn.chromium.org/blink/trunk@200788 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
lgarron@chromium.org authored
In light of marking passive mixed content as neutral, "neutral" is by far a better name. BUG=522274 Review URL: https://codereview.chromium.org/1301823003 git-svn-id: svn://svn.chromium.org/blink/trunk@200787 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
sgurun@chromium.org authored
BUG=473258 Message ports were using the source frame's execution context rather than the targets when ports were transferred from a frame to another. This seems to be leaky and also creates difficulties when implementing message port support for android webview and OOPIF. Use the target instead. This is patch 3 of 3 and removes the deprecated API. Review URL: https://codereview.chromium.org/1304553002 git-svn-id: svn://svn.chromium.org/blink/trunk@200786 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
esprehn@chromium.org authored
Instead of having many callbacks that implicitly have conditions for when the blink frame pipeline should run, have a function on Document that checks them explicitly and make WebViewImpl call it. This will allow checking if iframes are ready to begin running their lifecycle phases when iterating the frame tree in ::beginFrame and ::layout(). BUG=521692 Review URL: https://codereview.chromium.org/1300043003 git-svn-id: svn://svn.chromium.org/blink/trunk@200783 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
alph@chromium.org authored
BUG=463547 Review URL: https://codereview.chromium.org/1295403002 git-svn-id: svn://svn.chromium.org/blink/trunk@200782 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
alph@chromium.org authored
BUG=521224 R=caseq Review URL: https://codereview.chromium.org/1296453003 git-svn-id: svn://svn.chromium.org/blink/trunk@200780 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yosin@chromium.org authored
This patch gets rid of a |Position::deprecatedEditingOffset()| by replacing them to |computeEditingOffset()|, since |deprecatedEditingOffset()| is just calling a |computeEditingOffset()| to simplify code for improving code health. BUG=513114 TEST=n/a; no behavior changes Review URL: https://codereview.chromium.org/1300813002 git-svn-id: svn://svn.chromium.org/blink/trunk@200779 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
samli@chromium.org authored
BUG=521538 Review URL: https://codereview.chromium.org/1301743002 git-svn-id: svn://svn.chromium.org/blink/trunk@200778 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
pfeldman@chromium.org authored
Review URL: https://codereview.chromium.org/1301813002 git-svn-id: svn://svn.chromium.org/blink/trunk@200777 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
BUG=508984 TBR=jsbell@chromium.org Review URL: https://codereview.chromium.org/1289023004 . git-svn-id: svn://svn.chromium.org/blink/trunk@200776 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
kochi@chromium.org authored
As found while investigating crbug.com/503445, crash by assertion hit may induce other innocent tests to crash (to be precise, look like a crash) when an used object is collected by the garbage collector and hit an assertion. I've run independent tests repeatedly to identify which tests causes similar failures and assigned bug for each. They crash anyway, so they must be fixed, but to prevent other innocent tests from crashing, mark them as "Skip" rather than "Crash". BUG=503445, 505364, 520616, 521907, 521913, 521914, 521918, 521929, 521936, 521937, 521941 Review URL: https://codereview.chromium.org/1298893002 git-svn-id: svn://svn.chromium.org/blink/trunk@200775 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
kinuko@chromium.org authored
The change was supposed to be made in three-sided patch: [1] (blink) https://codereview.chromium.org/1262943002/ [2] (chromium) https://codereview.chromium.org/1254023006/ [3] (blink) https://codereview.chromium.org/1262603004/ But the change [1] needed to duplicate one header file (rather than having a forwarding include) and a changes made between [1] and [2] wasn't copied to the dup'ed file. This change's making the same change made in the old location to the new location. I also added a FIXME comment so that we could keep the files in sync until we land [2]. BUG=453032 Review URL: https://codereview.chromium.org/1294803005 git-svn-id: svn://svn.chromium.org/blink/trunk@200774 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
Also, update bug numbers for other crashes in virtual/gpu/fast/canvas/. BUG=454267,522315 TBR=leviw@chromium.org Review URL: https://codereview.chromium.org/1295413003 . git-svn-id: svn://svn.chromium.org/blink/trunk@200773 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
alancutter@chromium.org authored
This test was relying on animation events to function. This change updates the test to use requestAnimationFrame to be more deterministic and avoid timing out when running under threaded debug. BUG=469683 Review URL: https://codereview.chromium.org/1292893005 git-svn-id: svn://svn.chromium.org/blink/trunk@200772 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
junov@chromium.org authored
If the source canvas is not animated, no need to exit deferred rendering because there is no risk of memory bloat due to snapshotting. Fixed reson for original revert: m_snapshotState was not initialized BUG=521001, 521732 NOTRY=true Review URL: https://codereview.chromium.org/1289423003 git-svn-id: svn://svn.chromium.org/blink/trunk@200771 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
liberato@chromium.org authored
Relayout during paint asserts. There were a few cases where the layout was actually dirty during paint, causing the clientHeight() to relayout and crash. Instead, we now cache the last known layout size in the media element, and use it to compute things during paint. It would be much nicer if we could use CSS for this, but it doesn't seem to be possible for the media shadow controls. They all paint as background images. This may also be related to crbug.com/519495 . BUG=520914 Review URL: https://codereview.chromium.org/1296333002 git-svn-id: svn://svn.chromium.org/blink/trunk@200770 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
esprehn@chromium.org authored
Review URL: https://codereview.chromium.org/1290893005 git-svn-id: svn://svn.chromium.org/blink/trunk@200769 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ojan@chromium.org authored
We only compare the 2nd attempt of a run to the tests expected results to see if it was very flaky. Instead we should see if any of the runs had an unexpected result. That way, any test that gets marked flaky will stop getting printed out by this script as soon as the bots have cycled once. Also, use TestExpectations.result_was_expected to determine if a result was actually expected. The previous "in" check didn't work for cases like Text, which are a subset of Failure instead of verbatim include in TestExpectations as Text. Finally, just use the length of the results entry to decide if something is very flaky vs regular flaky. If there are <=2 entries, then it's not very flaky. That catches the cases of a test that reliably fails as well as the case of a test that fails the first attempt and runs as expected on the second run (not necessarily passing on the second attempt, just matching the listing in TestExpectations for that run). R=joelo@chromium.org Review URL: https://codereview.chromium.org/1289163002 . git-svn-id: svn://svn.chromium.org/blink/trunk@200768 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
- 18 Aug, 2015 14 commits
-
-
wangxianzhu@chromium.org authored
Previously almost every layout test crashed with --enable-slimming-paint-v2 when advancing document lifecycle state from CompositingForSlimmingPaintV2Clean to InStyleRecalc or InPreLayout. Review URL: https://codereview.chromium.org/1297943005 git-svn-id: svn://svn.chromium.org/blink/trunk@200767 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
sky@chromium.org authored
. FocusController::setFocusedElement() assumes the focusedFrame() is local. . ChromeClientImpl assumes webview client is non-null. BUG=522260 TEST=none R=japhet@chromium.org Review URL: https://codereview.chromium.org/1298803003 git-svn-id: svn://svn.chromium.org/blink/trunk@200766 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
jsbell@chromium.org authored
The upstream implementation of promise_test() in web-platform-test has changed to run the tests sequentially, removing the need for the sequential_promise_test() helper. Tests now just use promise_test() directly. BUG=451338 R=ortuno@chromium.org Review URL: https://codereview.chromium.org/1295373003 git-svn-id: svn://svn.chromium.org/blink/trunk@200765 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
jbroman@chromium.org authored
This lays the groundwork for doing transform and clip tree construction in one place. It also cleans up the part of the interface which is exposed in the Blink API, and separates range records from the tree itself. BUG=470248 Review URL: https://codereview.chromium.org/1296963002 git-svn-id: svn://svn.chromium.org/blink/trunk@200764 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
fmalita@chromium.org authored
LocalFrame::paintIntoDragImage() translates the content to be origin- aligned, but leaves the picture bounds unchanged => the picture content lies outside the declared picture cull rect. We need to also shift the picture bounds, to keep them aligned with its content. R=junov@chromium.org,mtklein@chromium.org BUG=522143 Review URL: https://codereview.chromium.org/1303453003 git-svn-id: svn://svn.chromium.org/blink/trunk@200763 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
alph@chromium.org authored
BUG=521225 Review URL: https://codereview.chromium.org/1298283002 git-svn-id: svn://svn.chromium.org/blink/trunk@200762 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
esprehn@chromium.org authored
There's no real reason to do all this work in multiple passes over the Vector of Documents. This change does alter the web exposed behavior slightly since now given two same origin iframes that are siblings in the frame tree: A / \ B C when B runs if it looks at C's scroll position during a scroll animation and SMIL animation state it may see slightly different results, especially if the B frame actually started the animation in the C frame. This is already very racing and unpredictable in browsers since it's an obscure edge case, so I'm not too worried it'll break content. This will allow easily skipping iframes that are still loading when processing the blink pipeline. BUG=521692 Review URL: https://codereview.chromium.org/1298253003 git-svn-id: svn://svn.chromium.org/blink/trunk@200761 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
alph@chromium.org authored
BUG=521215 R=caseq Review URL: https://codereview.chromium.org/1293273002 git-svn-id: svn://svn.chromium.org/blink/trunk@200760 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
csharrison@chromium.org authored
used a RawPtrWillBeMember instead because Oilpan can deal with these ownership cycles BUG=382542 Review URL: https://codereview.chromium.org/1290683003 git-svn-id: svn://svn.chromium.org/blink/trunk@200759 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
nektar@chromium.org authored
The value attribute should not be set for non-native text fields, according to HTML to Platform A11y Spec. E.g. <div contenteditable<Some text.</div>. The node with role=SECTION should not have the value="Some text.". BUG=491027 R=dmazzoni@chromium.org Review URL: https://codereview.chromium.org/1289103002 git-svn-id: svn://svn.chromium.org/blink/trunk@200758 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
pfeldman@chromium.org authored
BUG=521200 Review URL: https://codereview.chromium.org/1300743002 git-svn-id: svn://svn.chromium.org/blink/trunk@200757 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
joelo@chromium.org authored
http://src.chromium.org/viewvc/blink?view=revision&revision=200742 BUG=455939 TBR=leviw@chromium.org Review URL: https://codereview.chromium.org/1288273004 . git-svn-id: svn://svn.chromium.org/blink/trunk@200756 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yurys@chromium.org authored
BUG=520702 Review URL: https://codereview.chromium.org/1286423003 git-svn-id: svn://svn.chromium.org/blink/trunk@200755 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
jsbell@chromium.org authored
The test cases initially ran in parallel, but the web-platform-tests' promise_test() switched to running cases serially for predictability, which made these tests with many cases and lots of setup time out. * Split up the match() and matchAll() tests into separate files * Do the pre-population of the caches (within each test) in parallel BUG=508984 Review URL: https://codereview.chromium.org/1295573002 git-svn-id: svn://svn.chromium.org/blink/trunk@200754 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-