Commit Graph

460695 Commits

Author SHA1 Message Date
Andreas Tolfsen
0414e11cb2 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.

--HG--
extra : commitid : 8XlX4zVZQUN
extra : rebase_source : b5420c4ba5298a7e972e7b14a13325bb8ea1a540
extra : histedit_source : 70f70a8aeffef3fca18addfa3fca575a9128e11a
2016-02-03 18:56:02 +00:00
Andreas Tolfsen
2d7e73d027 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.

--HG--
extra : commitid : BTgnO71SGbB
extra : rebase_source : 8198bdfa36ce4068683950051089843e4f914f3f
extra : histedit_source : 06b82234371ca8cd6bb0ede9cbf03f848fc66d82
2016-02-03 18:54:23 +00:00
Andreas Tolfsen
bca1dc7af9 Bug 1245153 - Convert frame-manager.js to a module; r=automatedtester
--HG--
extra : commitid : 17ftSZYTuNL
extra : rebase_source : b9a81d5a939e2045c1dd25d0069d3ca57dddae45
extra : histedit_source : f2b002f19e5d50378bff47939884a1dbd8d774b5
2016-02-03 18:52:37 +00:00
Andreas Tolfsen
29762c7812 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.

--HG--
extra : commitid : 6AkmEPFP2Y4
extra : rebase_source : 09b488a1ca646d6eef5b98c827c02613df62f3ce
extra : histedit_source : aaa2005b8872127d8314fd6ad5c15b91d09555b9
2016-02-03 18:50:17 +00:00
Andreas Tolfsen
3eeb0c43fa 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.

--HG--
rename : testing/marionette/EventUtils.js => testing/marionette/event.js
extra : commitid : GvNeDeClc50
extra : rebase_source : 1390ceea688286318504c211ecfd34aa96725cdd
extra : histedit_source : f2fea53f3c7a5f49d1f0ef6f2bef4b98aa3566f2
2016-02-03 18:47:08 +00:00
Andreas Tolfsen
243232cb77 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.

--HG--
extra : commitid : HObqpKV7a9s
extra : rebase_source : 04b8d3d9f1ebb563b2258231e3d34f9c1c2883ae
extra : histedit_source : a6e620e3e4b6bfa4e1d77df48eaab59ffbc3cdce
2016-02-03 18:44:55 +00:00
Andreas Tolfsen
d2259a00f8 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.

--HG--
extra : commitid : 825ScXhXQSy
extra : rebase_source : c525b539b5139d479ea562614c26e46d3fb01bb8
extra : histedit_source : c35a686b6b9cea4ae50d0d63223f4cdde6f6e4a2
2016-02-03 18:43:37 +00:00
Andreas Tolfsen
1a77effa7d 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.

--HG--
extra : commitid : F50Xhg2Q86e
extra : rebase_source : 3f757bf9667763718d54fcb6912156bcdcd9e787
extra : histedit_source : 77fd0e6b6471b18528c27954e6348f93fc520d64
2016-02-03 18:41:37 +00:00
Jon Coppeard
02246b8b4e Bug 1245520 - Add missing OOM check while doing structured clone r=sfink 2016-02-05 10:42:11 +00:00
Jon Coppeard
a4abcc5186 Bug 1245518 - Implement ModuleEnvironmentObject::getOwnPropertyDescriptor() which is called by the debugger r=shu 2016-02-05 10:42:08 +00:00
Lee Salzman
b607eb03af 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
b1ed8d2fbf Bug 1245951 - "Unused method in WebSocket". r=smaug 2016-02-04 11:40:00 +01:00
Lee Salzman
4729f64a2a 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
d412b3daee 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
3585a95d3a 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
3848b675fa 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]
59d2466489 Bug 1224845 - close sockets on errors and don't connect to IPv4 TURN TCP from IPv6 sockets. r=jesup
--HG--
extra : transplant_source : %9Eg%1E%E0%B9%0E%5Eh%3EJK8uk%91s%EC%11I%17
2016-01-28 10:53:56 -08:00
Brendan Dahl
b25b48552b Bug 1104916 - Implement CSS media query display-mode. r=cam 2016-02-04 13:34:00 +01:00
Lebedev Maksim
cb152c2f1d Bug 1000870 - Change official tests for pointer events to auto mochitest system. r=smaug 2016-02-03 05:06:00 +01:00
Maksim Lebedev
75f766038d Bug 1000870 - Add some features in testing system. r=smaug 2015-05-19 07:03:00 +02:00
Maksim Lebedev
fb06661214 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
c797ca6392 Backed out changeset 0e3ca319b742 (bug 1244017) for reftest failures 2016-02-05 11:19:25 +01:00
Carsten "Tomcat" Book
745be97723 Backed out changeset 2257088c6b04 (bug 1188802) 2016-02-05 11:19:11 +01:00
Mike Hommey
dded38c2fe 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
a4c7835ada Bug 1188802 - only rebuild local webfont rules when needed. r=heycam 2016-02-05 16:46:27 +09:00
John Daggett
debbbb10f6 Bug 1244017 - remove system font cascade for OSX. r=m_kato 2016-02-05 16:46:05 +09:00
Carsten "Tomcat" Book
dfa1a3c8c7 Backed out changeset 0d358cdf1ce4 (bug 1237458) for bustage 2016-02-05 08:13:50 +01:00
Bill McCloskey
d70c91802b Bug 1210099 - Fix structured clone of expanded principal (r=bholley) 2016-02-04 22:30:21 -08:00
Bill McCloskey
c08caf0331 Bug 1210099 - Use diagnostic assert for union discriminator checks (r=jld) 2016-02-04 22:30:06 -08:00
Bill McCloskey
fa01fbff59 Bug 1237458 - Use MOZ_RELEASE_ASSERT for IPC assertions (r=jld) 2016-02-04 22:29:05 -08:00
Cameron McCormack
02cfaf41a1 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
6d6414c23e Bug 1235427: [mp4] Properly parse tfhd box. r=jya 2016-02-05 16:09:37 +11:00
Jesse Ruderman
ca10ca8bdf Bug 1244948 - silence the 'loaded script twice' warning. r=bz 2016-02-04 20:43:17 -08:00
Jean-Yves Avenard
944fc9f31d 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
6194838634 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
3a94c4149a Bug 1245761 (part 2) - Measure JIT compartments. r=jandem.
--HG--
extra : rebase_source : cc6d1c57306405cdaada9ff876256b8eb2dad03f
2016-02-04 17:36:06 +11:00
Nicholas Nethercote
e58e7cfd62 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.

--HG--
extra : rebase_source : 6721ade1c832379251c687543d1462d060b62ac5
2016-02-04 17:34:04 +11:00
Chris Manchester
8d867f3c62 Bug 1240059 - Treat psutil as optional in record_resource_usage. r=gps
--HG--
extra : commitid : luOomgRgcQ
2016-02-03 20:37:12 -08:00
Luke Wagner
592b12bb62 Bug 1244405 - Baldr: add memory segments (r=sunfish)
--HG--
extra : commitid : Fh6jzOXnO10
2016-02-04 21:39:18 -06:00
Luke Wagner
c7732e8015 Bug 1244405 - Baldr: add memory exports (r=bbouvier)
--HG--
extra : commitid : KZplDtVzrsM
2016-02-04 21:39:18 -06:00
Luke Wagner
ec4cc3331f Bug 1244405 - Baldr: add memory section (r=bbouvier)
--HG--
extra : commitid : 4tOq9bJPjsM
2016-02-04 21:39:18 -06:00
Luke Wagner
904d4025af Bug 1244405 - Baldr: fix wasm function export name (r=bbouvier)
--HG--
extra : commitid : ENsr1Kk763d
2016-02-04 21:39:13 -06:00
Luke Wagner
e3155ac2ba Bug 1244405 - Odin: refactor ArrayBufferObject::createForWasm out of prepareForAsmJS (r=bbouvier)
--HG--
extra : commitid : 4AqlsoyxJtM
2016-02-04 21:37:00 -06:00
Luke Wagner
9d91571b05 Bug 1244405 - Odin: switch to dynamic page size, move heap constants to Wasm (r=bbouvier)
--HG--
extra : commitid : D0f5euJJeuK
2016-02-04 21:37:00 -06:00
Phil Ringnalda
7e2cefc94c Merge m-c to m-i 2016-02-04 19:26:14 -08:00
JW Wang
4a525dc7dd Bug 1245542 - I suspect AudioData::mAudioData/mFrames are poisoned when sample format doesn't match the metadata. Let's ignore these samples to see if crash volume can be reduced. r=kinetik. 2016-02-05 10:19:12 +08:00
Hiroyuki Ikezoe
c35622c465 Bug 1239889 part 2 - Test for an animation target without a current document; r=birtles 2016-02-05 14:11:04 +11:00
Brian Birtles
73e4706ab3 Bug 1239889 part 1 - Throw if the animation target does not have a current document; r=heycam
This is just a temporary measure to avoid a failed assertion / crash until we
fix bug 1245748.
2016-02-05 14:11:04 +11:00
Jonathan Howard
195c5660d9 Bug 1241931 - On shutdown stop any ongoing loading of fonts; GDI in particular. r=jdaggett 2016-02-05 10:24:00 +09:00
Wes Kocher
688614d3d2 Backed out changeset 65e246baede4 (bug 1242641) for valgrind bustage CLOSED TREE
--HG--
extra : commitid : 1sQ76xShsLg
2016-02-04 11:42:34 -08:00