- 26 Mar, 2014 6 commits
-
-
ojan@chromium.org authored
http://src.chromium.org/viewvc/blink?view=revision&revision=169714 BUG=354688 TBR=abarth@chromium.org Review URL: https://codereview.chromium.org/211573006 git-svn-id: svn://svn.chromium.org/blink/trunk@169988 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ojan@chromium.org authored
http://src.chromium.org/viewvc/blink?view=revision&revision=169756 BUG=344497,352628 TBR=fmalita@chromium.org Review URL: https://codereview.chromium.org/199323010 git-svn-id: svn://svn.chromium.org/blink/trunk@169987 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
BUG= NOTRY=true Review URL: https://codereview.chromium.org/209043006 git-svn-id: svn://svn.chromium.org/blink/trunk@169986 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
zeeshanq@chromium.org authored
All touch based state is set via gesture events so there is no need for these tests. BUG=325930 Review URL: https://codereview.chromium.org/211423002 git-svn-id: svn://svn.chromium.org/blink/trunk@169985 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dsinclair@chromium.org authored
Currently in RenderBox::styleWillChange we will issue a view()->repaint() if the node is the HTML or body element and the diff >= StyleDifferenceRepaint. For repaint-after-layout, if this is StyleDifferenceLayout, we will do the layout and end up issuing the same invalidation again. This CL makes the view()->repaint() call conditional on either 1) repaint-after-layout is disabled 2) this is not a StyleDifferenceLayout. BUG=320139 Review URL: https://codereview.chromium.org/211613002 git-svn-id: svn://svn.chromium.org/blink/trunk@169984 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ziran.sun@samsung.com authored
The argument for these functions have been replaced by HTMLFormControlElement. Since changes at both chromium and blink sides are landed, it's safe to remove these functions. R=isherman@chromium.org, tkent@chromium.org BUG=332557 Review URL: https://codereview.chromium.org/203263004 git-svn-id: svn://svn.chromium.org/blink/trunk@169983 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
- 25 Mar, 2014 34 commits
-
-
jbroman@chromium.org authored
Previously, no Blink platform was initialized, leading to a segfault when a trace event occurred in NativeImageSkia::draw. This was fixed by making the platform unit test runner provide a minimal platform by default. The gyp target was adjusted to match the way blink_heap_unittests, for example, sets up its environment. This seems like a reasonable compromise between having a null platform and having a more complete platform implemented on the Chromium side, like the web unit tests have. BUG=353585 Review URL: https://codereview.chromium.org/206473009 git-svn-id: svn://svn.chromium.org/blink/trunk@169982 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
enne@chromium.org authored
BUG=345027 R=japhet@chromium.org Review URL: https://codereview.chromium.org/211903002 git-svn-id: svn://svn.chromium.org/blink/trunk@169981 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
rtoy@google.com authored
The spec requires a minimum range of 22.05-96 kHz. (http://webaudio.github.io/web-audio-api/#widl-AudioContext-createBuffer-AudioBuffer-unsigned-long-numberOfChannels-unsigned-long-length-float-sampleRate) Add two new tests to verify that 3 kHz and 192 kHz are allowed and update expected test results for allowed range. BUG=344375 Review URL: https://codereview.chromium.org/201673004 git-svn-id: svn://svn.chromium.org/blink/trunk@169980 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dcheng@chromium.org authored
As it turns out, we only needed to patch the Chrome side. > Prevent web content from forging File entries in drag and drop. > > There are two separate bugs that this and the corresponding Chrome patch > aim to address: > - On Linux, files and URLs are transferred in the same MIME type, so > it's impossible to tell if a filename was set by a trusted source or > forged by web content. > - DownloadURL triggers the download of potentially cross-origin content. > On some platforms, such as Windows, the resulting download is treated > as a file drag by Chrome, allowing web content to read cross origin > content. > > In order to prevent web content from doing this, drags initiated by a > renderer will be marked as tainted. When tainted drags are over web > content, Blink will only allow the resulting filename to be used for > navigation, with Chrome enforcing this with the sandbox policy. > > Unfortunately, this does break some potentially interesting use cases > like being able to drag an attachment from Gmail to a file input, but > those will have to be separately addressed, if possible. > > BUG=346135 > R=abarth@chromium.org, tony@chromium.org > > Review URL: https://codereview.chromium.org/193803002 TBR=dcheng@chromium.org Review URL: https://codereview.chromium.org/211853002 git-svn-id: svn://svn.chromium.org/blink/trunk@169979 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
rafaelw@chromium.org authored
V8 now hosts the end-of-microtask work queue. This allows consistent scheduling of microtask work regardless of where it is implemented (v8 vs blink). R=adamk@chromium.org Review URL: https://codereview.chromium.org/167683003 git-svn-id: svn://svn.chromium.org/blink/trunk@169978 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
alph@chromium.org authored
Review URL: https://codereview.chromium.org/211203003 git-svn-id: svn://svn.chromium.org/blink/trunk@169977 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
mark@chromium.org authored
[Mac] Rely on science, not chance, to get the proper definition of the macro NSGEOMETRY_TYPES_SAME_AS_CGGEOMETRY_TYPES. NSGEOMETRY_TYPES_SAME_AS_CGGEOMETRY_TYPES is used in {Int,Float}{Point,Size,Rect}.h to determine whether to provide distinct conversion constructors and operators for Foundation NS{Point,Size,Rect} types in addition to the CoreGraphics CG{Point,Size,Rect} types. When this macro is defined (as in 64-bit Mac OS X), the NS and CG types are identical and no additional overloads are needed. When not defined (as in 32-bit Mac OS X), the types are distinct and additional overrides are needed for the NS types. This macro is set (or not) by <Foundation/NSGeometry.h>. It is an error to consider this macro without first #importing this header or its umbrella, <Foundation/Foundation.h> or <Cocoa/Cocoa.h>. It is also an error to #import these headers from non-Objective-C code, but in that case, it is impossible to correctly use the NS types. The net effect is that the overloads for the distinct NS types will available in Objective-C translation units when the types are in fact distinct from the CG ones, and not available in non-Objective-C translation units where they wouldn't be useful anyway, even if the types are distinct. Where the types are not distinct, the conversion constructor and operator for CG types is able to handle NS ones as well. This backs out a previous hack fix for this problem, Blink r169826. BUG=355576 TEST=compile, both 32-bit and 64-bit Review URL: https://codereview.chromium.org/208333020 git-svn-id: svn://svn.chromium.org/blink/trunk@169976 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
skobes@chromium.org authored
Line height is cached in the RenderBlock; when FTA updates a multiplier it needs to force recomputation of the line height. (The old autosizer avoids this issue by using setStyle instead of setStyleInternal. This triggers style recalc, which invalidates the line height.) BUG=353309,354032 Review URL: https://codereview.chromium.org/209853007 git-svn-id: svn://svn.chromium.org/blink/trunk@169975 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
kaznacheev@chromium.org authored
BUG=242405 Review URL: https://codereview.chromium.org/188643003 git-svn-id: svn://svn.chromium.org/blink/trunk@169974 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
junov@chromium.org authored
BUG=354356 Review URL: https://codereview.chromium.org/211313003 git-svn-id: svn://svn.chromium.org/blink/trunk@169973 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
mlamouri@chromium.org authored
BUG=162827 Review URL: https://codereview.chromium.org/204653002 git-svn-id: svn://svn.chromium.org/blink/trunk@169972 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dsinclair@chromium.org authored
This ASSERT should become useless once the LayoutState code is fixed. Remove the ASSERT to make normal development easier. BUG=320139 Review URL: https://codereview.chromium.org/211033009 git-svn-id: svn://svn.chromium.org/blink/trunk@169971 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
japhet@chromium.org authored
This was regressed in http://src.chromium.org/viewvc/blink?revision=161843&view=revision, when we started propagating sandbox flags to new windows via FrameLoader::forceSandboxFlags even if the new window was caused by clicking a link with target="_blank". BUG=353253 TEST=http/tests/navigation/new-window-sandboxed-iframe.html Review URL: https://codereview.chromium.org/208853004 git-svn-id: svn://svn.chromium.org/blink/trunk@169970 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
philipj@opera.com authored
This is in order to help determine which of these need to be kept in the DOM spec, since it looks like some of them will be needed: https://www.w3.org/Bugs/Public/show_bug.cgi?id=21986 BUG=none NOTRY=true Review URL: https://codereview.chromium.org/211363003 git-svn-id: svn://svn.chromium.org/blink/trunk@169969 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
jam@chromium.org authored
The old methods are temporarily left on WebView until Chrome switches. Also remove WebView::isSelectionEditable since it's not called. BUG=304341 Review URL: https://codereview.chromium.org/201773005 git-svn-id: svn://svn.chromium.org/blink/trunk@169968 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tsepez@chromium.org authored
This trailing "/*" (and so forth) do not contribute very much to the signal, and not using them allows us to catch some interesting corner cases involving server-side page post-processors. BUG=355479 Review URL: https://codereview.chromium.org/210033008 git-svn-id: svn://svn.chromium.org/blink/trunk@169967 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
rtoy@google.com authored
All of the layout tests are updated to use unprefixed AudioContext and OfflineAudioContext. Conversion was done using a script. All tests pass. However, we still want to be able to run these tests on older browsers, so where possible, we add a compatibility layer (in resources/compatibility.js) to support running selected tests in browsers with prefixed AudioContext. This was tested manually using Chrome 34.0.1847.60 beta on Linux. BUG= Review URL: https://codereview.chromium.org/208943004 git-svn-id: svn://svn.chromium.org/blink/trunk@169966 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
aandrey@chromium.org authored
BUG=272416 R=pfeldman Review URL: https://codereview.chromium.org/202113007 git-svn-id: svn://svn.chromium.org/blink/trunk@169965 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
xians@chromium.org authored
NOTRY=true Review URL: https://codereview.chromium.org/210713005 git-svn-id: svn://svn.chromium.org/blink/trunk@169964 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dgozman@chromium.org authored
Now each View knows about it's minimum size and containers use it to layout. Therefore split view constraints have moved from split view to the child views. Root view now clips the content when available window size is less than minimum size of content. BUG=none Review URL: https://codereview.chromium.org/197823010 git-svn-id: svn://svn.chromium.org/blink/trunk@169963 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
morrita@chromium.org authored
The test occasionally crashes by touching null HTMLImportsController:m_master in a timer function. This change cancel the timer when m_master is cleared, and add an ASSERT() to make sure that |m_master| is available when timer is fired. BUG=355640 TEST=imports-custom-element-abort.html R=dominicc Review URL: https://codereview.chromium.org/209333012 git-svn-id: svn://svn.chromium.org/blink/trunk@169962 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
skobes@chromium.org authored
BUG=353309 Review URL: https://codereview.chromium.org/208393008 git-svn-id: svn://svn.chromium.org/blink/trunk@169961 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tasak@google.com authored
Shadow DOM styling spec link: http://drafts.csswg.org/css-scoping/#deep-combinator BUG=348891 TEST=no new tests because just renaming. Review URL: https://codereview.chromium.org/210813002 git-svn-id: svn://svn.chromium.org/blink/trunk@169960 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
pfeldman@chromium.org authored
R=apavlov@chromium.org Review URL: https://codereview.chromium.org/211193004 git-svn-id: svn://svn.chromium.org/blink/trunk@169959 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
rune@opera.com authored
Missing restore caused unnecessary invalidations in subsequent subtrees. Also renamed a misnamed parameter in RuleFeature.h R=esprehn BUG=356196 Review URL: https://codereview.chromium.org/211333003 git-svn-id: svn://svn.chromium.org/blink/trunk@169958 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eroman@chromium.org authored
BUG=245025 Review URL: https://codereview.chromium.org/210693002 git-svn-id: svn://svn.chromium.org/blink/trunk@169957 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
mboc@opera.com authored
CHR-1706: Context menu with Shift+F10 shows out of Opera when web contents scrolled. In case we are opening a context menu on an element, the menu should be shown as currently, since the element has most probably a correct transform available. Since the <body> element possibly has contents of great height, the context menu should be shown on the upper edge of the displayed part of the element. BUG=Context menu with Shift+F10 shows out of Opera when web contents scrolled. The menu's position should not be translated by scroll position in case of opening a menu for the <body> element. Review URL: https://codereview.chromium.org/110533004 git-svn-id: svn://svn.chromium.org/blink/trunk@169956 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eae@chromium.org authored
Remove the unused m_emSizeInFontUnits field and emSizeInFontUnits method from FontPlatformDataHarfBuzz. BUG=355806 R=pdr@chromium.org Review URL: https://codereview.chromium.org/210573002 git-svn-id: svn://svn.chromium.org/blink/trunk@169955 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
alph@chromium.org authored
The window selection is shown in a left corner when drag was initiated on a marker. R=pfeldman@chromium.org Review URL: https://codereview.chromium.org/211343003 git-svn-id: svn://svn.chromium.org/blink/trunk@169954 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
sergeyv@chromium.org authored
BUG= Review URL: https://codereview.chromium.org/211023002 git-svn-id: svn://svn.chromium.org/blink/trunk@169953 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
mlamouri@chromium.org authored
BUG=None Review URL: https://codereview.chromium.org/196413027 git-svn-id: svn://svn.chromium.org/blink/trunk@169952 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
pan.deng@intel.com authored
This CL add power profiler in DevTools frontend, and draw power data in PowerOverview of Timeline panel. BUG=337138 Review URL: https://codereview.chromium.org/104523002 git-svn-id: svn://svn.chromium.org/blink/trunk@169951 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
rijubrata.bhaumik@intel.com authored
Only EventTarget.h needs this include This is a follow up patch for this CL by Adam Barth https://codereview.chromium.org/26890003 BUG= Review URL: https://codereview.chromium.org/210133002 git-svn-id: svn://svn.chromium.org/blink/trunk@169950 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
haraken@chromium.org authored
BUG=341032 Review URL: https://codereview.chromium.org/211113002 git-svn-id: svn://svn.chromium.org/blink/trunk@169949 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-