Last Comment Bug 593963 - Change Location Selection on is broken
: Change Location Selection on is broken
Product: Tech Evangelism Graveyard
Classification: Graveyard
Component: English US (show other bugs)
: unspecified
: x86_64 Windows 7
: -- normal
: ---
Assigned To: english-us
Depends on:
Blocks: 514563
  Show dependency treegraph
Reported: 2010-09-07 05:37 PDT by Scoobidiver (away)
Modified: 2015-04-19 23:39 PDT (History)
11 users (show)
See Also:
QA Whiteboard:
Iteration: ---
Points: ---


Description Scoobidiver (away) 2010-09-07 05:37:22 PDT
Build : Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b6pre) Gecko/20100906 Firefox/4.0b6pre

Steps to reproduce :
1. Go to the ref URL
2. Hover the mouse over one of the region

Results :
Nothing is displayed in "select a location and language" pane and in the "Intel worldwide" map

Expected results :
The "select a location and language" pane and the "Intel worldwide" map are modified according to the selected region.

This issue appeared between beta 4 and beta 5.
Comment 1 (mostly gone) XtC4UaLL [:xtc4uall] 2010-09-07 05:45:54 PDT
Hmm, disabling the HTML5 Parser does not help.
Comment 2 Boris Zbarsky [:bz] 2010-09-07 05:59:45 PDT
Regression range:

No parser changes there, but a TM merge....  Will bisect.
Comment 3 Boris Zbarsky [:bz] 2010-09-07 06:06:23 PDT
I'd really like to know how this ended up in Parser instead of, say, General, btw.  ;)
Comment 4 Alice0775 White 2010-09-07 06:09:32 PDT
In Error Console:
Error: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them
Source file:
Line: 9

Regression window:
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b5pre) Gecko/20100819 Minefield/4.0b5pre ID:20100820130619
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b5pre) Gecko/20100820 Minefield/4.0b5pre ID:20100820190548
Comment 5 Alice0775 White 2010-09-07 06:24:53 PDT
Regression window of TM build:
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b4pre) Gecko/20100817 Minefield/4.0b4pre ID:20100817043016
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b4pre) Gecko/20100818 Minefield/4.0b4pre ID:20100818065537
Comment 6 Boris Zbarsky [:bz] 2010-09-07 07:42:05 PDT
The first bad revision is:
changeset:   51092:981c0f32ff15
user:        Jeff Walden <>
date:        Wed Aug 04 14:39:45 2010 -0700
summary:     Bug 514563 - ES5 strict mode: arguments.caller and arguments.callee poison pills.  r=dmandelin

And indeed, the error console (which I should've checked, doh!) says:

  Error: 'caller', 'callee', and 'arguments' properties may not be accessed on
  strict mode functions or the arguments objects for calls to them
  Source File:
  Line: 9

The .js file in question does in fact have "use strict;" at the top, and uses callee all over the place.
Comment 7 Boris Zbarsky [:bz] 2010-09-07 07:45:16 PDT
I sent intel mail via their contact form; we'll see how it goes.
Comment 8 Brendan Eich [:brendan] 2010-09-07 10:18:52 PDT
Eek. Moh, any ideas on finding whoever at (or working on contract for) Intel added "use strict"; to the front of that line?

Cc'ing jresig in case he knows of some popular movement to sprinkle "use strict"; at the front of scripts, even if doing so breaks those scripts.

I agree that this must be a TE bug.

Comment 9 Moh Haghighat 2010-09-07 10:32:44 PDT
I'll investigate right away.
Comment 10 Moh Haghighat 2010-09-07 15:11:19 PDT
This helped alert our IT folks to this potential problem as "Use Strict" is possibly used in other JavaScript files on our web properties. An effort is underway to scan our source code for all instances of this use.

Many thanks for bringing this to our attention.

- moh
Comment 11 Marek Stępień [:marcoos, inactive] 2010-09-08 15:00:15 PDT
Douglas Crockford's service tells you to add the "use strict" pragma if you choose the "Good Parts" option. Unfortunately, JSLint says there's nothing wrong with code like this:

/*global window */
"use strict";

function someFun() {

Comment 12 Moh Haghighat 2010-09-29 22:33:15 PDT
Hi Brendan & Boris,

Your suggested fix of removing "use strict"; was pushed as part of today's publishing job on Intel site.

Many thanks for your help.

Comment 13 Scoobidiver (away) 2010-10-01 00:30:01 PDT
I confirm that it works.

Note You need to log in before you can comment on or make changes to this bug.