Commit Graph

492455 Commits

Author SHA1 Message Date
Ehsan Akhgari
f993ff03ab Bug 1297687 - Part 4: Specify an OriginAttribute for the XBL content's expanded principal; r=bholley 2016-09-22 13:27:58 -04:00
Ehsan Akhgari
e45aad00ec Bug 1297687 - Part 3: Ensure that the expanded principal of a sandbox has a sensible OriginAttributes; r=bholley
This patch allows specifying an OriginAttributes when creating a sandbox
using Components.utils.Sandbox() by specifying an originAttributes
member on the options dictionary.

If an OA is specified in this way, it is used for creating codebase
principals from the string arguments passed to the function.  Otherwise,
if one or more principals are passed in the array argument to Sandbox(),
the OA of the principal(s) is used to construct codebase principals from
the strings inside the array.  In this case, we check to make sure that
all of the passed principals have the same OA, otherwise we'll throw an
exception.

In case no explicit OA is specified and no principals are passed in the
array argument, we create the codebase principals using a default OA.
2016-09-22 13:27:51 -04:00
Ehsan Akhgari
5404c2dc93 Bug 1297687 - Part 2: Allow specifying an OriginAttribute when creating an expanded principal; r=bholley 2016-09-22 13:27:40 -04:00
Ehsan Akhgari
6b65aceec2 Bug 1297687 - Part 1: Remove nsIScriptSecurityManager.createExpandedPrincipal(); r=bholley 2016-09-22 13:27:33 -04:00
Benjamin Bouvier
48aef09e25 Bug 1248555: Block a few slow tests under CGC; r=jonco
MozReview-Commit-ID: AVt5J92bqcw

--HG--
extra : rebase_source : f6f48971eeced9abc2b0ed8972830b08c88a7e35
2016-09-22 18:53:58 +02:00
Andrew Swan
8fbeb75129 Bug 1303418 Don't allow upgrades that change the addon ID r=mossop
MozReview-Commit-ID: JHINo8ShmeI

--HG--
extra : source : 9a74c400ed6c62d5fc6abe0cd42d27be70f18f02
extra : amend_source : 8776cfb584840bccc817ce1fda00d04b236875eb
extra : intermediate-source : 8490362e38cdaa930985a5adafc581d7bb76fe45
2016-09-16 15:00:18 -07:00
Terrence Cole
b605dece0c Bug 1285057 - Blacklist UBSan detection of the GC's generic interfaces; r=sfink
--HG--
extra : rebase_source : f5367a8685ec462edb7e30e5ed3d274b4a9bcd0f
2016-07-07 08:59:36 -07:00
Steve Fink
3d7c5d34f5 Bug 1303461 - Limit Android stack size to 3/4 of the actual 1MB, r=jandem
--HG--
extra : rebase_source : fc0994289923f36c577dd97e1d5eb35747102e36
2016-09-19 10:08:18 -07:00
Terrence Cole
48b3b2ea1a Bug 1294563 - Fix the pre-compacting interrupt's position; r=jonco 2016-09-21 09:33:12 -07:00
Boris Zbarsky
7afde49b04 Bug 1096267. Stop calling into the nsIInputStream overload of XMLHttpRequest.send() if a random object is passed in (except in chrome code, where we will keep doing that). r=smaug 2016-09-22 16:58:37 +01:00
Boris Zbarsky
99faedc1aa Bug 1304515. Remove the unused WebIDL version of ImageLoadingContent.loadImageWithChannel. r=ehsan 2016-09-22 16:58:35 +01:00
John Dai
67c1584d51 Bug 838954 - Backout newlines lost in .innerHTML serialization of <pre> when first character is a newline. r=smaug 2016-09-22 02:42:00 -04:00
Ryan VanderMeulen
9114490dad Bug 1304537 - Update libjpeg-turbo to version 1.5.1. r=jrmuizel 2016-09-22 11:46:52 -04:00
cku
8fc664c532 Bug 1304706 - Replace nsSVGUseElement by SVGUseElement in comment. r=dholbert; DONTBUILD
MozReview-Commit-ID: 4rfjuQ9M3PB

--HG--
extra : amend_source : 6b9ddbb294c4333add9b1063da1c1aaa3248d3a2
2016-09-22 22:33:42 +08:00
Benjamin Bouvier
f570ac6d0a Bug 1248555: Unbreak the build; r=me 2016-09-22 16:11:36 +02:00
Ethan Lin
0bca760203 Bug 1304655 - Fix the content of rel="match" in focus-within testcase; r=xidorn
MozReview-Commit-ID: f2UEetHgqb
2016-09-22 19:34:01 +05:30
Randell Jesup
e82ae15c8c Bug 1275554: clear mImage aggressively when no longer needed r=perhsons
MozReview-Commit-ID: GNU7p3CyzjH
2016-09-21 15:49:38 -04:00
Benjamin Bouvier
692c68453b Bug 1248555: Tests only; r=sunfish
MozReview-Commit-ID: 4fudrHeZCp1

--HG--
extra : rebase_source : 0dfba02ff7b1317e016009fcc8c7d2c0708ac765
2016-09-21 19:34:32 +02:00
Benjamin Bouvier
6daeb5d468 Bug 1248555: Move {Read,Create}{I64|CustomNaN}Object into WasmJS.h; r=luke
Also unbreak non-unified build, arm64 and no-jit builds.

MozReview-Commit-ID: 5RmsNNV1iWQ

--HG--
extra : rebase_source : ee5e6ed081189de0d061c40bd355affbdba09de7
2016-09-22 11:57:15 +02:00
Benjamin Bouvier
b880d025fd Bug 1248555: Addendum: support uncanonicalized NaNs in globals too; r=luke
MozReview-Commit-ID: JKIUhXBhJRe

--HG--
extra : rebase_source : bd5dc7a4c9ad4ac483fa48cf82c283d3a39fc8fe
2016-09-21 19:18:51 +02:00
Benjamin Bouvier
484b067500 Bug 1248555: Use integers as a low-level representation of floating-point values; r=luke
MozReview-Commit-ID: 7EMMYoz3Rsb

--HG--
extra : rebase_source : c5de8746640608ba3efe5ff9272679c221c3e23b
2016-09-21 19:19:40 +02:00
Kartikaya Gupta
2c4346250c Bug 1304052 - Use the unprefixed fullscreenchange event, and register the listener in the system group. r=xidorn
MozReview-Commit-ID: DH4PrG6BKgE
2016-09-22 09:42:44 -04:00
Jon Coppeard
1295093170 Bug 1301496 - Simplify runtime check when tracing helper threads r=terrence a=decoder 2016-09-22 13:02:40 +01:00
Dão Gottwald
65d765221c Bug 1304341 - Increase opacity of icons in the main menu, identity block and control center in high-contrast mode and on Linux. r=jhofmann 2016-09-22 13:55:25 +02:00
Andrea Marchesini
fd5175f4d1 Bug 1303638 - file.webkitRelativePath must contain the leafName of the parent directory, r=smaug 2016-09-22 13:48:46 +02:00
Carsten "Tomcat" Book
ff713bf2e7 Backed out changeset 7d6f520753a2 (bug 1304341) for bustage on a CLOSED TREE 2016-09-22 13:00:15 +02:00
Jon Coppeard
b05c3b7d30 Bug 1304425 - Cancel off thread compilations by runtime or zone GC state where possible r=jandem r=terrence 2016-09-22 11:24:33 +01:00
Jon Coppeard
9514c22374 Bug 1304425 - Refactor CancelOffThreadIonCompile and make it wait for builders to cancel in parallel r=jandem 2016-09-22 11:24:33 +01:00
Dão Gottwald
00681cdead Bug 1304341 - Increase opacity of icons in the main menu, identity block and control center in high-contrast mode and on Linux. r=jhofmann 2016-09-22 12:07:38 +02:00
Carsten "Tomcat" Book
ce8c91d458 Merge mozilla-central to mozilla-inbound 2016-09-22 11:56:22 +02:00
Carsten "Tomcat" Book
d25a5baeb8 merge mozilla-inbound to mozilla-central a=merge 2016-09-22 11:55:12 +02:00
Carsten "Tomcat" Book
cce863628d merge fx-team to mozilla-central a=merge 2016-09-22 11:54:05 +02:00
David Anderson
ef0f273f0f Fix build bustage from bug 1301266 (r=CLOSED TREE) 2016-09-21 22:56:00 -07:00
David Anderson
4a10c9994a Update comment in TextureClient::AsTextureClient. (bug 1303426 part 5, r=nical)
--HG--
extra : rebase_source : 56f8addea4631c103741823b5a13a0d90308ac90
2016-09-21 22:40:21 -07:00
David Anderson
c77a418e0d Destoy TextureData even if TextureChild::ActorDestroy has already run. (bug 1303426 part 4, r=nical)
--HG--
extra : rebase_source : 8ca1eb13ac949ecf00efe821acd3fbde8cc11c7e
2016-09-21 22:40:21 -07:00
David Anderson
2255e55899 Remove the ChildActor helper class. (bug 1303426 part 3, r=nical)
--HG--
extra : rebase_source : 1b0219df4a61caedd210dd82def132accf3d3ad9
2016-09-21 22:40:20 -07:00
David Anderson
352bf5384c Fail safely if IPC has shut down during an ImageBridge shmem request. (bug 1303426 part 2, r=nical)
--HG--
extra : rebase_source : c5d46710e1dd6056b750ddbae02726d77ab0ce95
2016-09-21 22:40:20 -07:00
David Anderson
e87d2f8355 Make ipc::Shmem hold a strong reference to underlying SharedMemory. (bug 1303426 part 1, r=billm)
--HG--
extra : rebase_source : 32e182cf5fca848144f472b54a100547a3414f60
2016-09-21 22:40:20 -07:00
Matthew Gregan
269fe42c7e Bug 1304303 - Speed up default initialization of SampleInfoSize table. r=gerald
MozReview-Commit-ID: 9dValMxqVkh
2016-09-22 17:40:48 +12:00
David Anderson
14db343852 Support about:checkerboard reporting in the GPU process. (bug 1301266 part 2, r=kats) 2016-09-21 22:38:44 -07:00
David Anderson
4c2e28b8b6 Add XRE_IsGPUProcess. (bug 1301266 part 1, r=billm) 2016-09-21 22:38:40 -07:00
John Dai
18aca2998b Bug 1275838 - Implement CustomElementsRegistry get function. r=smaug, r=wchen 2016-09-21 19:40:00 -04:00
Phil Ringnalda
c9972b98e7 Backed out changeset 9b7d9479690e (bug 1304303) for gtest and mda failures
CLOSED TREE
2016-09-21 19:56:58 -07:00
Lin Clark
570ebdd0fc Bug 1304003 - Part 3: Rewrite browser_webconsole_notifications.js. r=bgrins
MozReview-Commit-ID: A58RPFsCsI4
2016-09-21 16:07:04 -07:00
Lin Clark
0bf0439772 Bug 1304003 - Part 2: Rewrite browser_webconsole_bug_579412_input_focus.js. r=bgrins
MozReview-Commit-ID: HHVtxrLlg88
2016-09-21 16:07:04 -07:00
Lin Clark
8aed77e735 Bug 1304003 - Part 1: Rewrite browser_bug_865871_variables_view_close_on_esc_key.js. r=bgrins
MozReview-Commit-ID: DHjTBSru0uu
2016-09-21 16:07:04 -07:00
Brian Grinstead
e164a44f6a Bug 1304414 - New console frontend: remove outline flicker on #output-container; r=linclark
MozReview-Commit-ID: 2aPq3JBtbwW
2016-09-21 16:07:04 -07:00
Lin Clark
89b04f6278 Bug 1304185 - Part 2: Display evaluation result errors. r=bgrins
MozReview-Commit-ID: E4xatW19czo
2016-09-21 16:07:04 -07:00
Lin Clark
758721c2e9 Bug 1304185 - Part 1: Convert evaluation result unit test to Enzyme. r=bgrins
MozReview-Commit-ID: Btpc4E7uu9P
2016-09-21 16:07:04 -07:00
Lin Clark
ddf863a8eb Bug 1303989 - New console frontend: Transfer focus to vview window on vview link click. r=bgrins
MozReview-Commit-ID: JVs6Co1DUXv
2016-09-21 16:07:03 -07:00