Commit Graph

283182 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
a6ece3d0ff Backed out changeset 76c66d5a8196 (bug 1000870) 2016-02-05 13:57:31 +01:00
Carsten "Tomcat" Book
1e55cfb217 Backed out changeset c8273997b141 (bug 1000870) 2016-02-05 13:57:30 +01:00
Bas Schouten
0a1857fb7a Bug 1245870: When concluding there is nothing to draw inside the clip be sure to balance the Save() since it won't be balanced in PopGroupForlayer. r=jrmuizel 2016-02-05 13:53:45 +01:00
Jan de Mooij
ab634947a8 Bug 1245767 followup - Throw an error when gczeal argument is out of range. r=jonco on IRC 2016-02-05 12:43:24 +01:00
Jan de Mooij
fc1572a57e Bug 1245767 - Allow combining different gczeal modes. r=terrence 2016-02-05 12:21:43 +01:00
Andreas Tolfsen
a2988de8a0 Bug 1245153 - Lint testing/marionette/frame.js; r=automatedtester
There should be no functional changes here.
2016-02-03 19:41:03 +00:00
Andreas Tolfsen
7d0903fbe1 Bug 1245153 - Rename frame-manager.js to frame.js; r=automatedtester 2016-02-03 19:28:02 +00:00
Andreas Tolfsen
6ceefe3389 Bug 1245153 - Rename actions.js to action.js; r=automatedtester 2016-02-03 19:25:28 +00:00
Andreas Tolfsen
1eb876668c Bug 1245153 - Remove testing/marionette/ChromeUtils.js; r=automatedtester
This does not appear to be in use.
2016-02-03 19:18:30 +00:00
Andreas Tolfsen
8def217ad8 Bug 1245153 - Rename interactions.js to interaction.js; r=automatedtester 2016-02-03 19:15:54 +00:00
Andreas Tolfsen
f9e27810a1 Bug 1245153 - Rename elements.js to element.js; r=automatedtester 2016-02-03 19:14:10 +00:00
Andreas Tolfsen
7b7eaca0cd Bug 1245153 - Remove testing/marionette/atoms; r=automatedtester 2016-02-03 19:00:46 +00:00
Andreas Tolfsen
1e69e4dc9c Bug 1245153 - Add event.js module and remove EventUtils.js and sendkeys.js from manifest; r=automatedtester 2016-02-03 18:56:45 +00:00
Andreas Tolfsen
804f6585e7 Bug 1245153 - Employ new modules throughout Marionette; r=automatedtester
This change removes almost all the remaining uses of loadSubScript and
global scope pollution.  The only remaining use is for common.js, which
is resolved by a later bug for evaluating scripts.
2016-02-03 18:56:02 +00:00
Andreas Tolfsen
047a14f339 Bug 1245153 - Convert interactions.js and elements.js to modules; r=automatedtester
To simplify the dependency chain and reduce the number of duplicate
functions in Marionette, a number of functions have been removed from
interactions.js and added to elements.js.  This makes them more easily
re-usable and works around a circular dependency issue.
2016-02-03 18:54:23 +00:00
Andreas Tolfsen
d52690ba9d Bug 1245153 - Convert frame-manager.js to a module; r=automatedtester 2016-02-03 18:52:37 +00:00
Andreas Tolfsen
e70aa7ed10 Bug 1245153 - Convert atoms.js to a module; r=automatedtester
Through some very clever hacking of the arguments to each of the atoms,
we are able to contain this in a JS module: Atoms normally extract their
arguments directly from the function scoped `arguments' variable, but
by explicitly naming `window' as the last argument in the functions'
prototype we are able to set the `window' variable used inside.

This is obviously a big hack, but it encapsulates the atoms and we are
moving away from atoms in the long term.
2016-02-03 18:50:17 +00:00
Andreas Tolfsen
c71bce0af2 Bug 1245153 - Convert EventUtils.js to a module; r=automatedtester
testing/marionette/sendkeys.js has been merged into the
new testing/marionette/event.js module, together with
testing/marionette/EventUtils.js.

There is a lot of functionality still left in this module that we can
probably remove, as it is not in use by Marionette.
2016-02-03 18:47:08 +00:00
Andreas Tolfsen
b998d456a6 Bug 1245153 - Wrap errors before they are passed through the IPC channel; r=automatedtester
error.wrap acts as a no-op if it is passed a prototype which is already
of the WebDriverError prototypal chain.
2016-02-03 18:44:55 +00:00
Andreas Tolfsen
0ce86870fd Bug 1245153 - Add error.wrap to wrap Error prototypes; r=automatedtester
Generally, Error prototypes that are not based on WebDriverError must
be wrapped so that they can be serialised across the AsyncMessageChannel.
2016-02-03 18:43:37 +00:00
Andreas Tolfsen
76dde0f884 Bug 1245153 - error.isError must recognise built-in Error prototypes; r=automatedtester
Due to a previous programming error, error.isError only recognised
the base Error prototype.  It must also test for the other built-in
prototypes, such as TypeError et al.
2016-02-03 18:41:37 +00:00
Jon Coppeard
451417d5e9 Bug 1245520 - Add missing OOM check while doing structured clone r=sfink 2016-02-05 10:42:11 +00:00
Jon Coppeard
b5512f3ebc Bug 1245518 - Implement ModuleEnvironmentObject::getOwnPropertyDescriptor() which is called by the debugger r=shu 2016-02-05 10:42:08 +00:00
Lee Salzman
9f646e6e6c Bug 1245979 - make mfbt Function reference-counted so that it can be cheaply copied for compatibility with Skia. r=froydnj 2016-02-04 16:43:42 -05:00
Andrea Marchesini
e12bc8823e Bug 1245951 - "Unused method in WebSocket". r=smaug 2016-02-04 11:40:00 +01:00
Lee Salzman
6df289e33c Bug 1245550 - add gfx.use-glx-texture-from-pixmap pref to control whether texture_from_pixmap is used. r=nical 2016-02-03 13:05:24 -05:00
Jamie Nicol
7bbb6996af Bug 1241917 - Restrict subframe's displayport base to root composition bounds. r=tn
Previously displayport bases were computed as the intersection of the
scrollport with the dirtyrect. However the dirtyrect covers what is
rendered, and with displayports what we render can be much larger than
what is visible. With displayport bases intended to represent what was
visible, this was a problem. By restricting them to the root composition
size this makes them more closely match what is visible. To do this more
properly we'd want to intersect the dirtyrect with the scroll clip of
every ancestor scroll frame, not just the root composition bounds.
2016-02-04 17:53:56 +00:00
Nick Fitzgerald
f7fe392c14 Bug 1233857 - Follow up: Add a new GC zeal mode for the elements edges barrier; r=terrence
This commit adds gc zeal mode 12 to force the use of the individual elements
edges barrier regardless of the size of the elements. It also adds a jit-test
which uses the zeal option. Hopefully, this will let the fuzzers go to town with
the new barrier type.
2016-02-04 11:59:00 +01:00
Nick Fitzgerald
d1ee8d2506 Bug 1233857 - Teach the JIT how to put individual elements' edges in the store buffer; r=jandem
This commit teaches IonMonkey how to put individual array elements' edges in the
store buffer, rather than using the whole cell buffer. This alleviates
perfomance cliffs where there are very large arrays in the tenured heap and then
the mutator adds a relatively small number of edges from this array into the
nursery. With the whole cell buffer, which was used previously, a nursery
collection would need to trace the whole large array. With this patch, only
the modified edges need by traced.
2016-02-04 11:18:00 +01:00
Nils Ohlmeier [:drno]
ed0be7dfd8 Bug 1224845 - close sockets on errors and don't connect to IPv4 TURN TCP from IPv6 sockets. r=jesup 2016-01-28 10:53:56 -08:00
Brendan Dahl
72d43e29b3 Bug 1104916 - Implement CSS media query display-mode. r=cam 2016-02-04 13:34:00 +01:00
Lebedev Maksim
b5c92fbf29 Bug 1000870 - Change official tests for pointer events to auto mochitest system. r=smaug 2016-02-03 05:06:00 +01:00
Maksim Lebedev
72e63b8159 Bug 1000870 - Add some features in testing system. r=smaug 2015-05-19 07:03:00 +02:00
Maksim Lebedev
790d83ccdd Bug 1000870 - Add original official tests from W3C at 2015.03.01. r=smaug 2015-03-31 07:02:00 +02:00
Carsten "Tomcat" Book
7d86d076e8 Backed out changeset 0e3ca319b742 (bug 1244017) for reftest failures 2016-02-05 11:19:25 +01:00
Carsten "Tomcat" Book
14af904d45 Backed out changeset 2257088c6b04 (bug 1188802) 2016-02-05 11:19:11 +01:00
Mike Hommey
27d102f477 Bug 1245764 - Move Windows RTL flags (-MD/-MT) flags out of config.mk. r=gps 2016-02-05 17:30:34 +09:00
John Daggett
544130b650 Bug 1188802 - only rebuild local webfont rules when needed. r=heycam 2016-02-05 16:46:27 +09:00
John Daggett
97c5578cb5 Bug 1244017 - remove system font cascade for OSX. r=m_kato 2016-02-05 16:46:05 +09:00
Carsten "Tomcat" Book
8631b41ea8 Backed out changeset 0d358cdf1ce4 (bug 1237458) for bustage 2016-02-05 08:13:50 +01:00
Bill McCloskey
d15a2fcb64 Bug 1210099 - Fix structured clone of expanded principal (r=bholley) 2016-02-04 22:30:21 -08:00
Bill McCloskey
c566d4123c Bug 1210099 - Use diagnostic assert for union discriminator checks (r=jld) 2016-02-04 22:30:06 -08:00
Bill McCloskey
7eaea4b349 Bug 1237458 - Use MOZ_RELEASE_ASSERT for IPC assertions (r=jld) 2016-02-04 22:29:05 -08:00
Cameron McCormack
33d7d1febc Bug 1244595 - Don't check whether shorthands are non-animatable when parsing JS keyframe objects. r=birtles 2016-02-05 08:56:11 +11:00
Rudolfs Bundulis
07c31f2daa Bug 1235427: [mp4] Properly parse tfhd box. r=jya 2016-02-05 16:09:37 +11:00
Jesse Ruderman
2dcb29c344 Bug 1244948 - silence the 'loaded script twice' warning. r=bz 2016-02-04 20:43:17 -08:00
Jean-Yves Avenard
5f96837fbb Bug 1244639: P2. Don't clamp audio time to seek time if there's no video track. r=cpearce
This remove the need for working around the MP3 decoder returning decoded frames in the future.
2016-02-05 14:53:58 +11:00
Jean-Yves Avenard
5ed283f651 Bug 1244639: P1. Don't assume MP3 decoding always starts at 0. r=cpearce
This remove the MP3 workaround for the mac decoder that was added in bug 1194080.
2016-02-05 14:53:58 +11:00
Nicholas Nethercote
23b3423e06 Bug 1245761 (part 2) - Measure JIT compartments. r=jandem. 2016-02-04 17:36:06 +11:00
Nicholas Nethercote
4f55dd83c8 Bug 1245761 (part 1) - Actually report the nonSyntacticLexicalScopesTable measurement. r=shu.
Bug 1202902 added the measurement, but failed to add code to report it. Whoops.
2016-02-04 17:34:04 +11:00