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

Issue 2894923002: Fix dataset type conversion bug in uber.js (Closed)

Created:
3 years, 7 months ago by mkraynov
Modified:
3 years, 7 months ago
Reviewers:
Dan Beam
CC:
chromium-reviews, arv+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix dataset type conversion bug in uber.js dataset property of HTMLElemenet converts all of its subproperties to string. So if someone writes 'element.dataset.subProp = false;', condition 'if (!element.dtaset.subProp) { doSmth(); }' will be never fullfilled. uber.js had this bug in 'invokeMethodOnPage' function. So if the frame was reinited, methods on subpage in this frame were invoked immediately instead of waiting for 'pageReady' event. R=dbeam@chromium.org BUG=None CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2894923002 Cr-Commit-Position: refs/heads/master@{#473441} Committed: https://chromium.googlesource.com/chromium/src/+/9afb0f4cfef525149c61f8f2629546dd76c03023

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -3 lines) Patch
M chrome/browser/resources/uber/uber.js View 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 17 (12 generated)
mkraynov
3 years, 7 months ago (2017-05-19 16:38:25 UTC) #2
Dan Beam
lgtm but did you try the change locally? maybe via chrome://extensions or disabling the new ...
3 years, 7 months ago (2017-05-19 19:33:59 UTC) #3
mkraynov
On 2017/05/19 19:33:59, Dan Beam wrote: > lgtm but did you try the change locally? ...
3 years, 7 months ago (2017-05-19 23:24:13 UTC) #4
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/2894923002/1
3 years, 7 months ago (2017-05-20 15:14:54 UTC) #14
commit-bot: I haz the power
3 years, 7 months ago (2017-05-20 15:56:52 UTC) #17
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/9afb0f4cfef525149c61f8f26295...

Powered by Google App Engine
This is Rietveld 408576698