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

Issue 1435893003: PageVisibility API: Ensure bubbling events are generated (Closed)

Created:
5 years, 1 month ago by chongz
Modified:
5 years ago
Reviewers:
dtapuska, skobes, davidben
CC:
chromium-reviews, sof, eae+blinkwatch, blink-reviews-dom_chromium.org, dglazkov+blink, blink-reviews, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Changed 'visibilitychange' event to a bubble event as defined in w3c docs. Also changed the API for the prefixed version to maintain compatibility between the two. This is an interop issue, Firefox bubbles the event while Safari does not, but I think we should match Firefox. See http://www.w3.org/TR/page-visibility/#sec-processing-model BUG=501821 Committed: https://crrev.com/fc6186bd5847e555eeeee68300be425d3de3c3aa Cr-Commit-Position: refs/heads/master@{#361352}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Removed unnecessary comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -2 lines) Patch
A third_party/WebKit/LayoutTests/fast/events/page-visibility-bubble.html View 1 chunk +73 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/events/page-visibility-bubble-expected.txt View 1 chunk +17 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Document.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 21 (11 generated)
dtapuska
On 2015/11/12 18:25:48, chongz wrote: > Description was changed from > > ========== > Chenged ...
5 years, 1 month ago (2015-11-13 00:25:38 UTC) #4
dtapuska
On 2015/11/13 00:25:38, dtapuska wrote: > On 2015/11/12 18:25:48, chongz wrote: > > Description was ...
5 years, 1 month ago (2015-11-13 00:26:37 UTC) #6
dtapuska
https://codereview.chromium.org/1435893003/diff/1/third_party/WebKit/Source/core/dom/Document.cpp File third_party/WebKit/Source/core/dom/Document.cpp (right): https://codereview.chromium.org/1435893003/diff/1/third_party/WebKit/Source/core/dom/Document.cpp#newcode1381 third_party/WebKit/Source/core/dom/Document.cpp:1381: // See: http://www.w3.org/TR/page-visibility/#sec-processing-model I don't think we need the ...
5 years, 1 month ago (2015-11-13 00:26:58 UTC) #7
davidben
On 2015/11/13 00:26:37, dtapuska wrote: > On 2015/11/13 00:25:38, dtapuska wrote: > > On 2015/11/12 ...
5 years, 1 month ago (2015-11-16 18:35:49 UTC) #8
skobes
lgtm
5 years, 1 month ago (2015-11-23 23:21:05 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1435893003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1435893003/20001
5 years, 1 month ago (2015-11-24 03:23:13 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/133417)
5 years ago (2015-11-24 05:01:39 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1435893003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1435893003/20001
5 years ago (2015-11-24 15:51:10 UTC) #19
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years ago (2015-11-24 16:22:42 UTC) #20
commit-bot: I haz the power
5 years ago (2015-11-24 16:23:46 UTC) #21
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/fc6186bd5847e555eeeee68300be425d3de3c3aa
Cr-Commit-Position: refs/heads/master@{#361352}

Powered by Google App Engine
This is Rietveld 408576698