Chromium Code Reviews
DescriptionMove stringify, form, navigation and scroll methods out of core.js.
- stringify() is a standalone utility so it is moved to common.js.
- form.js adds listeners to handle forms.
- navigation.js contains __gCrWeb APIs for managing navigation history.
- scroll_workaround.js isolates the workaround for crbug.com/554257.
Corresponding unit tests in core_js_unittest are also extracted.
- common_js_unittest.mm: fixed a bug in stringify(undefined), added test
case and removed TODO.
BUG=614092
TESTED=Ran ios_web_unittests, and manually verified in simulator that
the scroll workaround still works.
Review-Url: https://codereview.chromium.org/2807213003
Cr-Commit-Position: refs/heads/master@{#463691}
Committed: https://chromium.googlesource.com/chromium/src/+/1e1d38350c1b5c587b8bcbba0327066ac6152d27
Patch Set 1 #
Total comments: 12
Patch Set 2 : Address reviewer comments #Patch Set 3 : Clarified usage recommendation in comment for stringify() #Patch Set 4 : Re-upload patch after rebase-update in local branch #
Dependent Patchsets: Messages
Total messages: 24 (14 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||