summaryrefslogtreecommitdiffstats
path: root/components/html_viewer/ax_provider_impl_unittest.cc
Commit message (Collapse)AuthorAgeFilesLines
* Convert Pass()→std::move() in //components/[a-m]*dcheng2015-12-261-2/+3
| | | | | | | | | | BUG=557422 R=avi@chromium.org TBR=jochen@chromium.org Review URL: https://codereview.chromium.org/1548193002 Cr-Commit-Position: refs/heads/master@{#366906}
* Switch to standard integer types in components/, part 2 of 4.avi2015-12-261-2/+5
| | | | | | | | | BUG=138542 TBR=blundell@chromium.org Review URL: https://codereview.chromium.org/1548113002 Cr-Commit-Position: refs/heads/master@{#366877}
* Don't use base::MessageLoop::{Quit,QuitClosure} in components/ki.stfu2015-10-131-1/+3
| | | | | | | | | | | | This patch renames base::MessageLoop::{Quit,QuitClosure} to base::MessageLoop::{QuitWhenIdle,QuitWhenIdleClosure}. BUG=131220 R=blundell@chromium.org Review URL: https://codereview.chromium.org/1402553002 Cr-Commit-Position: refs/heads/master@{#353726}
* Mandoline: WebGL: Fill WebGLInfo during creating a WebGL contextpenghuang2015-09-241-1/+2
| | | | | | | | | | | BUG=525159 Committed: https://crrev.com/6ae5ac1b718c499a5165e11c1e83899fd219754e Cr-Commit-Position: refs/heads/master@{#350344} Review URL: https://codereview.chromium.org/1353973003 Cr-Commit-Position: refs/heads/master@{#350590}
* Revert of Mandoline: WebGL: Fill WebGLInfo during creating a WebGL context. ↵msw2015-09-241-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | (patchset #13 id:240001 of https://codereview.chromium.org/1353973003/ ) Reason for revert: This breaks apptests on the linux cq bot, but wasn't caught because the mojo_apptests step wasn't ported from the old linux_chromium_gn_rel buildbot recipe to the new linux_chromium_rel_ng recipe. Here's the bug: http://crbug.com/535331 I'm trying to get apptests back on the proper bots asap (via https://codereview.chromium.org/1368443002 ) so we don't lose coverage, and it's easiest to just revert this CL. Sorry, but it shouldn't have passed the CQ anyway! Original issue's description: > Mandoline: WebGL: Fill WebGLInfo during creating a WebGL context > > BUG=525159 > > Committed: https://crrev.com/6ae5ac1b718c499a5165e11c1e83899fd219754e > Cr-Commit-Position: refs/heads/master@{#350344} TBR=sky@chromium.org,piman@chromium.org,fsamuel@chromium.org,penghuang@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=525159 Review URL: https://codereview.chromium.org/1362163003 Cr-Commit-Position: refs/heads/master@{#350410}
* Mandoline: WebGL: Fill WebGLInfo during creating a WebGL contextpenghuang2015-09-231-1/+2
| | | | | | | | BUG=525159 Review URL: https://codereview.chromium.org/1353973003 Cr-Commit-Position: refs/heads/master@{#350344}
* html_viewer: Fix running some unittests on android.sadrul2015-07-231-8/+1
| | | | | | | | | | | | | | . It is necessary to initialize the resource-bundle for the test, because blink does load some resources (e.g. default css stylesheets). So initialize the resource bundle on android too. . Bundle html_viewer.pak, icu data, and the binary v8 initialization files, into the unittest apk. BUG=486171 Review URL: https://codereview.chromium.org/1245373004 Cr-Commit-Position: refs/heads/master@{#339997}
* Allow startup with missing V8 snapshot file.erikcorry2015-06-081-0/+1
| | | | | | | | | | | | | | | | | | We want to stop shipping the snapshot file, and instead we want to generate it on the client. This will reduce the download size. But since snapshot generation will be asynchronous in a utility process, it might not be present on the first few runs of the browser. This means we have to be able to start up without the snapshot file (just with the natives source file). This CL fixes Blink to cope with a missing snapshot file (V8 could already cope). R=rmcilroy@chromium.org, sky@chromium.org BUG= Review URL: https://codereview.chromium.org/1164483003 Cr-Commit-Position: refs/heads/master@{#333258}
* mojo: Fix Blink's shutdown sequence in AxProviderImplTestskyostil2015-06-011-3/+8
| | | | | | | | | | | | | | | | | | | | | | | This patch ensures the sequence used to tear down Blink in AxProviderImplTest matches the real implementation in RenderThreadImpl. Specifically, we need to shut down the scheduler before terminating Blink, because otherwise the scheduler might keep pointers to tasks that live on the Blink heap and access freed memory in its destructor. We also add an assertion to the renderer scheduler that it is shut down explicitly. Note that Blink cannot shut down the scheduler internally because of crbug.com/467369. We expect that this depedency can be cleaned up once the message loop is better integrated with the scheduler (crbug.com/465354) and when the Blink repository has been merged into Chromium. BUG=463143 Review URL: https://codereview.chromium.org/1145973011 Cr-Commit-Position: refs/heads/master@{#332221}
* Use mojo::Binding instead of mojo::InterfaceImpl in html_viewer and ↵jam2015-05-271-1/+3
| | | | | | | | | | network_service. BUG=489753 Review URL: https://codereview.chromium.org/1153133002 Cr-Commit-Position: refs/heads/master@{#331574}
* Replicate whether a frame is in a document or shadow tree.dcheng2015-05-221-1/+2
| | | | | | | | | | | | | | | | | | | | | | | This is needed for Blink to determine whether or not a frame can be accessed via the window indexed getters (window[num]) and named getters (window["name"]). Previously, Blink simply inspected the tree scope of the frame's owner element and checked that it matched the tree scope of the parent document. This breaks down in the case of remote frames, since the document and owner element are not available in the same process. Since this information is determined at frame creation and cannot change, Blink will rely on the embedder to forward this information through frame replication. This CL is mostly straightforward plumbing changes, but required updating lots of call sites and function signatures. BUG=473518 TBR=sky,tommycli,thestig,kalman,jrummell Review URL: https://codereview.chromium.org/1141283002 Cr-Commit-Position: refs/heads/master@{#331059}
* Disable crashing AxProviderImplTest.Basic on Android.msw2015-05-101-1/+8
| | | | | | | | | | BUG=486171 TEST=Chromium Mojo Android bot goes green. R=sky@chromium.org Review URL: https://codereview.chromium.org/1127153005 Cr-Commit-Position: refs/heads/master@{#329075}
* Update ax_provider_unittest.cc for new BlinkPlatformImpl ctor.Michael Wasserman2015-04-281-2/+6
| | | | | | | | | | | | | | | Build break: http://build.chromium.org/p/chromium.mojo/builders/Chromium%20Mojo%20Linux/builds/5072 Relevant CL: https://codereview.chromium.org/1112573003 BUG=NONE TEST=Building components/html_viewer:tests passes. R=sky@chromium.org TBR=jochen@chromium.org NOTRY=true Review URL: https://codereview.chromium.org/1108973004 Cr-Commit-Position: refs/heads/master@{#327370}
* Move html_viewer from mojo/services to components.jam2015-04-221-0/+178
BUG=479353 TBR=jochen for DEPS Review URL: https://codereview.chromium.org/1099303002 Cr-Commit-Position: refs/heads/master@{#326369}