summaryrefslogtreecommitdiffstats
path: root/extensions/renderer/api_test_base.cc
Commit message (Collapse)AuthorAgeFilesLines
* Make the process-wide ServiceRegistry available to JS.sammc2016-03-241-1/+1
| | | | | | | | BUG=597465 Review URL: https://codereview.chromium.org/1827473002 Cr-Commit-Position: refs/heads/master@{#383008}
* Use v8::MicrotasksScope internally in V8RecursionScope.dgozman2016-03-111-1/+1
| | | | | | | | | | | | | | | If this sticks we can just remove V8RecursionScope and WebScopedMicrotaskSuppression, along with other cleanups. Attempt #3. First one broke GinJavaBridgeValueConverterTest.TypedArrays. Second one broke FileManagerBrowserTest family on ChromeOS. BUG=585949 Review URL: https://codereview.chromium.org/1743763004 Cr-Commit-Position: refs/heads/master@{#380570}
* Revert of Use v8::MicrotasksScope internally in V8RecursionScope. (patchset ↵tsergeant2016-03-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | #6 id:100001 of https://codereview.chromium.org/1743763004/ ) Reason for revert: This CL appears to be causing test failures on Linux ChromiumOS Tests (dbg)(1). See: https://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%20Tests%20%28dbg%29%281%29/builds/12424 Tests are failing with: Fatal error in ../../v8/src/api.cc, line 166 Check failed: handle_scope_implementer->GetMicrotasksScopeDepth() || !handle_scope_implementer->DebugMicrotasksScopeDepthIsZero() Original issue's description: > Use v8::MicrotasksScope internally in V8RecursionScope. > > If this sticks we can just remove V8RecursionScope and WebScopedMicrotaskSuppression, > along with other cleanups. > > Attempt #2. Previous one broke GinJavaBridgeValueConverterTest.TypedArrays. > > BUG=585949 > > Committed: https://crrev.com/95a3bd544fe93629b209797d3251423f3d674463 > Cr-Commit-Position: refs/heads/master@{#380033} TBR=jochen@chromium.org,adamk@chromium.org,dgozman@chromium.org # Not skipping CQ checks because original CL landed more than 1 days ago. BUG=585949 Review URL: https://codereview.chromium.org/1777183002 Cr-Commit-Position: refs/heads/master@{#380356}
* Use v8::MicrotasksScope internally in V8RecursionScope.dgozman2016-03-091-1/+1
| | | | | | | | | | | | | If this sticks we can just remove V8RecursionScope and WebScopedMicrotaskSuppression, along with other cleanups. Attempt #2. Previous one broke GinJavaBridgeValueConverterTest.TypedArrays. BUG=585949 Review URL: https://codereview.chromium.org/1743763004 Cr-Commit-Position: refs/heads/master@{#380033}
* Revert of Use v8::MicrotasksScope internally in V8RecursionScope. (patchset ↵nyquist2016-03-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | #5 id:80001 of https://codereview.chromium.org/1743763004/ ) Reason for revert: Causes content_unittests to fail on GinJavaBridgeValueConverterTest.TypedArrays for Android on a bunch of testers: Marshmallow Tablet Tester - https://uberchromegw.corp.google.com/i/chromium.android/builders/Marshmallow%20Tablet%20Tester/builds/3117 Marshmallow 64 bit Tester - https://uberchromegw.corp.google.com/i/chromium.android/builders/Marshmallow%2064%20bit%20Tester/builds/1010 Lollipop Tablet Tester - https://uberchromegw.corp.google.com/i/chromium.android/builders/Lollipop%20Tablet%20Tester/builds/2108 Lollipop Phone Tester - https://uberchromegw.corp.google.com/i/chromium.android/builders/Lollipop%20Phone%20Tester/builds/3403 Lollipop Low-end Tester - https://uberchromegw.corp.google.com/i/chromium.android/builders/Lollipop%20Low-end%20Tester/builds/2681 git bisect succesfully identified this CL as the culprit: 83013584d091473d3a5fee6a823bc63b223a472c is the first bad commit See http://crbug.com/592906 for details. Original issue's description: > Use v8::MicrotasksScope internally in V8RecursionScope. > > If this sticks we can just remove V8RecursionScope and WebScopedMicrotaskSuppression, > along with other cleanups. > > BUG=585949 > > Committed: https://crrev.com/83013584d091473d3a5fee6a823bc63b223a472c > Cr-Commit-Position: refs/heads/master@{#379574} TBR=jochen@chromium.org,adamk@chromium.org,dgozman@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=585949 Review URL: https://codereview.chromium.org/1765423004 Cr-Commit-Position: refs/heads/master@{#379781}
* Use v8::MicrotasksScope internally in V8RecursionScope.dgozman2016-03-071-1/+1
| | | | | | | | | | | If this sticks we can just remove V8RecursionScope and WebScopedMicrotaskSuppression, along with other cleanups. BUG=585949 Review URL: https://codereview.chromium.org/1743763004 Cr-Commit-Position: refs/heads/master@{#379574}
* [mojo] Delete third_party/mojorockot2016-02-101-9/+7
| | | | | | | | | | | All users are on the new EDK now. This wipes out third_party/mojo, updates all dependencies, and removes the use-new-edk flag. BUG=None Review URL: https://codereview.chromium.org/1676913002 Cr-Commit-Position: refs/heads/master@{#374631}
* Convert Pass()→std::move() in //extensionsdcheng2015-12-181-1/+2
| | | | | | | | BUG=557422 Review URL: https://codereview.chromium.org/1537893002 Cr-Commit-Position: refs/heads/master@{#366120}
* Move third_party/mojo/src/mojo/public to mojo/publicrockot2015-11-131-2/+2
| | | | | | | | | BUG=None NOPRESUBMIT=true Review URL: https://codereview.chromium.org/1410053006 Cr-Commit-Position: refs/heads/master@{#359461}
* [Extensions] Don't allow built-in extensions code to be overriddenrdevlin.cronin2015-10-281-7/+8
| | | | | | | | BUG=546677 Review URL: https://codereview.chromium.org/1417513003 Cr-Commit-Position: refs/heads/master@{#356654}
* extensions/renderer: Use v8::Local instead of v8::Handle.tfarina2015-04-291-1/+1
| | | | | | | | | | | | Turns out, Handle is just an alias for Local: https://chromium.googlesource.com/v8/v8.git/+/master/include/v8.h#334 BUG=424445 R=scheib@chromium.org Review URL: https://codereview.chromium.org/1115563002 Cr-Commit-Position: refs/heads/master@{#327515}
* Add a JS stash client.sammc2015-02-101-24/+38
| | | | | | | | | | | The stash client allows clients to stash services during renderer shut-down and retrieve them during renderer start-up. BUG=389016 Review URL: https://codereview.chromium.org/661423007 Cr-Commit-Position: refs/heads/master@{#315463}
* Include Mojo SDK/EDK via fully-qualified paths in Chromium code.blundell2015-01-231-5/+5
| | | | | | | | | | | | As a followup to the move of the Mojo SDK and EDK to live under //third_party, this CL updates Chromium code to include SDK/EDK headers via fully-qualified paths instead of relying on include_dirs that are exported by the Mojo targets. This CL also includes mechanical updates to DEPS files to satisfy checkdeps. Review URL: https://codereview.chromium.org/846443006 Cr-Commit-Position: refs/heads/master@{#312858}
* Add guestProcessId for WebViews talking to component extensionsvrk2015-01-101-0/+1
| | | | | | | | | | | This enables logging to work on the Hangouts packaged app and Chromebox for meetings. BUG=424762 Review URL: https://codereview.chromium.org/782443002 Cr-Commit-Position: refs/heads/master@{#310903}
* Update mojo sdk to rev 04a510fb37db10642e156957f9b2c11c2f6442acjamesr2014-11-071-3/+3
| | | | | | | | | | | | | | | This updates the mojo sdk and updates chromium code to match. The most significant change is updating references to the mojo JS bindings code, which reshuffled. This part was reviewed separately by hansmuller@ in https://codereview.chromium.org/693343003/. This also updates ipc/mojo to reflect changes in ChannelInfo. R=morrita@chromium.org for ipc/mojo R=jam@chromium.org for top-level approval of the rest Review URL: https://codereview.chromium.org/703273002 Cr-Commit-Position: refs/heads/master@{#303149}
* Add an extensions keep-alive client.sammc2014-10-281-0/+4
| | | | | | | | | | | This adds the renderer side of adding keep-alives while API calls implemented on mojo services are in progress. BUG=389016 Review URL: https://codereview.chromium.org/669303002 Cr-Commit-Position: refs/heads/master@{#301528}
* Standardize usage of virtual/override/final in extensions/dcheng2014-10-211-1/+1
| | | | | | | | | | | | This patch was automatically generated by applying clang fixit hints generated by the plugin to the source tree. BUG=417463 TBR=yoz@chromium.org Review URL: https://codereview.chromium.org/664933004 Cr-Commit-Position: refs/heads/master@{#300475}
* replace OVERRIDE and FINAL with override and final in extensions/mostynb2014-10-031-1/+1
| | | | | | | | BUG=417463 Review URL: https://codereview.chromium.org/622343002 Cr-Commit-Position: refs/heads/master@{#298042}
* Add support for writing unit tests for Mojo-backed apps/extensions APIs.sammc@chromium.org2014-07-261-0/+221
This change adds the infrastructure for unit testing the JS parts of apps and extensions APIs implemented on top of Mojo services. The test environment provides a partial implementation of the JS test API provided to browser tests. A TestServiceProvider implementation is used to provide test implementations of the appropriate Mojo services to the JS code. BUG=389016 Review URL: https://codereview.chromium.org/399363002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285792 0039d316-1c4b-4281-b951-d872f2087c98