Commit Graph

571260 Commits

Author SHA1 Message Date
Ted Campbell
20193a2f37 Bug 1397049 - Fix debugger 'this' in functions with let. r=jorendorff
When the debugger evaluates code in the debuggee frame, the parser may
fail to detect we are in a function context and will compute 'this'
incorrectly as a result. This patch fixes the environment chain
traversal around DebugEnvironmentProxy to more accurately determine the
binding type of 'this' within a function.

MozReview-Commit-ID: GzRDOJLK8fx
2017-11-22 21:30:53 -05:00
Phil Ringnalda
f12ca11346 Backed out 3 changesets (bug 1407423) for Android permaorange in test_vrDisplay_getFrameData.html
Backed out changeset b9dbe5af9a06 (bug 1407423)
Backed out changeset 16d247b8091d (bug 1407423)
Backed out changeset 2b625d265761 (bug 1407423)

MozReview-Commit-ID: 6clRbH1Hodr
2017-11-22 18:15:10 -08:00
Florian Quèze
0ce882a00c Bug 1419941 - Reset the engine of users having a default engine likely installed by a legacy add-on, r=adw. 2017-11-23 01:51:15 +01:00
Florian Quèze
723d70b38a Bug 1226616 - The presence of the general.config.filename preference should be reported on telemetry. r=njn, data-review=francois 2017-11-23 00:59:38 +01:00
Bas Schouten
dff3e46770 Bug 1417903: Make ImageRenderer use IntoLuminanceSource. r=dvander
MozReview-Commit-ID: 4fr3Koliieq
2017-11-22 00:27:34 +01:00
Nika Layzell
8886a24cd7 Bug 1419597 - Part 19: Remove accidental version control marker on a CLOSED TREE, a=bustage
MozReview-Commit-ID: LuztkGycks1
2017-11-23 13:44:11 -05:00
Nicholas Nethercote
09d19b6c47 Bug 1419654 - Prevent possible pref default/user value type mismatches. r=glandium
Currently, you can create a pref that only has a user value, and then later
give it a default value with a different type. The entire pref is then recorded
as having this second type. This causes problems later when interpreting the
user value.

This patch makes SetValue() fail if it tries to set a default value whose type
differs from an existing user value. It also expands an existing test to cover
this case and some similar ones.

MozReview-Commit-ID: 89tvISQ7RNT

--HG--
extra : rebase_source : 6cf34da0ff24f5b90a88003445a4a7c88b1f3907
2017-11-21 16:00:23 +11:00
Oliver
1ecb5e03c0 Bug 1417527 - Remove right click behavior as left click by checking the event.button. r=jaws
MozReview-Commit-ID: 1Fy2r5EXrU3

--HG--
extra : rebase_source : c092adf663aba37ab919f3f0a9d60c51baada10a
2017-11-20 14:22:49 -06:00
Nicholas Nethercote
dccbe1fff8 Bug 1419648 - Remove and inline PREF_RegisterCallback(). r=glandium
This requires adding an aPriority argument (defaulting to false) to
Preferences::RegisterCallback(). And RegisterVarCacheCallback() is no longer
necessary.

MozReview-Commit-ID: BMDk3HuaQVV

--HG--
extra : rebase_source : 17a61cfd9a82f24854162fc993223691041ea46d
2017-11-21 12:57:53 +11:00
Nicholas Nethercote
1ea97b46f1 Bug 1419648 - Inline and remove PREF_UnregisterCallback(). r=glandium
MozReview-Commit-ID: GLUdbRjxDLR

--HG--
extra : rebase_source : df713f8f242618f8624640bf94bebcc996362b1f
2017-11-21 12:57:53 +11:00
Paolo Amadini
fc2d7ac38d Bug 1419005 - Remove the "download-toolbarbutton" binding. r=mak
MozReview-Commit-ID: Al6jXNz4jjM

--HG--
extra : rebase_source : 96db291791a9181bcf4a0094a49ae70558ac992b
2017-11-20 14:20:29 +00:00
Nika Layzell
f1ac9bf744 Bug 1419597 - Part 18: Remove IsInnerWindow and IsOuterWindow methods, r=smaug
MozReview-Commit-ID: DAAm6tLubhJ
2017-11-23 13:12:13 -05:00
Nika Layzell
7273ec9699 Bug 1419597 - Part 17: Avoid implementing *OpenerForInitialContentBrowser on the inner, r=smaug
MozReview-Commit-ID: HBRWzlBqnCT
2017-11-23 13:12:11 -05:00
Nika Layzell
c96f34d91b Bug 1419597 - Part 16: Clarify crash message in some outer window unsupported methods, r=smaug
MozReview-Commit-ID: 8yLkJE4cGra
2017-11-23 13:12:10 -05:00
Nika Layzell
7675c88400 Bug 1419597 - Part 15: Build nsGlobalWindow{Inner,Outer}.cpp separately, r=smaug
MozReview-Commit-ID: 7a1jiE7FKcs
2017-11-23 13:12:08 -05:00
Nika Layzell
a4f4d616b9 Bug 1419597 - Part 14: Clean up some out of date documentation, r=smaug
MozReview-Commit-ID: Jk6BDE3PzF
2017-11-23 13:12:06 -05:00
Nika Layzell
48b95b6db0 Bug 1419597 - Part 13: Move gDragServiceDisabled and gMouseDown to be statics on nsGlobalWindowInner, r=smaug
MozReview-Commit-ID: DjXlbLJclzh
2017-11-23 13:12:05 -05:00
Nika Layzell
9a28c8db2e Bug 1419597 - Part 12: Move storage pref enabled check into a static method on dom::Storage, r=asuth
MozReview-Commit-ID: 7qES6MrIxK9
2017-11-23 13:12:03 -05:00
Nika Layzell
c89dc4dbb4 Bug 1419597 - Part 11: Move gRefCnt/gSerialCounter into nsContentUtils, r=smaug
MozReview-Commit-ID: KkG6hQentSH
2017-11-23 13:12:01 -05:00
Nika Layzell
492842f10a Bug 1419597 - Part 10: Move includes into nsGlobalWindow{Inner,Outer}.cpp, r=smaug
MozReview-Commit-ID: A5xJcTnicyb
2017-11-23 13:12:00 -05:00
Nika Layzell
c9248cfb52 Bug 1419597 - Part 9: Move the remaining defines out of nsGlobalWindow.h, r=smaug
MozReview-Commit-ID: CQRRyTImnUG
2017-11-23 13:11:58 -05:00
Nika Layzell
454baaeaca Bug 1419597 - Part 8: Completely remove unused DialogValueHolder, r=smaug,bz
MozReview-Commit-ID: 8VaBoUj9nOj
2017-11-23 13:11:56 -05:00
Nika Layzell
2625b0ca22 Bug 1419597 - Part 7: Remove unused data members from nsGlobalWindowOuter, r=smaug
MozReview-Commit-ID: 5fj3pBMmR8E
2017-11-23 13:11:55 -05:00
Nika Layzell
c7371d5cc9 Bug 1419597 - Part 6: Remove unused data members from nsGlobalWindowInner, r=smaug
MozReview-Commit-ID: KeZR0knQcbl
2017-11-23 13:11:53 -05:00
Nika Layzell
9ac65ea533 Bug 1419597 - Part 5: Remove mFocusedNode from the outer window, r=enndeakin
MozReview-Commit-ID: 62pgCjfIsvu
2017-11-23 13:11:51 -05:00
Nika Layzell
38b6455183 Bug 1419597 - Part 4: Remove unused fields from nsPIDOMWindowOuter, r=smaug
MozReview-Commit-ID: 4VXKn6dnYKH
2017-11-23 13:11:50 -05:00
Nika Layzell
6bd2d6f16d Bug 1419597 - Part 3: Remove unused fields from nsPIDOMWindowInner, r=smaug
MozReview-Commit-ID: FJQ6GmxE5gq
2017-11-23 13:11:48 -05:00
Nika Layzell
14a3bf4116 Bug 1419597 - Part 2: Remove nsPIDOMWindow, r=smaug
MozReview-Commit-ID: 9TUURbj9s7N
2017-11-23 13:11:46 -05:00
Nika Layzell
39d4d66910 Bug 1419597 - Part 1: Split the methods on nsPIDOMWindow<T>, r=smaug
MozReview-Commit-ID: KXsnYLYtICV
2017-11-23 13:11:44 -05:00
Nika Layzell
ee9635d6aa Bug 1419144 - Part 20: Remove nsGlobalWindowOuter::RiskyUnlink, r=mccr8
MozReview-Commit-ID: 3BZIKFc5noK
2017-11-23 13:11:43 -05:00
Nika Layzell
98a780f55d Bug 1419144 - Part 19: Move IsRootOuterWindow to nsPIDOMWindowOuter, r=smaug
MozReview-Commit-ID: Cgh1Cbb60Zk
2017-11-23 13:11:41 -05:00
Nika Layzell
b1a42230f1 Bug 1419144 - Part 18: Move AsInner() and AsOuter() off of nsPIDOMWindow<T>, r=smaug
MozReview-Commit-ID: IA29zmacrJ4
2017-11-23 13:11:39 -05:00
Nika Layzell
cc1a61fcdc Bug 1419144 - Part 17: Split gDOMLeakPRLog into Inner/Outer variants, r=smaug
MozReview-Commit-ID: HxjJ43UyecW
2017-11-23 13:11:38 -05:00
Nika Layzell
9b40de114c Bug 1419144 - Part 16: Move gDumpFile into nsGlobalWindowInner, r=smaug
MozReview-Commit-ID: 1ATfmoN0oue
2017-11-23 13:11:36 -05:00
Nika Layzell
920ec9caac Bug 1419144 - Part 15: Move PopupControlState into nsContentUtils, r=smaug
MozReview-Commit-ID: Kt2moF5nsDg
2017-11-23 13:11:34 -05:00
Nika Layzell
ef26b1acf5 Bug 1419144 - Part 14: Move some debug defines to the places where they are used, r=smaug
MozReview-Commit-ID: 5SuLQZqtzJf
2017-11-23 13:11:33 -05:00
Nika Layzell
fd4ef95bd2 Bug 1419144 - Part 13: Move some defines into nsGlobalWindowInner.cpp, r=smaug
MozReview-Commit-ID: C3lK4TORumy
2017-11-23 13:11:31 -05:00
Nika Layzell
7e6e4b79bc Bug 1419144 - Part 12: Move kXULControllersCID into nsGlobalWindowOuter.cpp, r=smaug
MozReview-Commit-ID: 6PNWjgE8vgq
2017-11-23 13:11:30 -05:00
Nika Layzell
99a4ce5d90 Bug 1419144 - Part 11: Remove some unused defines, r=smaug
MozReview-Commit-ID: CQI6eWIHzsT
2017-11-23 13:11:28 -05:00
Nika Layzell
f59f095e67 Bug 1419144 - Part 10: Move PushPopupControlState and PopPopupControlState into nsGlobalWindowOuter.cpp, r=smaug
MozReview-Commit-ID: 7AhgZLIvcZ5
2017-11-23 13:11:26 -05:00
Nika Layzell
d9b703bb40 Bug 1419144 - Part 9: Move CreateNativeGlobalForInner into nsGlobalWindowOuter.cpp, r=smaug
MozReview-Commit-ID: 9KwK7GyXZN3
2017-11-23 13:11:25 -05:00
Nika Layzell
e005db891d Bug 1419144 - Part 8: Move TryGetTabChildGlobalAsEventTarget into nsContentUtils, r=smaug
MozReview-Commit-ID: 8vi1mAzmQUU
2017-11-23 13:11:23 -05:00
Nika Layzell
38a7e13386 Bug 1419144 - Part 7: Move WindowDestroyedEvent into its own file, r=smaug
MozReview-Commit-ID: HZDX84ktgiy
2017-11-23 13:11:21 -05:00
Nika Layzell
4e843da907 Bug 1419144 - Part 6: Move IsInterval into nsGlobalWindowInner.cpp, r=smaug
MozReview-Commit-ID: LRhNfAdljYJ
2017-11-23 13:11:20 -05:00
Nika Layzell
1682377162 Bug 1419144 - Part 5: Move CommandDispatcher and ChildCommandDispatcher into nsGlobalWindowOuter.cpp, r=smaug
MozReview-Commit-ID: L41gwz19vBq
2017-11-23 13:11:18 -05:00
Nika Layzell
e8ccb0faa7 Bug 1419144 - Part 4: Remove RemoveIdleCallback from outer window, r=farre
MozReview-Commit-ID: KxJgYeOQPyH
2017-11-23 13:11:17 -05:00
Nika Layzell
486f00a8af Bug 1419144 - Part 3: Move pref caches into nsGlobalWindowInner where they are used, r=smaug
MozReview-Commit-ID: 1yftLoS3eo2
2017-11-23 13:11:15 -05:00
Nika Layzell
93c45cb3ef Bug 1419144 - Part 2: Remove unused gThrottledIdlePeriodLength, r=farre
MozReview-Commit-ID: GGMJC6HuCLa
2017-11-23 13:11:14 -05:00
Nika Layzell
153cad2eb5 Bug 1419144 - Part 1: Move ShouldShowFocusRingIfFocusedByMouse into nsGlobalWindowInner.cpp, r=smaug
MozReview-Commit-ID: 7m5ZJ52bkRs
2017-11-23 13:11:12 -05:00
Florian Quèze
c66ef57600 Bug 1419941 - fix typo in setCharPref, r=Sylvestre. 2017-11-23 18:45:01 +01:00