- 09 Sep, 2015 29 commits
-
-
mlamouri@chromium.org authored
See spec change: https://github.com/w3c/presentation-api/issues/184 BUG=529051 Review URL: https://codereview.chromium.org/1311003004 git-svn-id: svn://svn.chromium.org/blink/trunk@201971 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yosin@chromium.org authored
This patch expands two version of |endOfLine()| which changes behavior with |mode| parameter into callers, one parameter version of |endOfLine()| and |logicalEndOfLine()| to simplify implementation as a preparation for templatizing |endOfLine()| and |logicalEndOfLine()| to introduce composed tree version. 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/1326403003 git-svn-id: svn://svn.chromium.org/blink/trunk@201970 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
mkwst@chromium.org authored
We should never get to a point where a `chrome-extension:` resource shows up in the stack trace for a blocked resource. That said, we're apparently hitting that scenario somewhat often. This patch at least ensures that our brokenness isn't spamming reporting endpoints, and revealing the extensions that users have installed to the site owners. BUG=524356 Review URL: https://codereview.chromium.org/1302363004 git-svn-id: svn://svn.chromium.org/blink/trunk@201969 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
mkwst@chromium.org authored
TBR=eae@chromium.org NOTRY=true Review URL: https://codereview.chromium.org/1326183005 git-svn-id: svn://svn.chromium.org/blink/trunk@201968 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yosin@chromium.org authored
This patch introduces composed tree version of |rightPositionOf()| by templatizing original |rightPositionOf()| to work both DOM tree position and composed tree position version for introducing composed tree version of |VisibleSelection| class. This patch also templaizes |rightVisuallyDistinctCandidate()| used by |rightPositionOf()|. 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/1311803004 git-svn-id: svn://svn.chromium.org/blink/trunk@201967 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
Fold FormDataList::getEntry() and getAll() into DOMFormData. So, no one uses FormDataList::Entry. This CL has no behavior changes. BUG=528840 Review URL: https://codereview.chromium.org/1312333005 git-svn-id: svn://svn.chromium.org/blink/trunk@201966 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yosin@chromium.org authored
This patch introduces |ComposedTreeTraversal::previousPostOrder()| which is composed tree version of |NodeTraversal::previousPostOrder()| as a preparation of implementing composed tree version of |startOfParagraph()|. 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/1308063008 git-svn-id: svn://svn.chromium.org/blink/trunk@201965 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
mkwst@chromium.org authored
We changed the behavior of 'Document::firstPartyForCookies' to return an empty URL in the case where any URL in the ancestor chain doesn't match the current document's URL. Previously, we'd simply return the top-level document's URL. This means that the content-settings bypass check in 'ContentSettingsObserver::IsWhitelistedForContentSettings' sees an empty URL as opposed to a 'chrome-extension://' URL for cases in which an extension loads a resource, so content settings are applied as per usual. This breaks things fairly badly for folks who have turned on third-party cookie blocking. In these patches, we introduce a new scheme registry for those schemes which ought to override Blink's concept of "first-party" when they're loaded into the top-level browsing context. Patch 1 (Blink): [This patch] Patch 2 (Chromium): https://codereview.chromium.org/1332563006 BUG=527963 R=jochen@chromium.org Review URL: https://codereview.chromium.org/1305253012 git-svn-id: svn://svn.chromium.org/blink/trunk@201964 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yosin@chromium.org authored
This patch introduces composed tree version of |previousPositionOf()| by templatizing original |previousPositionOf()| to work both DOM tree position and composed tree position version for introducing composed tree version of |VisibleSelection| class. This patch also templatizes |skipToStartOfEditingBoundary()| used by |previousPositionOf()|. 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/1312473017 git-svn-id: svn://svn.chromium.org/blink/trunk@201963 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
This fixes an assertion failure in ~PickerIndicatorElement. We need to do rebaseline of many tests because these tests opened pickers without focus. openPicker() force to focus on <input> elements now. We confirmed Win10 failures were trivial. They were due to month format change and minor font glitch. BUG=529530 Review URL: https://codereview.chromium.org/1311013012 git-svn-id: svn://svn.chromium.org/blink/trunk@201962 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
mkwst@chromium.org authored
6 tests have super-minor differences in pixel color. Probably due to the roll in https://codereview.chromium.org/1315893005 TBR=dalecurtis@chromium.org NOTRY=true Review URL: https://codereview.chromium.org/1316663006 git-svn-id: svn://svn.chromium.org/blink/trunk@201961 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
mkwst@chromium.org authored
Revert of Add a FOUC painting test. (patchset #6 id:100001 of https://codereview.chromium.org/1329553004/ ) Reason for revert: This patch is failing on debug bots, all platforms. For example: * https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Linux%20%28dbg%29/builds/3244 * https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Mac10.7%20%28dbg%29/builds/24575 Original issue's description: > Add a FOUC painting test. > > This expands the Sim(ulation) testing framework to support a very rudimentary > compositor that can run a simple BeginMainFrame which runs the WebView's > beginFrame() and layout() steps followed by a simplified paint step which paints > the main layer of every composited layer mapping. This is a very rough > approximation of what the real compositor would do, but is enough to test the > code for avoiding FOUC in DeprecatedPaintLayerPainter's shouldSuppressPaintingLayer > and BlockPainter::paintContents. It's also enough to test the paint invalidation > logic in Document::styleResolverChanged for when we painted by skipping painting > the actual content because of the previously mentioned FOUC avoidance logic. > > I also went and added a bunch of comments to the Sim* classes to explain what > they do and how to use the testing framework. A future patch may add a README > so we can use this framework to write future pipeline tests. > > BUG=521692 > > Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201944 TBR=dglazkov@chromium.org,pdr@chromium.org,esprehn@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=521692 Review URL: https://codereview.chromium.org/1316673009 git-svn-id: svn://svn.chromium.org/blink/trunk@201960 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
mkwst@chromium.org authored
As specified in [1], the 'frame-ancestors' CSP directive should take control of the access checks when loading a document. In particular, the 'x-frame-options' header should be ignored if a 'frame-ancestors' directive is present and enforced. [1]: https://w3c.github.io/webappsec/specs/content-security-policy/#frame-ancestors-and-frame-options BUG=510423 R=estark@chromium.org Review URL: https://codereview.chromium.org/1326823003 git-svn-id: svn://svn.chromium.org/blink/trunk@201959 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yosin@chromium.org authored
This patch introduces composed tree version of |endOfDocument()| by templatizing original |endOfDocument()| 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/1326683006 git-svn-id: svn://svn.chromium.org/blink/trunk@201958 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
Fold FormDataList::getEntry(index) into DOMFormData without creating FormDataList::Entry. - Add Item::file() to share code between itemsToEntry() and DOMFormDataIterationSource::next(). - Add Item::isString() and isFile() for compatibility with Entry. - Add DOMFormData::decode() to decode CStrings in Item. This CL has no behavior changes. BUG=528840 Review URL: https://codereview.chromium.org/1334513002 git-svn-id: svn://svn.chromium.org/blink/trunk@201957 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
bashi@chromium.org authored
Because CSSParserTokens depends on PartitionAlloc. BUG=501171 Review URL: https://codereview.chromium.org/1333583003 git-svn-id: svn://svn.chromium.org/blink/trunk@201956 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yosin@chromium.org authored
This patch introduces composed tree version of |isEndOfEditableOrNonEditableContent()| by templatizing original |isEndOfEditableOrNonEditableContent()| 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/1333583002 git-svn-id: svn://svn.chromium.org/blink/trunk@201955 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yosin@chromium.org authored
This patch introduces composed tree version of |leftPositionOf()| by templatizing original |leftPositionOf()| to work both DOM tree position and composed tree position version for introducing composed tree version of |VisibleSelection| class. This patch also introduces |createVisiblePosition()| for |PositionInComposdTreeWithAffinity| and templaizes |honorEditingBoundaryAtOrAfter()| and |leftVisuallyDistinctCandidate()| used by |leftPositionOf()|. 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/1326313002 git-svn-id: svn://svn.chromium.org/blink/trunk@201954 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
The XHR specification defines 'FormData' interface [1], but the blink::FormData is not its implementation. It's confusing. A later patch will rename DOMFormData to FormData. This CL has no behavior changes. [1] https://xhr.spec.whatwg.org/#interface-formdata BUG=528840 Review URL: https://codereview.chromium.org/1311923004 git-svn-id: svn://svn.chromium.org/blink/trunk@201953 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
This is a speculative fix for crbug.com/515899. If a JavaScript dialog is opened while a SELECT popup is shown, and the SELECT popup is hidden before the dialog is hidden, window focus is not correctly restored. So, we guess delaying change events solves the problem. BUG=515899 Review URL: https://codereview.chromium.org/1321993005 git-svn-id: svn://svn.chromium.org/blink/trunk@201952 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
- Move FormDataList::deleteEntry() to DOMFormData - Fold FormDataList::hasEntry() into DOMFormData::has(). This CL has no behavior changes. BUG=528840 Review URL: https://codereview.chromium.org/1308183006 git-svn-id: svn://svn.chromium.org/blink/trunk@201951 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
joelo@chromium.org authored
http://src.chromium.org/viewvc/blink?view=revision&revision=201938 BUG=521124 TBR=eae@chromium.org Review URL: https://codereview.chromium.org/1307203008 . git-svn-id: svn://svn.chromium.org/blink/trunk@201950 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
jeremyarcher@google.com authored
See https://code.google.com/p/chromium/issues/detail?id=452745#c17 for details. BUG=452745 Review URL: https://codereview.chromium.org/1300083002 git-svn-id: svn://svn.chromium.org/blink/trunk@201949 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dgozman@chromium.org authored
BUG=none Review URL: https://codereview.chromium.org/1328273003 git-svn-id: svn://svn.chromium.org/blink/trunk@201947 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
joelo@chromium.org authored
http://src.chromium.org/viewvc/blink?view=revision&revision=201930 BUG=237050 TBR=eae@chromium.org Review URL: https://codereview.chromium.org/1314943011 . git-svn-id: svn://svn.chromium.org/blink/trunk@201946 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
loyso@chromium.org authored
We create ScrollingCoordinator for pages with non-local frames, but it's noop in functionality because of guards: if (!m_page->mainFrame()->isLocalFrame()) return; Let's align the behavior with the rest of ScrollingCoordinator code. Otherwise it crashes browser tests. BUG=394777 Review URL: https://codereview.chromium.org/1304213003 git-svn-id: svn://svn.chromium.org/blink/trunk@201945 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
esprehn@chromium.org authored
This expands the Sim(ulation) testing framework to support a very rudimentary compositor that can run a simple BeginMainFrame which runs the WebView's beginFrame() and layout() steps followed by a simplified paint step which paints the main layer of every composited layer mapping. This is a very rough approximation of what the real compositor would do, but is enough to test the code for avoiding FOUC in DeprecatedPaintLayerPainter's shouldSuppressPaintingLayer and BlockPainter::paintContents. It's also enough to test the paint invalidation logic in Document::styleResolverChanged for when we painted by skipping painting the actual content because of the previously mentioned FOUC avoidance logic. I also went and added a bunch of comments to the Sim* classes to explain what they do and how to use the testing framework. A future patch may add a README so we can use this framework to write future pipeline tests. BUG=521692 Review URL: https://codereview.chromium.org/1329553004 git-svn-id: svn://svn.chromium.org/blink/trunk@201944 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
wkorman@chromium.org authored
BUG=474759 Review URL: https://codereview.chromium.org/1328293002 git-svn-id: svn://svn.chromium.org/blink/trunk@201943 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
pdr@chromium.org authored
This patch adds internals.advanceImageAnimationFrame([img]) for advancing an image's animation in tests. With this patch, 2.5 seconds of unnecessary and flaky setTimeout calls have been removed. Review URL: https://codereview.chromium.org/1304093006 git-svn-id: svn://svn.chromium.org/blink/trunk@201942 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
- 08 Sep, 2015 11 commits
-
-
joelo@chromium.org authored
http://src.chromium.org/viewvc/blink?view=revision&revision=201880 BUG=524134 TBR=pdr@chromium.org Review URL: https://codereview.chromium.org/1311363010 . git-svn-id: svn://svn.chromium.org/blink/trunk@201941 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
joelo@chromium.org authored
http://src.chromium.org/viewvc/blink?view=revision&revision=201927 BUG=449197 TBR=dcastagna@chromium.org Review URL: https://codereview.chromium.org/1315063009 . git-svn-id: svn://svn.chromium.org/blink/trunk@201940 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
joelo@chromium.org authored
http://src.chromium.org/viewvc/blink?view=revision&revision=201913 BUG=528262 TBR=robertphillips@google.com Review URL: https://codereview.chromium.org/1326363003 . git-svn-id: svn://svn.chromium.org/blink/trunk@201939 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eae@chromium.org authored
Update the fast/css/font-weight-1.html test to wait for the fonts loaded promise to resolve thereby blocking on all webfonts to load. This should ensure that the Windows try bots gets the correct expected image result. BUG=521124 TBR=szager@chromium.org Review URL: https://codereview.chromium.org/1334473002 git-svn-id: svn://svn.chromium.org/blink/trunk@201938 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dgozman@chromium.org authored
- Makes active buttons (like filter) remain red on hover. - Makes toolbar text not selectable. BUG=none Review URL: https://codereview.chromium.org/1319163005 git-svn-id: svn://svn.chromium.org/blink/trunk@201937 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
lfg@chromium.org authored
BUG=522237, 493262 Review URL: https://codereview.chromium.org/1312903017 git-svn-id: svn://svn.chromium.org/blink/trunk@201936 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
miletus@chromium.org authored
content, the touch rect is translated into the iframe document's space using the document's scroll offset. It has a subtle problem that if originally the touch rect is only partially overlapping with the iframe, after it is translated into the iframe document's space, the touch rect might be considered to be fully contained in the document. Reinforce the detection by asserting that only when the touch hit-test rect is totally within the iframe's bound in the main document's space then do we stop the rect-base hit-test search. BUG=461972 Review URL: https://codereview.chromium.org/1308173007 git-svn-id: svn://svn.chromium.org/blink/trunk@201935 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
rune@opera.com authored
We do not scheduleVisualUpdate for setNeedsStyleRecalc when we have pending stylesheets. If we setNeedsStyleRecalc while loading a stylesheet, we won't necessarily trigger a BeginFrame when the stylesheet finishes loading because subsequent setNeedsStyleRecalc call won't trigger those either if the ascendants are already marked with childNeedsStyleRecalc because we assume the visual update is already scheduled. Schedule a BeginFrame from resumeTreeViewCommits to make sure deferred visual updates are triggered. BUG=384934 Review URL: https://codereview.chromium.org/1316403004 git-svn-id: svn://svn.chromium.org/blink/trunk@201933 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
wangxianzhu@chromium.org authored
Just to fix the assertion failure. The related code will be deprecated soon. BUG=457415,523142 Review URL: https://codereview.chromium.org/1326093003 git-svn-id: svn://svn.chromium.org/blink/trunk@201932 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dcheng@chromium.org authored
This has moved to WebRemoteFrameClient. BUG=none Review URL: https://codereview.chromium.org/1309363005 git-svn-id: svn://svn.chromium.org/blink/trunk@201931 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eae@chromium.org authored
Add fallback fonts for more math and symbol unicode blocks on Windows to allow better font fallback and handling of symbols that generally aren't available in the commonly used fonts. R=szager@chromium.org BUG=237023, 237050, 526354 TEST=fast/text/unicode-fallback-font.html Review URL: https://codereview.chromium.org/1314543011 git-svn-id: svn://svn.chromium.org/blink/trunk@201930 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-