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

Issue 1420593005: Remove [TreatNullAs=NullString] from the 'dir' attribute on Document (Closed)

Created:
5 years, 1 month ago by tanay.c
Modified:
5 years, 1 month ago
Reviewers:
philipj_slow
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove [TreatNullAs=NullString] from the 'dir' attribute on Document Current behavior: Chrome: document.dir=null => "" Edge: document.dir=null => "" Firefox Nightly: document.dir=null => "" The getter and setter for 'dir' forwards to the documentElement (if it is an HTMLHtmlElement), hence adding tests for: document.documentElement.getAttribute('dir') => 'null' BUG=497307 Committed: https://crrev.com/a7d96a1f1b53a8c6af526c178aefb574dbb2e744 Cr-Commit-Position: refs/heads/master@{#357549}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Added tests #

Total comments: 2

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -2 lines) Patch
M third_party/WebKit/LayoutTests/fast/dom/document-dir-property.html View 1 2 3 3 chunks +26 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/document-dir-property-expected.txt View 1 2 3 3 chunks +18 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Document.idl View 1 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 22 (11 generated)
tanay.c
PTAL.
5 years, 1 month ago (2015-11-02 11:47:53 UTC) #3
philipj_slow
Please write in the description *why* this change is not observable. It seems to me ...
5 years, 1 month ago (2015-11-02 12:53:49 UTC) #4
tanay.c
On 2015/11/02 12:53:49, philipj wrote: > Please write in the description *why* this change is ...
5 years, 1 month ago (2015-11-03 10:23:33 UTC) #9
philipj_slow
https://codereview.chromium.org/1420593005/diff/40001/third_party/WebKit/LayoutTests/fast/dom/document-dir-property.html File third_party/WebKit/LayoutTests/fast/dom/document-dir-property.html (right): https://codereview.chromium.org/1420593005/diff/40001/third_party/WebKit/LayoutTests/fast/dom/document-dir-property.html#newcode57 third_party/WebKit/LayoutTests/fast/dom/document-dir-property.html:57: shouldNotThrow("document.dir = 'RTL'"); After this and the WRONG case, ...
5 years, 1 month ago (2015-11-03 11:00:23 UTC) #11
tanay.c
PTAL. https://codereview.chromium.org/1420593005/diff/40001/third_party/WebKit/LayoutTests/fast/dom/document-dir-property.html File third_party/WebKit/LayoutTests/fast/dom/document-dir-property.html (right): https://codereview.chromium.org/1420593005/diff/40001/third_party/WebKit/LayoutTests/fast/dom/document-dir-property.html#newcode57 third_party/WebKit/LayoutTests/fast/dom/document-dir-property.html:57: shouldNotThrow("document.dir = 'RTL'"); On 2015/11/03 11:00:23, philipj wrote: ...
5 years, 1 month ago (2015-11-03 11:32:59 UTC) #12
philipj_slow
lgtm
5 years, 1 month ago (2015-11-03 12:45:52 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1420593005/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1420593005/60001
5 years, 1 month ago (2015-11-03 12:46:52 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/135180)
5 years, 1 month ago (2015-11-03 15:04:08 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1420593005/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1420593005/60001
5 years, 1 month ago (2015-11-03 15:41:19 UTC) #20
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 1 month ago (2015-11-03 18:15:14 UTC) #21
commit-bot: I haz the power
5 years, 1 month ago (2015-11-03 18:16:44 UTC) #22
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/a7d96a1f1b53a8c6af526c178aefb574dbb2e744
Cr-Commit-Position: refs/heads/master@{#357549}

Powered by Google App Engine
This is Rietveld 408576698