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

Issue 243203002: Make window.navigator property non replaceable (Closed)

Created:
6 years, 8 months ago by Inactive
Modified:
6 years, 8 months ago
CC:
blink-reviews, arv+blink, watchdog-blink-watchlist_google.com
Visibility:
Public.

Description

Make window.navigator property non replaceable Make window.navigator property non replaceable non replaceable to match the specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#window The new behavior also matches the behavior of Firefox 28 and IE11. R=arv@chromium.org, tkent@chromium.org BUG=364512 TEST=fast/dom/Window/get-set-properties.html Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=172091

Patch Set 1 #

Patch Set 2 : Don't touch screen yet #

Patch Set 3 : Only keep window.navigator change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -11 lines) Patch
M LayoutTests/fast/dom/Window/get-set-properties.html View 1 2 2 chunks +1 line, -1 line 0 comments Download
M LayoutTests/fast/dom/Window/get-set-properties-expected.txt View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M LayoutTests/fast/dom/Window/window-property-shadowing.html View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M LayoutTests/fast/dom/Window/window-property-shadowing-expected.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M LayoutTests/fast/js/var-declarations-shadowing.html View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/fast/js/var-declarations-shadowing-expected.txt View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/frame/Window.idl View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
Inactive
6 years, 8 months ago (2014-04-18 18:38:18 UTC) #1
arv (Not doing code reviews)
I'm not sure we want to change this. It will break code that uses these ...
6 years, 8 months ago (2014-04-18 18:44:01 UTC) #2
Inactive
On 2014/04/18 18:44:01, arv wrote: > I'm not sure we want to change this. It ...
6 years, 8 months ago (2014-04-18 18:46:45 UTC) #3
Inactive
I don't know how likely it is that real sites are using "navigator" or "history" ...
6 years, 8 months ago (2014-04-18 18:50:41 UTC) #4
arv (Not doing code reviews)
I take it back. I was testing in Chrome... damn all these browsers that look ...
6 years, 8 months ago (2014-04-18 18:58:45 UTC) #5
arv (Not doing code reviews)
LGTM
6 years, 8 months ago (2014-04-18 19:33:16 UTC) #6
tkent
lgtm
6 years, 8 months ago (2014-04-20 23:56:28 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/243203002/20001
6 years, 8 months ago (2014-04-20 23:56:32 UTC) #8
commit-bot: I haz the power
Change committed as 172006
6 years, 8 months ago (2014-04-21 01:13:51 UTC) #9
Inactive
This patch was reverted for breaking the PlatformAppBrowserTest.Restrictions browser test. I am relanding only the ...
6 years, 8 months ago (2014-04-21 16:43:46 UTC) #10
Inactive
The CQ bit was checked by ch.dumez@samsung.com
6 years, 8 months ago (2014-04-21 16:43:50 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/243203002/40001
6 years, 8 months ago (2014-04-21 16:43:54 UTC) #12
commit-bot: I haz the power
6 years, 8 months ago (2014-04-21 23:47:42 UTC) #13
Message was sent while issue was closed.
Change committed as 172091

Powered by Google App Engine
This is Rietveld 408576698