|
|
Created:
4 years, 3 months ago by Sam McNally Modified:
4 years, 3 months ago CC:
Aaron Boodman, abarth-chromium, blink-reviews, blink-reviews-api_chromium.org, chrome-apps-syd-reviews_chromium.org, chromium-reviews, darin (slow to review), dglazkov+blink, haraken, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionUse the URL passed to navigator.share().
BUG=644034
Committed: https://crrev.com/746afbd5808e9daa0333e66a7608e0d98283a9c8
Committed: https://crrev.com/c9c1a3bf7f23a7f1fd3fcd4689351ea62a18c806
Cr-Original-Commit-Position: refs/heads/master@{#417452}
Cr-Commit-Position: refs/heads/master@{#417546}
Patch Set 1 #
Total comments: 4
Patch Set 2 : #Patch Set 3 : rebase #Messages
Total messages: 57 (36 generated)
The CQ bit was checked by sammc@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_androi...)
The CQ bit was checked by sammc@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by sammc@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Patchset #2 (id:20001) has been deleted
sammc@chromium.org changed reviewers: + mgiuca@chromium.org
Dry run: Try jobs failed on following builders: win_chromium_compile_dbg_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_comp...)
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
lgtm with an optional nit to change tests. https://codereview.chromium.org/2309403002/diff/1/third_party/WebKit/LayoutTe... File third_party/WebKit/LayoutTests/webshare/share-success.html (right): https://codereview.chromium.org/2309403002/diff/1/third_party/WebKit/LayoutTe... third_party/WebKit/LayoutTests/webshare/share-success.html:14: mock.pushShareResult('the title', 'the message', getAbsoluteUrl(url), null); Opinion: Don't use getAbsoluteURL, instead just hard-code the absolute URLs in each case. It's longer, but it's more obvious exactly what the behaviour should be (and therefore whether the tests are wrong).
https://codereview.chromium.org/2309403002/diff/1/third_party/WebKit/LayoutTe... File third_party/WebKit/LayoutTests/webshare/share-success.html (right): https://codereview.chromium.org/2309403002/diff/1/third_party/WebKit/LayoutTe... third_party/WebKit/LayoutTests/webshare/share-success.html:14: mock.pushShareResult('the title', 'the message', getAbsoluteUrl(url), null); On 2016/09/06 04:18:12, Matt Giuca wrote: > Opinion: Don't use getAbsoluteURL, instead just hard-code the absolute URLs in > each case. It's longer, but it's more obvious exactly what the behaviour should > be (and therefore whether the tests are wrong). As discussed, too hard to predict what the URL will be (it's some random file:// URL in tests). Ignore.
sammc@chromium.org changed reviewers: + dtrainor@chromium.org, mkwst@chromium.org
+mkwst for third_party/WebKit +dtrainor for chrome/android
chrome/android lgtm
Description was changed from ========== Use the URL passed to navigator.share(). BUG=644034 ========== to ========== Use the URL passed to navigator.share(). BUG=644034 ==========
sammc@chromium.org changed reviewers: - mkwst@chromium.org
sammc@chromium.org changed reviewers: + dcheng@chromium.org, esprehn@chromium.org
-mkwst who is OOO +esprehn for third_party/WebKit +dcheng for the mojom
https://codereview.chromium.org/2309403002/diff/1/third_party/WebKit/Source/m... File third_party/WebKit/Source/modules/webshare/NavigatorShare.cpp (right): https://codereview.chromium.org/2309403002/diff/1/third_party/WebKit/Source/m... third_party/WebKit/Source/modules/webshare/NavigatorShare.cpp:110: shareData.hasURL() ? KURL(scriptState->getExecutionContext()->url(), shareData.url()) : KURL(), Should this be using doc->completeURL(shareData.url())?
The CQ bit was checked by sammc@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
https://codereview.chromium.org/2309403002/diff/1/third_party/WebKit/Source/m... File third_party/WebKit/Source/modules/webshare/NavigatorShare.cpp (right): https://codereview.chromium.org/2309403002/diff/1/third_party/WebKit/Source/m... third_party/WebKit/Source/modules/webshare/NavigatorShare.cpp:110: shareData.hasURL() ? KURL(scriptState->getExecutionContext()->url(), shareData.url()) : KURL(), On 2016/09/08 03:17:37, dcheng wrote: > Should this be using doc->completeURL(shareData.url())? Done.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
mojom lgtm
lgtm
The CQ bit was checked by sammc@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from dtrainor@chromium.org, mgiuca@chromium.org Link to the patchset: https://codereview.chromium.org/2309403002/#ps40001 (title: " ")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Description was changed from ========== Use the URL passed to navigator.share(). BUG=644034 ========== to ========== Use the URL passed to navigator.share(). BUG=644034 ==========
Message was sent while issue was closed.
Committed patchset #2 (id:40001)
Message was sent while issue was closed.
Description was changed from ========== Use the URL passed to navigator.share(). BUG=644034 ========== to ========== Use the URL passed to navigator.share(). BUG=644034 Committed: https://crrev.com/746afbd5808e9daa0333e66a7608e0d98283a9c8 Cr-Commit-Position: refs/heads/master@{#417452} ==========
Message was sent while issue was closed.
Patchset 2 (id:??) landed as https://crrev.com/746afbd5808e9daa0333e66a7608e0d98283a9c8 Cr-Commit-Position: refs/heads/master@{#417452}
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:40001) has been created in https://codereview.chromium.org/2327713002/ by shans@chromium.org. The reason for reverting is: Causing compile failure on Blimp Linux (dbg).
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:40001) has been created in https://codereview.chromium.org/2321293002/ by jam@chromium.org. The reason for reverting is: build failures https://build.chromium.org/p/chromium.linux/builders/Blimp%20Linux%20%28dbg%2... Looks like because of https://codereview.chromium.org/2250613002 which landed after these try runs.
Message was sent while issue was closed.
FYI: Findit try jobs (rerunning failed compile or tests) identified this CL at revision 417452 as the culprit for failures in the build cycles as shown on: https://findit-for-me.appspot.com/waterfall/culprit?key=ag9zfmZpbmRpdC1mb3Itb...
Message was sent while issue was closed.
Description was changed from ========== Use the URL passed to navigator.share(). BUG=644034 Committed: https://crrev.com/746afbd5808e9daa0333e66a7608e0d98283a9c8 Cr-Commit-Position: refs/heads/master@{#417452} ========== to ========== Use the URL passed to navigator.share(). BUG=644034 Committed: https://crrev.com/746afbd5808e9daa0333e66a7608e0d98283a9c8 Cr-Commit-Position: refs/heads/master@{#417452} ==========
The CQ bit was checked by sammc@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was checked by sammc@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from dtrainor@chromium.org, esprehn@chromium.org, mgiuca@chromium.org, dcheng@chromium.org Link to the patchset: https://codereview.chromium.org/2309403002/#ps60001 (title: "rebase")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_...)
The CQ bit was checked by mgiuca@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Description was changed from ========== Use the URL passed to navigator.share(). BUG=644034 Committed: https://crrev.com/746afbd5808e9daa0333e66a7608e0d98283a9c8 Cr-Commit-Position: refs/heads/master@{#417452} ========== to ========== Use the URL passed to navigator.share(). BUG=644034 Committed: https://crrev.com/746afbd5808e9daa0333e66a7608e0d98283a9c8 Cr-Commit-Position: refs/heads/master@{#417452} ==========
Message was sent while issue was closed.
Committed patchset #3 (id:60001)
Message was sent while issue was closed.
Description was changed from ========== Use the URL passed to navigator.share(). BUG=644034 Committed: https://crrev.com/746afbd5808e9daa0333e66a7608e0d98283a9c8 Cr-Commit-Position: refs/heads/master@{#417452} ========== to ========== Use the URL passed to navigator.share(). BUG=644034 Committed: https://crrev.com/746afbd5808e9daa0333e66a7608e0d98283a9c8 Committed: https://crrev.com/c9c1a3bf7f23a7f1fd3fcd4689351ea62a18c806 Cr-Original-Commit-Position: refs/heads/master@{#417452} Cr-Commit-Position: refs/heads/master@{#417546} ==========
Message was sent while issue was closed.
Patchset 3 (id:??) landed as https://crrev.com/c9c1a3bf7f23a7f1fd3fcd4689351ea62a18c806 Cr-Commit-Position: refs/heads/master@{#417546} |