Commit Graph

487854 Commits

Author SHA1 Message Date
J. Ryan Stinnett
986b4a670d Bug 1240912 - Filter requests by top frame's outerWindowID. r=ochameau
MozReview-Commit-ID: B5Y65EVG8Tz
2016-08-19 10:01:27 -05:00
J. Ryan Stinnett
4e29231275 Bug 1240912 - Beacon filtering no longer needed. r=ochameau
MozReview-Commit-ID: EQ4HrvGFBiq
2016-08-19 10:01:25 -05:00
Honza Bambas
70d3208f45 Bug 1293765 - Don't release upload stream in HTTP channel until authentication loop is done. r=valentin 2016-08-17 07:08:00 -04:00
Cykesiopka
a2072b8e93 Bug 1275841 - Make nsISecretDecoderRing.idl encryptString() and decryptString() use the Mozilla string classes. r=keeler
The Mozilla string classes don't require manual memory management and
automatically keep track of length, making them a safer choice than raw C
strings.

MozReview-Commit-ID: EwCiiP9EhDr

--HG--
extra : transplant_source : %05%D4%B6s%C1%DBye%2C3%C3%85%DB%22%91h%B4%27%E1l
2016-08-19 09:37:48 +08:00
Cykesiopka
a120c3d754 Bug 1275841 - Remove unnecessary methods and interfaces from nsISecretDecoderRing.idl. r=keeler
1. encrypt() and decrypt() are C++ only.
The only callers are in SecretDecoderRing.cpp, and binary add-ons aren't
supported anymore. So, there is no need for these methods to be defined in the
IDL, and they should be treated as private to the nsISecretDecoderRing
implementation.

2. nsISecretDecoderRingConfig has never been implemented.
The interface and implementation are currently just bloat. If there is a need
for specifying the window for prompts in the future, a better way can be devised
then.

MozReview-Commit-ID: 1wXCDTIBJA2

--HG--
extra : transplant_source : %D7%27%5E3%BF%E9%16%0E%A3%8B%E1%8E%ADj%3F%25%B3i%9Al
2016-08-19 09:37:43 +08:00
Cykesiopka
1f4d5333d5 Bug 1275841 - Move nsISecretDecoderRing.idl from netwerk/ to security/manager/ssl. r=mcmanus
The interfaces defined within have basically nothing to do with Necko.

MozReview-Commit-ID: 5J4D3w61Yry

--HG--
rename : netwerk/base/nsISecretDecoderRing.idl => security/manager/ssl/nsISecretDecoderRing.idl
extra : transplant_source : %AAP%26%5D%DE%ED%F6Q%C4%5Eia%F1%84T%8D%A7E%8Aw
2016-08-19 09:37:38 +08:00
Cykesiopka
986f32c262 Bug 1275841 - Rename nsSDR.(cpp|h) to SecretDecoderRing.(cpp|h). r=keeler
There are currently two ways of naming files containing the implementation of
interface nsIFoo:
1. nsFoo.(cpp|h) (previous convention)
2. Foo.(cpp|h) (new convention)

nsSDR.(cpp|h) matches neither of these. Renaming the files to follow convention
makes it easier to discover what the files implement, and increases codebase
consistency.

MozReview-Commit-ID: 3ThPxPouiie

--HG--
rename : security/manager/ssl/nsSDR.cpp => security/manager/ssl/SecretDecoderRing.cpp
rename : security/manager/ssl/nsSDR.h => security/manager/ssl/SecretDecoderRing.h
extra : transplant_source : %7D%FC%AD%9C%E8%AD%CFz%FE%F2%D6%1E%A0%0A%06sk%3D%AD%AC
2016-08-19 09:36:53 +08:00
amy
819f6f556d Bug 368964 - Cookie expires attribute should be absolute, not relative to server time. r=ehsan 2016-08-19 17:28:09 +08:00
bechen
8630c02c7e Bug 1295097 - Ensure HTMLTrackElement create only one WindowDestroyedObserver. r=rillian
MozReview-Commit-ID: FdfpjO58BWw
2016-08-17 09:11:42 +08:00
Thomas Wisniewski
af30944201 Bug 1285036 - Part 11: Factor the actual fetch-related code out of XHR Send() and into its own function, InitiateFetch(). r=smaug 2016-08-18 20:16:00 -04:00
Thomas Wisniewski
6da709b668 Bug 1285036 - Part 10: Factor the request-header XHR code out into its own class. r=smaug 2016-08-18 20:15:37 -04:00
Ryan VanderMeulen
3799407477 Merge m-c to inbound. a=merge 2016-08-19 10:13:51 -04:00
Ryan VanderMeulen
7ada7a56fb Bug 1295082 - Fix merge bustage. a=bustage 2016-08-19 10:13:02 -04:00
Ryan VanderMeulen
ce55e7b71a Merge m-c to inbound. a=merge 2016-08-19 09:59:49 -04:00
Ryan VanderMeulen
ca004651b3 Merge fx-team to m-c. a=merge 2016-08-19 09:54:25 -04:00
Ryan VanderMeulen
01c4e8cc1b Merge inbound to m-c. a=merge 2016-08-19 09:52:53 -04:00
Sotaro Ikeda
5d8ae5cfad Bug 1295927 - Disable libyuv SIMD scaling on 64bit win r=jrmuizel 2016-08-19 06:18:08 -07:00
Kim Moir
a92f03d013 Bug 1293730 - Fennec x86 builds as tier 1 r=jlund 2016-08-19 09:09:31 -04:00
Sebastian Hengst
775bb69951 Merge mozilla-central to autoland. r=merge a=merge 2016-08-19 12:38:47 +02:00
Sebastian Hengst
fdc5082122 Backed out changeset d1d614497fbf (bug 1046166) on request of developer for crashes. r=backout a=backout
MozReview-Commit-ID: IHG3TraKy6n
2016-08-19 12:35:34 +02:00
Wes Kocher
f433f0dd71 Merge fx-team to central, a=merge 2016-08-18 16:16:47 -07:00
Andreas Pehrson
dc0f8c6c81 Bug 1295296 - Add a mochitest. r=jesup
MozReview-Commit-ID: OolLgdIQy9

--HG--
extra : rebase_source : ed1ba6c14885f17e1d11fb4cb76fe5184f9a0e2a
extra : source : 4c3c88e0fdc55930c9bc2c43667513932417d6c4
2016-08-18 18:39:19 +02:00
Christoph Kerschbaumer
70b6df38d3 Bug 1296287 - Add alert_emails & bug_numbers for new HTTP_RESPONSE_STATUS_CODE probe. r=gfritzsche 2016-08-19 12:40:47 +02:00
Kartikaya Gupta
14a899b828 Bug 1217715 - Don't limit the system scroll override to the root content. r=botond,masayuki
MozReview-Commit-ID: EH94OR5rEsX
2016-08-19 06:52:25 -04:00
Sebastian Hengst
1dd98c7608 Merge mozilla-central to mozilla-inbound. r=merge a=merge 2016-08-19 12:39:57 +02:00
Nicolas Silva
0923b0fd39 Bug 1294351 - Avoid removing and re-applying the drawing states with PersistentBufferProviderBasic. r=Bas 2016-08-19 12:00:26 +02:00
Jon Coppeard
35539866a9 Bug 1293239 - Revert nursery resizing heuristics r=terrence 2016-08-19 10:44:01 +01:00
Jon Coppeard
d170af87c1 Bug 1293209 - Don't assert tables are empty if the embedding leaked JS GC things r=terrence 2016-08-19 10:44:01 +01:00
Iris Hsiao
67de9ad6e4 Backed out changeset 3172e3fa6e24 (bug 1294606) 2016-08-19 17:42:14 +08:00
Iris Hsiao
e3f411bb25 Backed out changeset defd76119eda (bug 1294606) 2016-08-19 17:41:57 +08:00
Iris Hsiao
0cadff9393 Backed out changeset 4d05a40172ca (bug 1294606) for Spider Monkey ARM64 bustage 2016-08-19 17:41:45 +08:00
Franziskus Kiefer
d75c53e790 Bug 1296266 - Land NSS_3_27_BETA1, r=kaie
--HG--
extra : amend_source : 1408228c898d6683a384508ca2154fc9d8895e81
2016-08-19 11:20:21 +02:00
Heiher
d8e57bddcc Bug 1294606 - Part 3: Add tests for SignExtend. r=nbp
---
 .../jit-test/tests/ion/dce-with-rinstructions.js   | 40 ++++++++++++++++++++++
 1 file changed, 40 insertions(+)
2016-08-19 17:07:52 +08:00
Heiher
c8cef5ba11 Bug 1294606 - Part 2: Folds Lsh/Rsh same bits to SignExntend. r=nbp
---
 js/src/jit/CodeGenerator.cpp                       | 16 +++++++++
 js/src/jit/CodeGenerator.h                         |  1 +
 js/src/jit/Lowering.cpp                            | 13 ++++++++
 js/src/jit/Lowering.h                              |  1 +
 js/src/jit/MIR.cpp                                 | 27 +++++++++++++++
 js/src/jit/MIR.h                                   | 39 ++++++++++++++++++++++
 js/src/jit/MOpcodes.h                              |  1 +
 js/src/jit/MacroAssembler.h                        |  3 ++
 js/src/jit/Recover.cpp                             | 37 ++++++++++++++++++++
 js/src/jit/Recover.h                               | 12 +++++++
 js/src/jit/arm/MacroAssembler-arm-inl.h            | 12 +++++++
 js/src/jit/arm64/MacroAssembler-arm64-inl.h        | 12 +++++++
 .../mips-shared/MacroAssembler-mips-shared-inl.h   | 12 +++++++
 js/src/jit/shared/LIR-shared.h                     | 16 +++++++++
 js/src/jit/shared/LOpcodes-shared.h                |  1 +
 .../jit/x86-shared/MacroAssembler-x86-shared-inl.h | 12 +++++++
 js/src/vm/Interpreter-inl.h                        | 11 ++++++
 17 files changed, 226 insertions(+)
2016-08-19 17:07:47 +08:00
Heiher
f5130bf88d Bug 1294606 - Part 1: Implement LIRGenerator::useByteOpRegisterAtStart. r=nbp
---
 js/src/jit/arm/Lowering-arm.cpp                 | 6 ++++++
 js/src/jit/arm/Lowering-arm.h                   | 1 +
 js/src/jit/arm64/Lowering-arm64.cpp             | 6 ++++++
 js/src/jit/arm64/Lowering-arm64.h               | 1 +
 js/src/jit/mips-shared/Lowering-mips-shared.cpp | 6 ++++++
 js/src/jit/mips-shared/Lowering-mips-shared.h   | 1 +
 js/src/jit/none/Lowering-none.h                 | 1 +
 js/src/jit/x64/Lowering-x64.cpp                 | 6 ++++++
 js/src/jit/x64/Lowering-x64.h                   | 1 +
 js/src/jit/x86/Lowering-x86.cpp                 | 6 ++++++
 js/src/jit/x86/Lowering-x86.h                   | 1 +
 11 files changed, 36 insertions(+)
2016-08-19 17:07:39 +08:00
Jonathan Kew
4196f4e014 Bug 1228799 - Part 2 - If AddFontMemResourceEx rejects a downloaded font that we tried to activate, check if its Microsoft cmap subtable is tagged as symbol-encoded, and if so fix it up and re-try the font activation. r=emk 2016-08-18 17:22:45 +01:00
Jonathan Kew
17a2101b23 Bug 1228799 - Part 1 - Move GetTableFromFontData to gfxFontUtils as a static function, and expose FindTableDirEntry helper method. r=emk 2016-08-19 13:57:05 +01:00
Dão Gottwald
86b32617f9 Bug 1295947 - Use filter and fill properties instead of duplicating lots of SVG and CSS for the tab audio icon. r=gijs 2016-08-19 14:29:20 +02:00
Dão Gottwald
9629d2b65c Bug 528005 - Let accel-click and middle-click on the new tab button open a new tab next to the current one. r=gijs 2016-08-19 14:28:04 +02:00
Mats Palmgren
ddef8b6119 Bug 1280887 - patch 4 - Remove (unused) class gfxTextRun::ClusterIterator. r=jfkthame 2016-08-19 13:14:45 +01:00
Jonathan Kew
0cb66c8d3a Bug 1280887 - patch 3 - Get rid of the mTextRunsToDelete array now that the frame's textruns are refcounted and will know when to die by themselves. r=mats 2016-08-19 13:14:37 +01:00
Jonathan Kew
95a82f84cc Bug 1280887 - patch 2 - Make gfxTextRun refcounted, replace usage of UniquePtr<> with RefPtr<> for textruns, and make nsTextFrame hold a strong reference to its run(s). r=mats 2016-08-19 13:14:22 +01:00
Mark Banner
f39cd14a1c Bug 1291641 - Make the Pocket system add-on as e10s compatible. r=mixedpuppy
Move the about: handler registration into the content process, and set the flag on the add-on.

MozReview-Commit-ID: Ken10jJH9o8

--HG--
extra : rebase_source : 1b23f082718d1cfd89e89fa37f84af1fc69c2f85
2016-08-18 13:59:59 +01:00
Sebastian Kaspari
7c6fac4fc8 Bug 1296357 - Remove unused drawables/scrollbar.png. r=ahunt
MozReview-Commit-ID: 3TkteHjrko6

--HG--
extra : rebase_source : d6a0973f895f25bb98867c04b6fb8095a9a7a783
2016-08-18 19:05:38 +02:00
Patrick Brosset
d85ca4e057 Bug 1295607 - Avoid CSP errors when drawing the window into the eyedropper; r=miker
Pages defining CSP response headers used to be a problem for the eyedropper.
Indeed, the eyedropper would take a screenshot of the window with
canvas.drawWindow and then load the resulting data as an Image. But in order
to access the Image() constructor, it would use the content window:
new window.Image(), and that wasn't possible with CSP headers.

With this change, the eyedropper creates an ImageBitmap with
window.createImageBitmap() and that doesn't cause CSP errors, and still works
fine because ImageBitmap are consumable by the eyedropper.

This change also adds a new test to prevent this bug from coming back.

MozReview-Commit-ID: 7f3HCXJtTiv
2016-08-18 14:37:04 +02:00
Sebastian Hengst
76d1079896 Merge mozilla-central to fx-team. r=merge a=merge 2016-08-19 12:41:03 +02:00
Patrick Brosset
3ca2b33eec Bug 1289553 - Move the eyedropper label so it's always visible; r=jdescottes
This adds a few new CSS selectors that are used to move the label to the
top and/or left/right of the eyedropper canvas.
The CSS rules use transform and a quick transition.
The eyedropper highlighter then just makes use of this by adding top, left,
right attributes to the DOM depending on its position.

This also adds a test for this, and while testing, I discovered a bug in
shared/layout/utils.js that I fixed here too. Sometimes, the node passed is
actually a DOCUMENT_NODE and so we must account for this in a couple of places
in this file to avoid JS errors.

MozReview-Commit-ID: H969k3mEDJE


MozReview-Commit-ID: 9qOCYVp4mld
2016-08-18 15:17:47 +02:00
Sebastian Hengst
6d2886e2f3 Backed out changeset 6c02985bc0c8 (bug 996691) for failing browser_dbg_variables-view-data.js and browser_bug_869003_inspect_cross_domain_object.js. r=backout 2016-08-19 09:41:07 +02:00
Claas Augner
5fd7c05de8 Bug 1291835 - Prevent last search engine from being removed. r=florian 2016-08-18 20:42:03 +02:00
Alastor Wu
c45a13bb5a Bug 1295023 - ignore to set the same value for the ready state. r=rillian
MozReview-Commit-ID: 9OWJfnWAwj9

--HG--
extra : rebase_source : 2679535cb78587a685604312e0e105c53c52a135
2016-08-18 19:10:31 +08:00