- 24 Oct, 2016 18 commits
-
-
yabinh authored
Sometimes ImeTest failed because it failed to click node. We suspect it's because the screen is locked. So we add assertion to check whether that's the case. BUG=628964 Review-Url: https://codereview.chromium.org/2440353002 Cr-Commit-Position: refs/heads/master@{#427023}
-
tyoshino authored
The AssociatedURLLoader is derived from the WebURLLoader interface while WebURLLoaderImpl is also derived from it. WebURLLoaderImpl is an API to use the resource dispatcher and net stack beyond it. AssociatedURLLoader is a wrapper for the DocumentThreadableLoader logic which implements CORS, etc. defined in the Fetch Standard. They're not as-is. Even looking at the API, there're clear differences e.g. the WebURLLoaderOptions is specific to the AssociatedURLLoader. This unnecessary inheritance has been causing confusion when reading the code. We should remove this inheritance. R=bbudge@chromium.org,jochen@chromium.org,kinuko@chromium.org,raymes@chromium.org,dalecurtis@chromium.org,mmenke@chromium.org BUG=none Review-Url: https://codereview.chromium.org/2399463007 Cr-Commit-Position: refs/heads/master@{#427022}
-
jam authored
BUG=504347 TBR=scottmg Review-Url: https://codereview.chromium.org/2442903002 Cr-Commit-Position: refs/heads/master@{#427021}
-
bugsnash authored
Removed PassRefPtr copy constructor. Added move wraps for remaining PassRefPtr copies (newly introduced). BUG=640449 Review-Url: https://codereview.chromium.org/2437883002 Cr-Commit-Position: refs/heads/master@{#427020}
-
kochi authored
Old: assert_true: should move from XXX to YYY expected true got false New (actually in one line): assert_equals: Focus should move forward from XXX to YYY expected Element node <input id="YYY"></input> but got Element node <input id="ZZZ"> Review-Url: https://codereview.chromium.org/2430313003 Cr-Commit-Position: refs/heads/master@{#427019}
-
yan0422.wang authored
When exiting the function because cannot open "oom_adj" file, not close the file handle "dirfd". BUG=n/a Review-Url: https://codereview.chromium.org/2419383008 Cr-Commit-Position: refs/heads/master@{#427018}
-
estark authored
This CL expands WebsiteSettings histograms so that we can track actions broken down by each of the following omnibox states: - valid HTTPS url - HTTPS URL that has been downgraded because of e.g. mixed content - HTTPS URL that is marked dangerous (e.g. broken HTTPS or malware) - HTTP URL that is marked dangerous (e.g. malware) - HTTP URL that has a "Not secure" warning in the omnibox BUG=647566 Review-Url: https://codereview.chromium.org/2434083002 Cr-Commit-Position: refs/heads/master@{#427017}
-
yosin authored
This patch makes |editingIgnoresContents()| as global function instead of static member function of template class |EditingStratgegy| since it doesn't use template parameter to simplify code for improving code health. BUG=n/a TEST=n/a; no behavior changes Review-Url: https://codereview.chromium.org/2441693004 Cr-Commit-Position: refs/heads/master@{#427016}
-
nhiroki authored
Before this CL, MessagePort/ServiceWorker/Client can send an ArrayBuffer with copy semantics, but it cannot send an ArrayBuffer with move semantics even if it's specified as a transferable object. // Copy semantics. port.postMessage(arrayBuffer); // Move semantics. Currently, this doesn't work and shows a warning message // instead. See https://codereview.chromium.org/1301953002 port.postMessage(arrayBuffer, [arrayBuffer]); After this CL, they emulate move semantics by copy-and-neuter semantics that sends an ArrayBuffer by copy semantics and neuters the original ArrayBuffer. <Context of this change> Because of Chromium's multi-process architecture, a target object can be in a different process from a sender object. This makes it difficult to support zero-copy transfer (move semantics) because it needs to stride over process memory boundaries. Using shared memory is a possible solution, but that seems to need architectual changes and introduce complexity. Therefore, as a stopgap, we support sending a transferable ArrayBuffer with copy-and-neuter semantics. See this document for more details: https://docs.google.com/document/d/17o_cjtc3Gk5cDZhoUc37EyhhvBb4wMlCROJvoC2Aokg/edit# BUG=334408, 511119 Review-Url: https://codereview.chromium.org/2414333003 Cr-Commit-Position: refs/heads/master@{#427015}
-
yizhou.jiang authored
Convertion from sRGB to 8-bit linear is going to reduce the precision of the texture, and the downsampling will do the same thing. We should set texture internalformat to rgba32f to optimize precision. BUG=634519 TEST=conformance2/textures/misc/tex-srgb-mipmap.html CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2420813002 Cr-Commit-Position: refs/heads/master@{#427014}
-
shimazu authored
This patch changes --mojo-service-worker to --disable-mojo-service-worker. Let's try mojo for the service worker. BUG=629701 Review-Url: https://codereview.chromium.org/2436223004 Cr-Commit-Position: refs/heads/master@{#427013}
-
avi authored
BUG=555865 Review-Url: https://codereview.chromium.org/2444703002 Cr-Commit-Position: refs/heads/master@{#427012}
-
tzik authored
This CL add a Mojo IPC for synchronous resource loading, and plumps it from content::ResourceDispatcher to content::ResourceDispatcherHost. BUG=603396 Review-Url: https://codereview.chromium.org/2390983003 Cr-Commit-Position: refs/heads/master@{#427011}
-
shimazu authored
As mentioned at https://crbug.com/602693#c17 and https://crbug.com/657869, '[ Skip ]' in TestExpectations cannot be overwritten by WPTTestExpectations. This patch changes '[ Skip ]' to '[ Failure ]' by default in TestExpectations in order to run the w3c tests on WPTServe bots. BUG=602693,453190,624278,617886,571722,618616 TEST=./third_party/WebKit/Tools/Scripts/run-webkit-tests -f -t Debug imported/wpt/service-workers TEST=./third_party/WebKit/Tools/Scripts/run-webkit-tests --enable-wptserve -f -t Debug imported/wpt/service-workers Review-Url: https://codereview.chromium.org/2441963002 Cr-Commit-Position: refs/heads/master@{#427010}
-
ortuno authored
Follow up patch that adds a new fake adapter that finishes a gatt operation after a connect is called and adds tests that uses it. Previous patch: http://crrev.com/2443473003 BUG=608538 Review-Url: https://codereview.chromium.org/2438963002 Cr-Commit-Position: refs/heads/master@{#427009}
-
qyearsley authored
Using update-w3c-deps in Chromium 14341400. I ran update-w3c-deps and updated expectations and baselines manually on Friday last week since w3c-test-autoroller failed. Review-Url: https://codereview.chromium.org/2434563008 Cr-Commit-Position: refs/heads/master@{#427008}
-
ortuno authored
Rejects characteristic.readValue if the frame is not connected or if the frame disconnects during the operation. The new adapter has a Health Thermometer service with a measurement interval characteristic. We use this characteristic because it the only standard characteristic that supports Read, Write and Notify. Reconnection tests in follow up patch: http://crrev.com/2438963002 BUG=608538 Review-Url: https://codereview.chromium.org/2443473003 Cr-Commit-Position: refs/heads/master@{#427007}
-
chrome://historycalamity authored
BUG=None NO_DEPENDENCY_CHECKS=true Review-Url: https://codereview.chromium.org/2418043003 Cr-Commit-Position: refs/heads/master@{#427006}
-
- 23 Oct, 2016 14 commits
-
-
raymes authored
Currently, with HBD, if you navigate to https://get.adobe.com/flashplayer and click "Download", it will trigger the Run Flash prompt. We should ignore navigations if the source URL is the Flash download page itself. BUG=656062 Review-Url: https://codereview.chromium.org/2435933002 Cr-Commit-Position: refs/heads/master@{#427005}
-
qyearsley authored
This is a non-urgent minor change in `webkit-patch rebaseline-cl` that would make it a little less verbose. Right now when you run `webkit-patch rebaseline-cl` by default it prints the list of tests to rebaseline twice: once before starting, listing specific builds, and once when actually downloading baselines. After this CL, the more specific information (which builds are used) is only printed when --verbose is passed, and the default behavior is less verbose. Review-Url: https://codereview.chromium.org/2438393002 Cr-Commit-Position: refs/heads/master@{#427004}
-
shigeki.ohtsu authored
When quic_client is executed with --disable-certificate-verification, it crashes with segmentation fault due to SCT check in ProofVerifierChromium. Instead, FakeProofVerifier is added in order to pass VerifyProof when a certification verification is disabled. BUG= Review-Url: https://codereview.chromium.org/2441053002 Cr-Commit-Position: refs/heads/master@{#427003}
-
Rebaseline Bot authored
https://chromium.googlesource.com/chromium/src/+/97e3ea432 BUG=650083 TBR=robhogan@gmail.com Review URL: https://codereview.chromium.org/2443833002 . Cr-Commit-Position: refs/heads/master@{#427002}
-
mcasas authored
This CL renames VideoCaptureHostTest to VideoCaptureTest, since it really is an integration test of a bunch of classes, as detailed in the class-comments. I've tried a few times to disentangle this mess, in which VideoCaptureHost references MediaStreamManager knowing that the latter is a singleton; MediaStreamManager publicly allows everyone to access its VideoCaptureManager; VideoCaptureManager is a concrete class owning pairs of VideoCaptureController - VideoCaptureDevice; and VideoCaptureController uses via naked pointer VideoCaptureHosts. Not worth it for this unit test. BUG=651897 Review-Url: https://chromiumcodereview.appspot.com/2435393003 Cr-Commit-Position: refs/heads/master@{#427001}
-
allada authored
This patch fixes the timeline scrollbar offset for the canvas timeline experiment. R=dgozman BUG=653738 Review-Url: https://chromiumcodereview.appspot.com/2438683004 Cr-Commit-Position: refs/heads/master@{#427000}
-
rdevlin.cronin authored
The enum definitions in our schemas can either be in the form of a list value with string entries (e.g. "enum": ["foo", "bar", "baz"]) or in the form of a dictionary with a name entry (e.g. "enum": [{"name": "foo"}]). Adjust ArgumentSpec to account for the latter, and add tests. BUG=653596 Review-Url: https://chromiumcodereview.appspot.com/2439263003 Cr-Commit-Position: refs/heads/master@{#426999}
-
jbriance authored
Add zlib dependency in third_party/freetype2/BUILD.gn, as it is already done in third_party/freetype-android/BUILD.gn to fix the following compilation error: ../../src/third_party/freetype2/src/src/gzip/ftgzip.c:49:18: fatal error: zlib.h: No such file or directory BUG=none Review-Url: https://chromiumcodereview.appspot.com/2442733003 Cr-Commit-Position: refs/heads/master@{#426998}
-
robhogan authored
The progression is seen in fast/text/ellipsis-at-edge-of-rtl-text-in-ltr-flow.html and fast/css/text-overflow-input.html. We also now show an exta character of text before the ellipsis where space is available. BUG=650083 Review-Url: https://chromiumcodereview.appspot.com/2392433002 Cr-Commit-Position: refs/heads/master@{#426997}
-
miu authored
Adds a new 'media_remoting' watchlist and cleans-up several miu@-owned lists (due to file adds/moves/renames). Review-Url: https://chromiumcodereview.appspot.com/2444693002 Cr-Commit-Position: refs/heads/master@{#426996}
-
ikilpatrick authored
Once the builder is added only the: NGConstraintSpace(NGWritingMode, NGDirection, NGPhysicalConstraintSpace*) should remain, this mirrors the NGFragment constructor which is just a "view" on top of the NGPhysicalFragment. This mirrors: NGFragment(NGWritingMode, NGDirection, NGPhysicalFragment*) BUG=635619 Review-Url: https://chromiumcodereview.appspot.com/2442123002 Cr-Commit-Position: refs/heads/master@{#426995}
-
fdoray authored
With this CL, SequencedWorkerPool generates an event in the "toplevel" category when it runs a task. This is the same behavior as MessageLoop, TaskScheduler and WorkerPool. BUG=611818 Review-Url: https://chromiumcodereview.appspot.com/2429863002 Cr-Commit-Position: refs/heads/master@{#426994}
-
dmazzoni authored
BUG=648391 Review-Url: https://chromiumcodereview.appspot.com/2416293002 Cr-Commit-Position: refs/heads/master@{#426993}
-
chrome-cron authored
Cr-Commit-Position: refs/heads/master@{#426992}
-
- 22 Oct, 2016 8 commits
-
-
nainar authored
Revert of Move Layout Tree Construction code into Element::rebuildLayoutTree() (patchset #12 id:240001 of https://codereview.chromium.org/2398293003/ ) Reason for revert: Suspected to cause crbug.com/658322. Original issue's description: > Move Layout Tree Construction code into Element::rebuildLayoutTree() > > This patch uses the two dirty bits (NeedsReattachLayoutTree and > ChildNeedsReattachLayoutTree) on Node and adds the relevant > getters/setters for them. > > It makes rebuildLayoutTree() public to be accessed in Document.cpp. > > It also moves reattachWhitespaceSiblingsIfNeeded() to rebuildLayoutTree() and > uses dirtyBits to call either reattachLayoutTree() on node itself or call > rebuildLayoutTree() on children nodes. > > Also added some comments explaining some design decisions. Will be removed > upon completion of separation. > > BUG=595137 > > Committed: https://crrev.com/09b7a8cf0647abca732b3718987a629d12a67fee > Cr-Commit-Position: refs/heads/master@{#426353} TBR=esprehn@chromium.org,bugsnash@chromium.org # Not skipping CQ checks because original CL landed more than 1 days ago. BUG=595137 Review-Url: https://chromiumcodereview.appspot.com/2439973005 Cr-Commit-Position: refs/heads/master@{#426991}
-
fs authored
Because of the cast of the RHS, |u|, a copy would be generated, with code and cycle bloat as the result. In some cases this can even have prevented inlining. Particularly nasty examples: bool compareEqual(const Vector<LengthPoint>&, const Vector<LengthPoint>&) [210 bytes] bool compareEqual(const Vector<CSSPropertyID>&, const Vector<CSSPropertyID>&) [274 bytes] bool compareEqual(const Vector<GridTrackSize>&, const Vector<GridTrackSize>&) [182 bytes] bool compareEqual(const HashMap<String, GridArea>&, const HashMap<String, GridArea>&) [308 bytes] bool compareEqual(const TransformOperations&, const TransformOperations&) [441 bytes] bool compareEqual(const LengthBox&, const LengthBox&) [249 bytes] Remove the U->T cast in compareEqual to avoid the copies. Nothing seems to require this coercion (anymore?) This eliminates the above symbols entirely. A total binary size reduction of >30k (x86-64; non-official) also indicates even the simpler cases/types may have benefited. Review-Url: https://chromiumcodereview.appspot.com/2438353002 Cr-Commit-Position: refs/heads/master@{#426990}
-
rego authored
We were storing the index in the DOM for the grid items in m_gridItemsIndexesMap. However, we can already store the index following the order-modified document order. This allows us to simplify the sorter in painting, as we don't need to check the order property now, just simply use the stored index. No new tests, as it's already covered by current tests. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://chromiumcodereview.appspot.com/2438253003 Cr-Commit-Position: refs/heads/master@{#426989}
-
chromeos-commit-bot authored
Cr-Commit-Position: refs/heads/master@{#426988}
-
eae authored
BUG=657438 R=pdr@chromium.org Review-Url: https://chromiumcodereview.appspot.com/2445463002 Cr-Commit-Position: refs/heads/master@{#426987}
-
catapult-deps-roller authored
https://chromium.googlesource.com/external/github.com/catapult-project/catapult.git/+log/27ca97928854..6962f5c0344a $ git log 27ca97928..6962f5c03 --date=short --no-merges --format='%ad %ae %s' 2016-10-21 benjhayden Add --html --json args to valueset2html. Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, see: http://www.chromium.org/developers/tree-sheriffs/sheriff-details-chromium#TOC-Failures-due-to-DEPS-rolls CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel TBR=catapult-sheriff@chromium.org Review-Url: https://chromiumcodereview.appspot.com/2439233003 Cr-Commit-Position: refs/heads/master@{#426986}
-
vakh authored
PVer4: Add UMA metrics for time taken to: load DB, do prefix check, and network time to do full hash check SB2.DatabaseOpen: The time it takes to read, parse, and load the database from disk into memory. SB2.FilterCheck: The time it takes to check the prefix hashes for a match. I tested a known phishing URL. SB2.Network: The time it takes to get the full hash response from the server and parse it. This is anecdotal, but I ran the two DB managers in parallel mode 5 times (5 different launches of Chrome) and got the following results: + SB2.DatabaseOpen is consistently faster for PVer4 by 59% (0.0919344s vs 0.0375474s). The PVer4 version is called: SafeBrowsing.V4DatabaseOpen.Time + SB2.FilterCheck is consistently faster for PVer4 by 30% (0.0093838s vs 0.00659247s). The PVer4 version is called: SafeBrowsing.V4GetPrefixMatches.Time + SB2.Network is consistently *slower* for PVer4 by 4.94% (0.2113358s vs 0.221783s). -- This slowness needs to be investigated but is somewhat acceptable since this is only used for 1/1000 hash checks. The PVer4 version is called: SafeBrowsing.V4GetHashNetwork.Time Adding these metrics would allow us to do a more reasonable comparison. BUG=543161 Review-Url: https://chromiumcodereview.appspot.com/2441923003 Cr-Commit-Position: refs/heads/master@{#426985}
-
fsamuel authored
In an effort to unify Mus+Ash and Chrome terminology, this CL replaces all WindowSurface references with ui::(Server)WindowCompositorFrameSink. This CL is a followup to https://codereview.chromium.org/2430653002/ BUG=656975 TBR=tsepez@chromium.org for renaming of methods in mojoms. CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel Review-Url: https://chromiumcodereview.appspot.com/2429173005 Cr-Commit-Position: refs/heads/master@{#426984}
-