Commit Graph

507230 Commits

Author SHA1 Message Date
Christoph Kerschbaumer
8c97c0cf8b Bug 1329032 - Test privileged about page to use SystemPrincipal as TriggeringPrincipal when loading about page in child. r=gijs 2017-01-17 21:52:37 +01:00
Christoph Kerschbaumer
05287d4fa8 Bug 1329032 - Extend loadURIWithOptions by a triggeringPrincipal. r=bz,gijs 2017-01-17 21:52:01 +01:00
Benjamin Smedberg
1f3b6e235c Bug 1330998 - Invalidate pluginreg.dat based on whether the flash-only pref is flipped, so that if users switch between 52 and 52ESR it gets updated correctly. r=qdot
MozReview-Commit-ID: 64yamsyIudD

--HG--
extra : rebase_source : d68a466d933ab17d8f753215f2a584539291de33
extra : amend_source : 80294e413ae5167d1650ee5a092de7d4dc4987cf
2017-01-17 13:44:13 -05:00
Bill McCloskey
1f291dd7dc Bug 1328423 - Avoid calling into JS from Windows theming code (r=jimm)
MozReview-Commit-ID: GRur1ddbCVz
2017-01-17 13:29:26 -08:00
Bill McCloskey
aa90d7dcb6 Bug 1328423 - Add AutoAssertNoContentJS to PresShell::Paint (r=dvander)
MozReview-Commit-ID: 4M4pYZSygPH
2017-01-17 13:29:04 -08:00
Bill McCloskey
50b0406bb7 Bug 1328423 - Switch tab switch assertion to use AutoAssertNoContentJS (r=dvander)
MozReview-Commit-ID: D7bAfJRWLRg
2017-01-17 13:28:47 -08:00
Bill McCloskey
abe6f421eb Bug 1328423 - Add AutoAssertNoContentJS assertion (r=sfink)
MozReview-Commit-ID: KY1JwysGzno
2017-01-17 13:28:36 -08:00
Michael Layzell
9ec8074497 No bug - Skip test_pasteImgTextarea.html on android, a=bustage
MozReview-Commit-ID: F7GPuSo8JBl
2017-01-17 16:21:33 -05:00
David Major
e46dbc2c0f Bug 1324093 - Part 4: Make MOZ_Report{Crash,AssertionFailure} be MOZ_NEVER_INLINE. r=froydnj
You'd think that this would throw off the assertion stacks in nsTraceRefcnt::WalkTheStack. But as far as I can tell, it was already setting |skipFrames| too high!

On top of that, the function was getting out-of-lined in some instances already. It really should have been MOZ_ALWAYS_INLINE_EVEN_DEBUG.

MozReview-Commit-ID: J2FZmi0pKro

--HG--
extra : rebase_source : 20e5be9f8c21637a28435f47b8ab2de101825679
2017-01-18 09:37:54 +13:00
David Major
0cf4adb5f3 Bug 1324093 - Part 3.5: Add MOZ_MAYBE_UNUSED to mfbt/Attributes.h. r=froydnj
MozReview-Commit-ID: Ef1nkRipaDg

--HG--
extra : rebase_source : ea298dc948a027e5a686c2f022cce5d8cb170f27
2017-01-18 09:37:54 +13:00
David Major
2166409a1d Bug 1324093 - Part 3: Don't MOZ_ReportAssertionFailure in non-debug builds. r=froydnj f=Waldo f=nbp
Not only does this trim the code, it also makes MOZ_RELEASE_ASSERT follow the advice of MOZ_CRASH earlier in the file:

 * If we're a DEBUG build and we crash at a MOZ_CRASH which provides an
 * explanation-string, we print the string to stderr.  Otherwise, we don't
 * print anything; this is because we want MOZ_CRASH to be 100% safe in release
 * builds, and it's hard to print to stderr safely when memory might have been
 * corrupted.

MozReview-Commit-ID: Kuxzn1v9Vfs

--HG--
extra : rebase_source : 5c6efe7cb9adb1c366b423d6ff8f95002512985c
2017-01-18 09:37:46 +13:00
David Major
77329182eb Bug 1324093 - Part 2: Don't AnnotateMozCrashReason on debug builds. r=bsmedberg
I left gMozCrashReason visible (but not meaningfully used) in all builds, in order to match the behavior of Assertions.cpp, and to avoid more #ifdef clutter in nsExceptionHandler.cpp.

MozReview-Commit-ID: smoFkddGzd

--HG--
extra : rebase_source : 498f927f62fc944edf254c2ff3b115131367a506
2017-01-18 09:34:02 +13:00
David Major
dd8c1f9d4e Bug 1324093 - Part 1: Move MOZ_REALLY_CRASH's null-deref and TerminateProcess into a never-inline function. r=froydnj
The C versus C++ distinction was only there so that Android could make sure it used the global ::abort. I didn't see the need to maintain the distinction for Windows. (Besides, with this change we're no longer doing textual inclusion of "TerminateProcess" in the macro, so people can't take over the name.)

Linux's abort sequence wasn't long enough to be troublesome, so I left it alone.

MozReview-Commit-ID: Ah5XtWpevGz

--HG--
extra : rebase_source : 37c3fb4c50bcba8e48c6a965a02e3f8608940538
2017-01-18 09:33:25 +13:00
David Major
d27150b889 Bug 1324093 - Part 0: Use MOZ_{BEGIN,END}_EXTERN_C in Assertions.h. r=froydnj
Drive-by cleanup.

MozReview-Commit-ID: 8slQlbS3NS2

--HG--
extra : rebase_source : 2df96c531b8cfa03ca17c134393c5f054ca25927
2017-01-18 09:32:47 +13:00
Trevor Saunders
bd2c1d2fdb bug 1325834 - fixup windows bustage landed on a CLOSED TREE 2017-01-17 15:48:51 -05:00
Trevor Saunders
6798a4c8ce bug 1325834 - create the DocAccessibleChild in DocAccessible::DoInitialUpdate() r=davidb
It seems likely that some documents are created in content processes without
  a DocAccessibleChild actor because there is no docshell or tabchild
  associated with the document.  However DocAccessible::DoInitialUpdate()
  already calls functions that assume the document is associated with a
  docshell.  So hopefully trying to create the child actor there will mean it
  is more successful.
2017-01-17 15:20:32 -05:00
Michael Layzell
79a95a8db1 Bug 1317322 - Activate paste in menus when within <textarea> controls, r=ehsan
MozReview-Commit-ID: 7YD8qtsC3u6
2017-01-17 15:05:32 -05:00
Jason Orendorff
ff2f34762a Bug 1330769 - Avoid using Symbol addresses in hash codes. r=jandem.
MozReview-Commit-ID: 9kllbUYaXLv

--HG--
extra : rebase_source : ecfa3a8aaaaf25189468f4e19e849390ea0adb69
2017-01-12 14:29:38 -06:00
Luke Wagner
7d79c6f41c Bug 1330891 - Baldr: simplify ModuleGenerator (r=bbouvier)
MozReview-Commit-ID: LrBIuXsUhtX
2017-01-17 13:13:51 -06:00
Dale Harvey
0a37fafed0 Bug 1234558 - Use icons from app manifest. r=marcosc, r=sebastian 2017-01-17 18:24:53 +00:00
Lee Salzman
a25a4562c0 Bug 1322337 - load color bitmaps in SkFontHost_cairo when building with FreeType before 2.5.0. r=mchang
MozReview-Commit-ID: Ay7hJi7RK4T
2017-01-17 12:27:16 -05:00
Dragana Damjanovic
92818c0cee Bug 1261585 - Necko does content conversions for TracableChannel so devtool does not need to do it separately. r=ochameau 2016-12-20 06:45:00 -05:00
Dragana Damjanovic
678e2b1447 Bug 1261585 - Make nsITraceableChannel listener work with content encoding. r=mayhemer 2017-01-17 08:27:00 -05:00
Ryan VanderMeulen
66329eed4c Merge m-c to inbound. a=merge 2017-01-17 11:30:45 -05:00
Ryan VanderMeulen
a056b599fd Merge inbound to m-c. a=merge 2017-01-17 11:30:07 -05:00
ffxbld
3c33d09d45 No bug, Automated HPKP preload list update from host bld-linux64-spot-142 - a=hpkp-update 2017-01-17 06:55:11 -08:00
ffxbld
dc22f9d129 No bug, Automated HSTS preload list update from host bld-linux64-spot-142 - a=hsts-update 2017-01-17 06:55:09 -08:00
Andrea Marchesini
b66923b42b Bug 1274596 - Fixing tests for HTMLInputElement.value + fakepath, r=me 2017-01-17 12:42:30 +01:00
Florian Quèze
85611a7b6d Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Florian Quèze
d422907f57 Bug 1331081 - make the no-useless-parameters eslint rule report useless addEventListener false third parameter, r=jaws.
--HG--
extra : rebase_source : 9b2b156afacff5d1309c60a3620d061706cc303c
2017-01-17 11:43:31 +01:00
Phil Ringnalda
790b2cb423 Merge m-i to m-c, a=merge 2017-01-16 21:42:59 -08:00
Phil Ringnalda
2a6cfd0c07 Backed out changeset 5d72e00c604a (bug 1326067) for near-permaorange in wasm-06.js in Windows cgc builds 2017-01-16 18:30:03 -08:00
Timothy Nikkel
ab29b8925b Bug 1327294. When drawing XUL images allow some decoding if it's fast. r=aosmond
We aren't likely to implement predictive size decoding for XUL images. So instead do some sync decoding when we Draw them at their specified size. This will avoid a paint where we don't draw the image, or draw it at the wrong size, followed later by the correctly sized image.
2017-01-16 14:12:51 -06:00
Dalimil Hajek
3e02aa5978 Bug 1322085 - Make devtools/server/actors/*.js eslint-clean. r=ntim 2017-01-16 12:51:00 -05:00
Wei-Cheng Pan
8733c6bd51 Bug 1329911 - Fix incorrect releasing of POST data. r=mayhemer
This patch reverts bug 1264566 (part 3) and bug 1293765.

MozReview-Commit-ID: AsSxxAMGHvV

--HG--
extra : rebase_source : 524ed287c78f25ea95aa72a3c0be478f437755a2
2017-01-13 17:33:36 +08:00
Karl Tomlinson
22bdd11ef6 bug 1328899 don't use GTK prelight and active state flags when drawing textfield-multiline background r=stransky+263117
This is consistent with GTK not setting these flags with GtkTextView
and GtkScrolledWindow.

The active flag was triggering @selected_bg_color with Ambiance.

This patch almost reverts the state flags to the logic prior to
cd7544affe40 but keeps the focused flag in the scrolled window.

MozReview-Commit-ID: IVY1sI2Hllw

--HG--
extra : rebase_source : 5774af02f7b6abfeab15bee5f35d941490c81514
2017-01-17 14:48:55 +13:00
Phil Ringnalda
ef4d86ebaa Merge m-c to autoland 2017-01-16 14:49:16 -08:00
Phil Ringnalda
5a78aec0aa Merge m-i to m-c, a=merge 2017-01-16 13:18:17 -08:00
Andrea Marchesini
a9cfad0afe Bug 1331340 - FileReader should not continue when allocation fails, r=bkelly 2017-01-16 17:35:40 +01:00
Kartikaya Gupta
9498238c0e Bug 1331380 - Remove unused kDefaultViewportSize. r=botond
MozReview-Commit-ID: 80gkw0BUErW

--HG--
extra : rebase_source : ba759cc9406cfdea2a2483ba84047e9c3291c985
2017-01-16 10:25:35 -05:00
Olli Pettay
cb443e8ff8 Bug 1330252, try to avoid flooding child process with repeated key events, r=masayuki
--HG--
extra : rebase_source : 53241a14eae10852024d68837d377b91a2f7fbec
2017-01-16 11:29:37 +02:00
Carsten "Tomcat" Book
0c21611303 Merge mozilla-central to mozilla-inbound 2017-01-16 16:44:15 +01:00
Carsten "Tomcat" Book
7cb92b4443 merge mozilla-inbound to mozilla-central a=merge 2017-01-16 16:35:14 +01:00
Carsten "Tomcat" Book
a7c09b70d4 merge autoland to mozilla-central a=merge 2017-01-16 16:34:19 +01:00
ffxbld
73ce5f2acc No bug, Automated HPKP preload list update from host bld-linux64-spot-301 - a=hpkp-update 2017-01-16 06:42:57 -08:00
ffxbld
7b3b695e56 No bug, Automated HSTS preload list update from host bld-linux64-spot-301 - a=hsts-update 2017-01-16 06:42:55 -08:00
Makoto Kato
8292a2eba6 Backed out changeset f1f0f69bc78f (bug 1324505)
MozReview-Commit-ID: 1DbtAJzgJYo
2017-01-16 19:32:59 +09:00
Makoto Kato
7530aa4e7d Backed out changeset ea8744408e89 (bug 1324505)
MozReview-Commit-ID: ZX7rxfKI13
2017-01-16 19:32:57 +09:00
Makoto Kato
a396fb9acd Backed out changeset 7be23bb65b93 (bug 1324505)
MozReview-Commit-ID: 8ONKT1Q6oER
2017-01-16 19:32:56 +09:00
Hiroyuki Ikezoe
f6d1e334f7 Bug 1330190 - Part 6: Add MOZ_DIAGNOSTIC_ASSERT for mIsComposing. r=birtles
Based on the other changesets in this series, we don't expect to be calling
UpdateProperties() and ComposeStyle() from within ComposeStyle() itself.
However, in case there is some scenario where that does still occur, we leave
the mIsComposing check in place and add an equivalent MOZ_DIAGNOSTIC_ASSERT so
that we are alerted if this does occur on debug / Nightly / DevEdition builds,
but handle it gracefully on beta or release builds.

MozReview-Commit-ID: 2cFpyMFR29Q

--HG--
extra : rebase_source : 8d6175b8785dd062bda85eda7f06c01bec42fbee
2017-01-16 17:41:25 +09:00