DescriptionFix 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 #
Messages
Total messages: 17 (12 generated)
|