Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(17)

Issue 2642873002: Moves mojo.define -> gin.define. (Closed)

Created:
3 years, 11 months ago by alokp
Modified:
3 years, 6 months ago
CC:
Aaron Boodman, abarth-chromium, blink-reviews, chromium-reviews, darin (slow to review), darin-cc_chromium.org, jam, mlamouri+watch-content_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, yzshen1
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Moves mojo.define -> gin.define. This is being done in preparation to install the core js bindings into window.mojo in this patch: https://codereview.chromium.org/2400563002/. This patch makes sense even independently because the concept of modules belongs to gin, not mojo. BUG=647036 Review-Url: https://codereview.chromium.org/2642873002 Cr-Commit-Position: refs/heads/master@{#444923} Committed: https://chromium.googlesource.com/chromium/src/+/a3aeda6bc69b867f4a7eac5328420705b830fa21

Patch Set 1 #

Patch Set 2 : updates layout tests #

Patch Set 3 : updates layout tests #

Patch Set 4 : fixes usbDevice-iframe #

Patch Set 5 : rebases global-interface-listing #

Patch Set 6 : rebases stable global-interface-listing.html #

Patch Set 7 : rebase #

Patch Set 8 : rebaseline #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -15615 lines) Patch
M content/renderer/mojo_context_state.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Geolocation/callback-exception-expected.txt View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Geolocation/coordinates-interface-attributes.html View 1 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Geolocation/error-clear-watch.html View 1 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Geolocation/resources/callback-to-remote-context-inner.html View 1 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Geolocation/resources/remove-remote-context-in-error-callback-crash-inner.html View 1 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Geolocation/resources/window-close-popup.html View 1 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Geolocation/script-tests/cached-position-called-once.js View 1 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Geolocation/script-tests/callback-exception.js View 1 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Geolocation/script-tests/clear-watch-invalid-id-crash.js View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Geolocation/script-tests/delayed-permission-allowed.js View 1 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Geolocation/script-tests/delayed-permission-allowed-for-multiple-requests.js View 1 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Geolocation/script-tests/delayed-permission-denied.js View 1 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Geolocation/script-tests/delayed-permission-denied-for-multiple-requests.js View 1 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Geolocation/script-tests/disconnected-frame.js View 1 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Geolocation/script-tests/disconnected-frame-already.js View 1 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Geolocation/script-tests/disconnected-frame-permission-denied.js View 1 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Geolocation/script-tests/error.js View 1 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Geolocation/script-tests/error-service-connection-error.js View 1 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Geolocation/script-tests/maximum-age.js View 1 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Geolocation/script-tests/multiple-requests.js View 1 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Geolocation/script-tests/notimer-after-unload.js View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Geolocation/script-tests/permission-denied.js View 1 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Geolocation/script-tests/permission-denied-already-clear-watch.js View 1 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Geolocation/script-tests/permission-denied-already-error.js View 1 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Geolocation/script-tests/permission-denied-already-success.js View 1 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Geolocation/script-tests/permission-denied-stops-watches.js View 1 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Geolocation/script-tests/permission-service-connection-error.js View 1 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Geolocation/script-tests/position-string.js View 1 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Geolocation/script-tests/reentrant-error.js View 1 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Geolocation/script-tests/reentrant-permission-denied.js View 1 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Geolocation/script-tests/reentrant-success.js View 1 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Geolocation/script-tests/success.js View 1 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Geolocation/script-tests/timeout.js View 1 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Geolocation/script-tests/timeout-clear-watch.js View 1 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Geolocation/script-tests/timeout-negative.js View 1 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Geolocation/script-tests/timeout-over-max-of-unsigned.js View 1 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Geolocation/script-tests/timeout-zero.js View 1 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Geolocation/script-tests/timestamp.js View 1 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Geolocation/script-tests/watch.js View 1 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Geolocation/script-tests/window-close-crash.js View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Geolocation/success-clear-watch.html View 1 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Geolocation/watchPosition-page-visibility.html View 1 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Geolocation/watchPosition-unique.html View 1 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/harness-tests/resources/mojo-helpers-inner.html View 1 1 chunk +9 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/budget/get-budget.html View 1 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/budget/get-cost.html View 1 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/budget/reserve.html View 1 1 chunk +0 lines, -3 lines 0 comments Download
D third_party/WebKit/LayoutTests/platform/linux/virtual/stable/webexposed/global-interface-listing-expected.txt View 1 2 3 4 5 6 7 1 chunk +0 lines, -7699 lines 0 comments Download
A + third_party/WebKit/LayoutTests/platform/mac/virtual/stable/webexposed/global-interface-listing-expected.txt View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/platform/win/virtual/stable/webexposed/global-interface-listing-expected.txt View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/resources/mojo-helpers.js View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/usb/usbDevice-iframe.html View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
D third_party/WebKit/LayoutTests/virtual/stable/webexposed/global-interface-listing-expected.txt View 1 2 3 4 5 6 7 1 chunk +0 lines, -7771 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 42 (25 generated)
alokp
The patch is not as big as it looks. The main changes to review are ...
3 years, 11 months ago (2017-01-18 22:06:38 UTC) #9
jbroman
lgtm I assume that this is exposed for layout tests (hence why the global interface ...
3 years, 11 months ago (2017-01-19 18:01:00 UTC) #21
alokp
On 2017/01/19 18:01:00, jbroman wrote: > lgtm > > I assume that this is exposed ...
3 years, 11 months ago (2017-01-19 18:03:35 UTC) #22
alokp
esprehn: content/renderer/mojo_context_state.cc
3 years, 11 months ago (2017-01-19 22:14:36 UTC) #24
esprehn
lgtm okay, fwiw this doesn't conflict with the other match since that one is Mojo ...
3 years, 11 months ago (2017-01-19 23:02:32 UTC) #25
alokp
On 2017/01/19 23:02:32, esprehn wrote: > lgtm okay, fwiw this doesn't conflict with the other ...
3 years, 11 months ago (2017-01-19 23:17:25 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2642873002/130001
3 years, 11 months ago (2017-01-19 23:26:22 UTC) #29
esprehn
On 2017/01/19 at 23:17:25, alokp wrote: > On 2017/01/19 23:02:32, esprehn wrote: > > lgtm ...
3 years, 11 months ago (2017-01-19 23:36:34 UTC) #30
alokp
On 2017/01/19 23:36:34, esprehn wrote: > On 2017/01/19 at 23:17:25, alokp wrote: > > On ...
3 years, 11 months ago (2017-01-19 23:47:31 UTC) #31
esprehn
On 2017/01/19 at 23:47:31, alokp wrote: > On 2017/01/19 23:36:34, esprehn wrote: > > On ...
3 years, 11 months ago (2017-01-20 01:04:41 UTC) #32
commit-bot: I haz the power
Committed patchset #8 (id:130001) as https://chromium.googlesource.com/chromium/src/+/a3aeda6bc69b867f4a7eac5328420705b830fa21
3 years, 11 months ago (2017-01-20 01:30:55 UTC) #35
timvolodine
On 2017/01/20 01:30:55, commit-bot: I haz the power wrote: > Committed patchset #8 (id:130001) as ...
3 years, 11 months ago (2017-01-26 20:28:09 UTC) #36
alokp
On 2017/01/26 20:28:09, timvolodine wrote: > On 2017/01/20 01:30:55, commit-bot: I haz the power wrote: ...
3 years, 11 months ago (2017-01-26 20:33:51 UTC) #37
timvolodine
On 2017/01/26 20:33:51, alokp wrote: > On 2017/01/26 20:28:09, timvolodine wrote: > > On 2017/01/20 ...
3 years, 11 months ago (2017-01-26 20:39:00 UTC) #38
foolip
The deletion of third_party/WebKit/LayoutTests/platform/linux/virtual/stable/webexposed/global-interface-listing-expected.txt here appears to have made it possible to accidentally ship things ...
3 years, 6 months ago (2017-05-29 11:33:40 UTC) #40
jbroman
On 2017/05/29 at 11:33:40, foolip wrote: > The deletion of third_party/WebKit/LayoutTests/platform/linux/virtual/stable/webexposed/global-interface-listing-expected.txt here appears to have ...
3 years, 6 months ago (2017-05-29 15:10:07 UTC) #41
foolip
3 years, 6 months ago (2017-05-29 16:03:47 UTC) #42
Message was sent while issue was closed.
On 2017/05/29 15:10:07, jbroman wrote:
> On 2017/05/29 at 11:33:40, foolip wrote:
> > The deletion of
>
third_party/WebKit/LayoutTests/platform/linux/virtual/stable/webexposed/global-interface-listing-expected.txt
> here appears to have made it possible to accidentally ship things on stable as
> in https://codereview.chromium.org/2883763002/, will try to restore that
> -expected.txt.
> 
> At this time, the cross-platform
> LayoutTests/webexposed/global-interface-listing-expected.txt existed, which is
> why the linux one was no longer required. I'd look for the CL that caused that
> and platform/linux to both not exist.

Oh, sorry, I didn't notice that I had /platform/linux/ in that long path.
Updating https://crbug.com/727287

Powered by Google App Engine
This is Rietveld 408576698