Commit Graph

492473 Commits

Author SHA1 Message Date
Andrea Marchesini
0563a867cb Bug 1299686 - Fix crash in nsScriptLoader.cpp. r=smaug
--HG--
extra : rebase_source : 9ba5328cd6d907dec2a4c95b5d557cad0317e44e
2016-09-22 16:58:46 -04:00
Jim Chen
e4e57ddb6e Bug 1304145 - 6. Update auto-generated bindings; r=me 2016-09-22 16:38:20 -04:00
Jim Chen
7ffb25ebc2 Bug 1304145 - 5. Implement NotificationListener in NotificationClient; r=nalexander
Provide Fennec's implementation of GeckoAppShell.NotificationListener in
NotificationClient. A lot of the code was removed in an earlier patch
from GeckoAppShell, so combined with this patch, we're essentially
moving code from GeckoAppShell to NotificationClient.
2016-09-22 16:38:19 -04:00
Jim Chen
ea53af2ebc Bug 1304145 - 4. Use string names instead of integer IDs for notifications; r=nalexander
Use string names instead of integer IDs to identify notifications. The
integer IDs came from the hashes of the string names, so they are not
guaranteed to be unique. Because the names from Gecko are a combination
of the site origin and notification tag, there can be unintentional
collisions, or worse, a site can intentionally make its notification
collide with and replace another site's notification.
2016-09-22 16:38:19 -04:00
Jim Chen
0841d97060 Bug 1304145 - 3. Move GeckoService and notification package to Fennec; r=nalexander
GeckoService and the notification package have some interdependencies,
so if we want to move the notification package, we have to move
GeckoService also. With that said, it's good to move GeckoService in any
case, because it's a Fennec component just like GeckoApp.

--HG--
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoService.java => mobile/android/base/java/org/mozilla/gecko/GeckoService.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/notifications/AppNotificationClient.java => mobile/android/base/java/org/mozilla/gecko/notifications/AppNotificationClient.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/notifications/NotificationClient.java => mobile/android/base/java/org/mozilla/gecko/notifications/NotificationClient.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/notifications/NotificationHandler.java => mobile/android/base/java/org/mozilla/gecko/notifications/NotificationHandler.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/notifications/NotificationHelper.java => mobile/android/base/java/org/mozilla/gecko/notifications/NotificationHelper.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/notifications/NotificationReceiver.java => mobile/android/base/java/org/mozilla/gecko/notifications/NotificationReceiver.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/notifications/NotificationService.java => mobile/android/base/java/org/mozilla/gecko/notifications/NotificationService.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/notifications/ServiceNotificationClient.java => mobile/android/base/java/org/mozilla/gecko/notifications/ServiceNotificationClient.java
2016-09-22 16:38:19 -04:00
Jim Chen
ae3538f775 Bug 1304145 - 2. Change GeckoAppShell's notification interface; r=nalexander
Instead of using NotificationClient directly from GeckoAppShell, add a
NotificationListener interface, which NotificationClient would
implement. This isolates NotificationClient (and the notification
package) from GeckoAppShell and lets us move the notification package to
Fennec. It also makes a cleaner interface for GeckoView consumers to
implement notification support.
2016-09-22 16:38:19 -04:00
Jim Chen
a513529b7c Bug 1304145 - 1. Restrict access for GeckoAppShell JNI methods; r=nalexander
General cleanup patch: make JNI methods in GeckoAppShell private if
possible, because they're not meant to be used in Java from outside of
GeckoAppShell.
2016-09-22 16:38:19 -04:00
Kartikaya Gupta
2a997eb496 Bug 1304694 - Fix windows builds which don't have MOZ_STACKWALKING defined. r=froydnj
MozReview-Commit-ID: I1UIlVWbu9T
2016-09-22 16:21:56 -04:00
Shu-yu Guo
ce5eebf5d8 Bug 1303118 - Fix 'this' computation for Debugger.Frame.evalWithBindings. (r=efaust) 2016-09-22 12:42:37 -07:00
Kai Engert
c4ae869e28 Bug 1296266, land NSS_3_27_BETA4, r=franziskus 2016-09-22 21:21:30 +02:00
Felipe Gomes
e98a6cf869 Bug 1304164 - Bump e10srollout version to 1.3. r=mconley
MozReview-Commit-ID: J1X3TNOaqN
2016-09-22 15:55:11 -03:00
Felipe Gomes
bb0e889212 Bug 1304164 - Temporarily disable e10s for users on the Russian locale. r=mconley
MozReview-Commit-ID: FDkbVkzZhJH
2016-09-22 15:55:11 -03:00
Felipe Gomes
bdd586f2e9 Bug 1304164 - Allow the e10srollout system add-on to control temporary disqualifications. r=mconley
MozReview-Commit-ID: Lm6PqVe5eb1
2016-09-22 15:55:11 -03:00
Kartikaya Gupta
0e04f56656 Bug 1304729 - When transitioning from a pinch to a pan, make sure we start the pan with the correct coordinates. r=botond
MozReview-Commit-ID: CC4gPT2jubR
2016-09-22 14:54:01 -04:00
Kartikaya Gupta
83607aede9 Bug 1304729 - Ensure we schedule a composite if we change the scroll position during a pinch gesture with no zoom change. r=botond
MozReview-Commit-ID: AF2aoJZ1ssG
2016-09-22 14:53:56 -04:00
Andrew Swan
fa088e54e9 Bug 1303418 Follow-up to fix fat-fingered graft r=me
MozReview-Commit-ID: K560xfnlbhD

--HG--
extra : rebase_source : 204d8caf40ffa2530a7d9a3710c0dc12b850702e
2016-09-22 10:49:55 -07:00
Andrew Osmond
827be06e62 Bug 1007702 - Enable skia on nighly for unaccelerated windows. r=lsalzman 2016-09-21 13:51:51 -04:00
Ehsan Akhgari
9d56bec7a1 Bug 1297687 - Part 5: Require passing an OriginAttribute when constructing an nsExpandedPrincipal; r=bholley 2016-09-22 13:28:04 -04:00
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