Commit Graph

486806 Commits

Author SHA1 Message Date
Sebastian Hengst
765223d123 Backed out changeset ca7b62d9efb7 (bug 1293845) 2016-08-13 12:38:25 +02:00
Sebastian Hengst
78c59974bb Backed out changeset b2cad6d22d75 (bug 1293845) 2016-08-13 12:38:21 +02:00
Sebastian Hengst
d8a319fe07 Backed out changeset 2b9a31603e34 (bug 1293845) 2016-08-13 12:38:17 +02:00
Tooru Fujisawa
0d2445332d Bug 1294102 followup - Fix reftest.list syntax. r=bustage 2016-08-13 18:30:23 +09:00
Tooru Fujisawa
f313312659 Bug 1291488 - Do not apply |margin: 0px| and |padding: 0px| to text-link outside of description in about dialog. r=dao 2016-08-13 15:34:57 +09:00
Tooru Fujisawa
b9da2b39b7 Bug 1294102 - Use the original height that is not affected by the top to decide the button style on OSX. r=mstange 2016-08-13 15:34:57 +09:00
Robert Strong
f829bffa9d Bug 1287176 test code - Status file not written for staging errors. r=mhowell 2016-08-12 22:52:45 -07:00
Robert Strong
fffeb50078 Bug 1287176 client code - Status file not written for staging errors. r=mhowell 2016-08-12 22:52:24 -07:00
Jim Chen
ac1b87c36f Bug 1292323 - Optimize native call dispatching; r=snorp
Refactor the dispatching code to be more streamlined, and add two
optimizations to the way we dispatch a call:

* avoid a pair of unnecessary calls to add/delete the global class ref,
  when dispatching a static call to the Gecko thread without a class ref
  parameter.

* avoid an extra allocation when dispatching to a proxy function.
2016-08-12 23:15:53 -04:00
Jim Chen
0ca0344ec2 Bug 1292323 - Merge NativeStubImpl into NativeStub; r=snorp
Merge all the NativeStubImpl specializations in jni/Natives.h into one
NativeStub, which makes it more organized and facilitates code sharing.
2016-08-12 23:15:53 -04:00
Jim Chen
347603e672 Bug 1292323 - Update usage of UsesNativeCallProxy; r=snorp
Remove uses of UsesNativeCallProxy and UsesGeckoThreadProxy, now that
they are not needed.

Remove cases where we had to invoke a call in a proxy, because the call
is now specified to be invoked directly in the WrapForJNI annotation,
without the need to go through the proxy.

For SmsManager and AlarmReceiver, we no longer need to manually dispatch
everything to the Gecko thread because that's now handled automatically.
2016-08-12 23:15:53 -04:00
Jim Chen
36628f0198 Bug 1292323 - Implement JNI thread checking and dispatching; r=snorp
Implement checking the calling thread of a JNI call based on the
calledFrom attribute set in WrapForJNI. Also implement automatic call
dispatching based on the dispatchTo attribute set in WrapForJNI. This
eliminates the use of UsesNativeCallProxy and UsesGeckoThreadProxy.
2016-08-12 23:15:52 -04:00
Jim Chen
7b6a176b60 Bug 1292323 - Update auto-generated bindings; r=me 2016-08-12 23:15:52 -04:00
Jim Chen
0bd1b97d16 Bug 1292323 - Update annotationProcessor to reflect WrapForJNI changes; r=snorp
Update the code generator and related classes in annotation processor to
use the new WrapForJNI flags. Also add some more sanity checking to make
sure the flags are used correctly.
2016-08-12 23:15:52 -04:00
Jim Chen
c800eaab74 Bug 1292323 - Update WrapForJNI usages; r=snorp
Replace old flags in WrapForJNI usages with new flags. The calledFrom
and dispatchTo flags are set based on whether the method is native or
non-native, and how the method is used.

Also fix testEventDipatcher to respect NativeJSObject's calledFrom =
"gekco" flag, by moving a test to Gecko thread.
2016-08-12 23:15:52 -04:00
Jim Chen
4840d7e831 Bug 1292323 - Clean up WrapForJNI and add calledFrom and dispatchTo attributes; r=snorp
WrapForJNI has some flags that are obsolete or confusing. Clean it up so
that there are fewer but more meaningful flags. Add a "calledFrom" flag
to indicate the intended calling thread and add a "dispatchTo" flag to
indicate where a method call may be automatically dispatched.
2016-08-12 23:15:52 -04:00
Jim Chen
75ce4d9aaa Bug 1292323 - Move Java UI thread registration to mozglue; r=snorp
We need to register the Java UI thread in native code very early in the
startup process, before libxul registers its JNI entry points. So it
makes sense to register the Java UI thread in mozglue.
2016-08-12 23:15:52 -04:00
Sander Mathijs van Veen
a53ae2d4c6 Bug 1293258 - AddressSanitizer: attempting double-free on 0x614000342640 [@ __interceptor_free] or Crash [@ jemalloc_crash] with TypedArray. r=jandem
--HG--
extra : amend_source : 686366337724968374c1a981e1031a02b7ede964
2016-08-12 21:38:45 -04:00
Glenn Randers-Pehrson
dc0ab41166 Bug 1288588 - Exit on bad CRC in fcTL or fdAT chunk in an APNG file. r=jrmuizel 2016-08-12 21:31:31 -04:00
Jeff Gilbert
6434d6daf4 Bug 1293845 - Update tests to handle new webidl.
MozReview-Commit-ID: 7hcluLAw7gx
2016-08-12 18:08:00 -07:00
Jeff Gilbert
70dfbdbec9 Bug 1293845 - Handle zero-size TexSubImage. - r=mtseng
MozReview-Commit-ID: J4cT3oqPTLa
2016-08-12 18:07:57 -07:00
Jeff Gilbert
fb75e3bc05 Bug 1293845 - Repair texture bindings->internals glue. - r=mtseng
MozReview-Commit-ID: CUDQGwhPTuU
2016-08-12 18:07:54 -07:00
Jeff Gilbert
9b18a330b4 Bug 1293845 - Update webidl to be forward-compatible with final webgl2 webidl. - r=mrbkap
MozReview-Commit-ID: DrUZODpNSml
2016-08-12 18:07:51 -07:00
Jeff Walden
0c5ac6c90f Bug 1294537 - Don't tag |void* p| in the don't-nullcheck placement operator new overload as MOZ_NONNULL, because that makes a double-checking assertion of non-nullness into a compiler warning. r=froydnj
--HG--
extra : rebase_source : b53a1c5dce924ea030f54bb41e13baf27cd3d823
2016-08-12 18:02:03 -07:00
Jeff Gilbert
843dfc0dea Bug 1290634 - Handle out-of-bounds copyTexImage on D3D9 ANGLE. - r=jerry
MozReview-Commit-ID: DLqI714FBuv
2016-08-12 17:48:17 -07:00
Jeff Gilbert
7129a3b287 Bug 1290634 - Use idealUnpack with CopyTexImage, and always respec now that ZeroTextureData doesn't support respec. - r=mtseng
MozReview-Commit-ID: HYzTfzLxF3X
2016-08-12 17:48:14 -07:00
Jeff Gilbert
02edeadd27 Bug 1290634 - Remove unnecessary respecifyTexture arg from ZeroTextureData. - r=mtseng
MozReview-Commit-ID: 52VirsA4eCQ
2016-08-12 17:48:11 -07:00
Wes Kocher
b1e2d2ad52 Merge m-c to inbound, a=merge 2016-08-12 16:29:24 -07:00
Wes Kocher
b44cee8b2a Merge fx-team to central, a=merge CLOSED TREE 2016-08-12 14:37:49 -07:00
Wes Kocher
e9097643d5 Merge inbound to central, a=merge 2016-08-12 13:44:29 -07:00
Wes Kocher
12b12b37dc Merge autoland to central, a=merge 2016-08-12 09:45:06 -07:00
Alexander Surkov
0a78fab1e3 Bug 1294086 - remove debugging printf 2016-08-12 10:20:45 -04:00
Florian Quèze
d99b80b960 Bug 1294680 - instrument the 'Settings page' button, r=past. 2016-08-12 16:16:41 +02:00
Florian Quèze
dcc99335f3 Bug 1294680 - remove the engine drop down, r=past. 2016-08-12 16:16:39 +02:00
J. Ryan Stinnett
67d38931a7 Bug 1250171 - Remove *_PER_USER_FLAG probes from DevTools. r=clarkbw
MozReview-Commit-ID: 2nZxPYrKKai
2016-08-12 06:24:14 -05:00
Jan de Mooij
536f87ca97 Bug 1294404 - Merge PerThreadDataFriendFields and ContextFriendFields, clean up APIs. r=terrence,bz 2016-08-12 11:39:16 +02:00
Heiher
d1eb5b4c7b Bug 1294367 - IonMonkey: MIPS: Move result after overflow checking passed. r=arai
---
 js/src/jit/mips-shared/CodeGenerator-mips-shared.cpp  | 4 ++--
 js/src/jit/mips-shared/MacroAssembler-mips-shared.cpp | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
2016-08-12 16:08:40 +08:00
Heiher
90d9b8ce1d Bug 1294367 - IonMonkey: MIPS: Move as_lui into logical instructions section. r=hwj
---
 js/src/jit/mips-shared/Assembler-mips-shared.cpp | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
2016-08-12 16:08:35 +08:00
Heiher
0aa02836dd Bug 1294367 - IonMonkey: MIPS: Cleanup unused function ma_mult. r=hwj
---
 js/src/jit/mips-shared/MacroAssembler-mips-shared.cpp | 7 -------
 js/src/jit/mips-shared/MacroAssembler-mips-shared.h   | 1 -
 2 files changed, 8 deletions(-)
2016-08-12 16:08:30 +08:00
Wes Kocher
b92ae9a263 Backed out changeset 626f8cc8b7bc (bug 1268962) for causing bug 1268962 a=backout 2016-08-11 13:49:25 -07:00
Dave Townsend
958533ac14 Bug 1294483: Centralise where we check for correct signing state and make the checks more obvious. r=rhelmer
--HG--
extra : rebase_source : eb94721a22ffbb1b70ef614f9585595eb60ec72f
extra : amend_source : 724a557eda6b1663caa961fa745e80a7ab98ec6f
2016-08-11 11:45:06 -07:00
Drew Willcoxon
c1331f5412 Bug 1294509 - Enable browser_thumbnails_bg_crash_during_capture.js on e10s. r=markh
MozReview-Commit-ID: 6cVbhXWdS0X
2016-08-11 20:12:38 -07:00
Christoph Kerschbaumer
f2589e5050 Bug 1294411 - Update XCTO: nosniff implementation to accept images which content type starts with 'image/'. r=dveditz 2016-08-11 14:49:02 +02:00
Wes Kocher
45e888ff26 Merge fx-team to central, a=merge 2016-08-10 16:53:40 -07:00
Wes Kocher
fa1a1180c4 Merge autoland to central, a=merge 2016-08-10 16:29:26 -07:00
Wes Kocher
bd62f08814 Merge inbound to central, a=merge 2016-08-10 16:15:17 -07:00
Wes Kocher
46da1ae628 Backed out changeset cc88b920a387 (bug 1278957) for making browser_notifications.js permafail on linux64 debug a=backout CLOSED TREE 2016-08-10 15:36:45 -07:00
Georg Fritzsche
f912d82001 Bug 1294018 - Part 2 - Update histogram whitelists to pass the new checks. r=chutten 2016-08-10 18:23:44 +02:00
Georg Fritzsche
28e83aca81 Bug 1294018 - Part 1 - Enforce whitelist updates on Histograms.json changes. r=chutten 2016-08-10 18:23:43 +02:00
James Long
a5d5d3643d Bug 1294103 - Load source-map and pretty-print workers in new debugger r=me 2016-08-10 11:59:24 -04:00