Commit Graph

230531 Commits

Author SHA1 Message Date
Boris Zbarsky
f44d733cd9 Bug 1134970 part 2. Add JS friend API to quickly copy properties from one object to another if the objects are similar enough. r=bhackett,waldo 2015-02-24 16:04:22 -05:00
Boris Zbarsky
c7901442ea Bug 1134970 part 1. Add JS friend API to allocate an object which is guaranteed to have no attached metadata. r=waldo 2015-02-24 16:04:22 -05:00
Boris Zbarsky
6e8c0dde7f Bug 1134969. Make DeepCloneObjectLiteral correctly handle setLastProperty failures. r=waldo 2015-02-24 16:04:22 -05:00
Boris Zbarsky
78b98314a9 Bug 1134968. If JS_NewObjectWithGivenProto is passed a null parent and null proto, use the context's current global as the parent. r=waldo 2015-02-24 16:04:22 -05:00
Boris Zbarsky
be5d835708 Bug 1135803. Take out the bits that try to handle interface types mapping to JSObject* in worker descriptors, since we never do that anymore. r=smaug 2015-02-24 16:04:22 -05:00
Boris Zbarsky
df484c4fe5 Bug 1135792. Stop assuming that every binding for a global with a non-worker descriptor is a binding for Window. r=smaug 2015-02-24 16:04:22 -05:00
Andrew McCreight
57e983a33f Bug 1073352, part 2 - Enable some devtools tests. r=ejpbruel
This enables a few of the debugger tests. The first test,
browser_dbg_aaa_run_first_leaktest.js, is intentionally disabled,
because it appears to have a legitimate leak.
2015-02-24 13:00:54 -08:00
Andrew McCreight
70d5a0bb34 Bug 1073352, part 1 - Make the DOMWINDOW and DOCSHELL leak detector work with e10s. r=jmaher
This reworks how the Mochitest DOMWINDOW and DOCSHELL leak detector works. Rather than
collecting immediately in the top-level script, it sends a message to all processes
telling them to carry out collections. Each process prints out a message when it has
finished the collections. This message is used by the test harness to decide when windows
and docshells for that process should be have been destroyed.

In non-e10s mode, the shutdown leak detector is only run in the parent process, to work
around various issues with leak detection in the thumbnail process tests.
2015-02-24 13:00:54 -08:00
Blake Kaplan
72bb2f11be Bug 1087646 - Add a test. r=smaug 2015-02-24 12:54:40 -08:00
Blake Kaplan
83919915e7 Bug 1087646 - fast-path null principal'd documents. r=mcmanus 2015-02-24 12:54:40 -08:00
Blake Kaplan
a93118acc0 Bug 1087646 - Properly serialize nullprincipal URIs across IPC. r=bzbarsky 2015-02-24 12:54:40 -08:00
Tooru Fujisawa
572c09a712 Bug 1135401 - Do not run js1_8_5/extensions/file-mapped-arraybuffers.js test if memory mapped array buffer is not supported. r=sfink 2015-02-25 05:47:01 +09:00
Gregory Szorc
193771a104 Bug 1134800 - Properly cache file matching patterns; r=glandium
The regular expression cache for mozpack.path.match was keyed off the
original pattern. However, that variable was mutated as part of the
function and the mutated result was subsequently stored as the cache
key. This effectively resulted in a 0% cache hit rate.

On some tests being written for bug 1132111 which involve a full
filesystem traversal for moz.build files and subsequent execution of
those files, the following timings are indicative of the impact of this
patch.

Before:
real 16.082s
user 14.760s
sys   1.318s

After:
real 6.345s
user 5.085s
sys  1.257s
2015-02-24 10:19:41 -08:00
Mike Conley
0dcaf1fc16 Bug 1134891 - Print progress code paths for OS X should be unreachable. r=trivial.
These code paths should never be reached, since nsPrintingPromptService returns
NS_ERROR_NOT_IMPLEMENTED for ShowProgress.

Bug 1135901 has been filed to remove this dead code entirely.
2015-02-23 18:01:52 -05:00
Mike Conley
a524282373 Bug 1134891 - Make the print progress dialog for Windows and Linux be opened by the browser window's nsIDOMWindow instead of the content window. r=smaug. 2015-02-23 17:57:25 -05:00
Ryan VanderMeulen
ff819da594 Backed out changeset cd6461410a7a (bug 1130439) for frequent SM test timeouts/failures.
CLOSED TREE
2015-02-24 15:11:08 -05:00
Jacek Caban
6abea86092 Bug 1136177 - Amount by mouse wheel scrolling is wrong. r=jimm 2015-02-24 09:07:00 -05:00
Ulrich Schoepp
8c99391bc6 Bug 1047529 - Move caller field from MResumePoint to MBasicBlock. r=nbp 2015-02-24 14:30:02 -05:00
Ryan VanderMeulen
5ce7838926 Backed out 7 changesets (bug 1075670) for e10s browser_586068-browser_state_interrupted.js crashes.
Backed out changeset 4ca74b217fe8 (bug 1075670)
Backed out changeset 83199cfc333f (bug 1075670)
Backed out changeset 065b859e6525 (bug 1075670)
Backed out changeset a3e8329610d9 (bug 1075670)
Backed out changeset ced9055e0bcc (bug 1075670)
Backed out changeset e6d6f0c11133 (bug 1075670)
Backed out changeset b823c6c95030 (bug 1075670)

CLOSED TREE
2015-02-24 11:53:34 -05:00
Michal Novotny
0ff4cae490 Bug 1055369 - Assertion failure: !handle || !handle->IsDoomed(). r=honzab
CLOSED TREE DONTBUILD
2015-02-24 11:49:46 -05:00
Ryan VanderMeulen
6076010e2a Backed out changeset 12b059c5afc2 (bug 1055369) for frequent asserts across all test suites. 2015-02-24 11:40:22 -05:00
Ryan VanderMeulen
01216a46ea Backed out changeset 12b059c5afc2 (bug 1055369) for frequent asserts across all test suites. 2015-02-24 11:40:22 -05:00
Jon Coppeard
2cced78125 Backed out changeset 4d1ffad0a2fd (bug 1133759) for octane-splay regression 2015-02-24 16:33:06 +00:00
Jonathan Watt
cb23b1c822 Bug 1073379, part 5 - Add assert_between_exclusive and assert_between_inclusive methods to impltests testharness.js. r=Ms2ger 2015-02-16 21:48:29 +00:00
Jonathan Watt
aea97895e2 Bug 1073379, part 4 - Rework the CSS animations event dispatch code to handle startTime shifting the animations back in time. r=dholbert 2015-02-13 15:58:33 +00:00
Jonathan Watt
fa1e127bb0 Bug 1073379, part 3 - Make AnimationPlayer::SetStartTime() notify its animation manager (via its player collection) of changes so that computed style is updated correctly. r=dholbert 2015-02-12 17:56:57 +00:00
Jonathan Watt
50d187e03e Bug 1073379, part 2 - Implement web-animations proceedure to 'update the player start time' and make AnimationPlayer.startTime writeable. r=birtles, r=smaug 2015-02-09 10:26:27 +00:00
Jonathan Watt
f8c2b82929 Bug 1073379, part 1 - Add an AnimationUtils::DoubleToTimeDuration helper. r=birtles 2015-02-09 10:25:51 +00:00
Chris Lord
0e0090e12b Bug 1132728 - Don't draw focus rings on b2g. r=fabrice,bz 2015-02-18 15:40:14 +00:00
Dan Gohman
010b54c1af Bug 1135903 - OdinMonkey: Check the siginfo si_code field before handling a SIGSEGV r=luke 2015-02-24 07:53:13 -08:00
Dan Gohman
43266ab465 Bug 986981 - OdinMonkey: Optimize addresses with constant offsets on x86 and x64 r=luke 2015-02-24 07:50:14 -08:00
Dan Gohman
4bd6c173d9 Bug 1122856 - OdinMonkey: Split out the flag that says "bounds checks are unneeded because of signal handling" r=luke 2015-02-24 07:50:14 -08:00
Nathan Froyd
da1dc90f92 Bug 1133201 - part 2 - don't send referrer information when opening new windows via context menu; r=Gijs,mconley
Part 1 fixed sending referrer information when opening a plain text
"link" in a new tab through the context menu.  This patch fixes the same
problem, but for the case of opening in a new window, since we take
slightly different paths through |openLinkIn| for tabs vs. windows.
2015-02-17 16:17:06 -05:00
Nathan Froyd
5c8d497188 Bug 1133201 - part 1 - treat null links in BrowserUtils.linkHasNoReferrer as specifying rel="noreferrer"; r=Gijs,mconley
It turns out that treating null links as being OK for passing along
referrer information means that we now pass referrer information for
plain text "links" that are opened via the context menu.  For referrer
information, we should take a much more conservative approach, and
declare that null links are always treated as if they had
rel="noreferrer".
2015-02-17 12:46:21 -05:00
Ting-Yu Lin
a5f85a399f Bug 1135992 - Fix non-unified build failed in nsLayoutUtils.cpp. r=botond 2015-02-24 02:16:00 -05:00
Timur Valeev
75d7ca8a53 Bug 1133846 - Add missing arguments to logging call in ActivateTimeoutTick. r=mcmanus 2015-02-24 00:57:00 -05:00
Giovanny Andres Gongora Granada
16219e8061 Bug 1118298 - Client uses unknown command property session_id. r=ato 2015-02-22 14:42:00 -05:00
David Parks
990fbd85af Bug 1075670 - Use previous function for calculating process offset. r=smaug
On B2G, the primary frame for tab content was not giving the correct process offset so we revert back to the mechanism we used to have in nsSubdocumentFrame.
2015-02-23 13:23:27 -08:00
David Parks
5ba7cdfc47 Bug 1075670 - Fix PuppetWidget calculations wrt client offset. r=smaug
Change the PuppetWidget from defining screen coordinates from tab-content-relative to being based on actual screen geometry. PuppetWidgets can have position. In the parent process, the widget has a position and a separate client position (that includes OS window chrome... on Linux and Windows as others have no chrome). In the child process, the widget (non-origin) position, whose calculation compensates for the OS window decoration.
2015-02-04 04:00:28 -08:00
David Parks
a0787612f2 Bug 1075670 - Cleanup content process widget-chrome behavior. r=smaug
Math for window chrome calculation was off on Linux. Removed redundant, and incorrect, math in favor of other better functions.
2015-01-30 15:55:27 -08:00
David Parks
7d8bc7ad68 Bug 1075670 - Remove mapScreenCoordinatesFromContent as it is legacy behavior. r=billm
mapScreenCoordinatesFromContent is now wrong, unnecessary, and gone.
2015-02-04 04:22:30 -08:00
David Parks
ca3db0ad82 Bug 1075670 - Make tooltips respect HiDPI displays. r=smaug
Tooltip math was not HiDPI-ready. Bug is exposed by this patch.
2015-01-28 16:32:46 -08:00
David Parks
90dd0b66a0 Bug 1075670 - Use MozUpdateWindowPos event to notify content process of window move. r=smaug
TabParents now register for the MozUpdateWindowPos event on the chrome TopWindowRoot. When the window is moved, the OS widget calls WindowMoved on its listener (the nsWebShellWindow), which sends a MozUpdateWindowPos event.
2015-01-26 11:45:54 -08:00
David Parks
2a04e39d53 Bug 1075670 - Make PuppetWidget::WidgetToScreenOffset use proper screen position. r=josh
PuppetWidget::WidgetToScreenOffset now reports proper widget screen location. Previously, in the content process, all widgets were defined to be located at the screen origin. This also repairs mac e10s OOP plugin coordinate calculations that would be broken by this change.
2015-02-04 04:17:15 -08:00
Michal Novotny
1b83ac3cc4 Bug 1055369 - Assertion failure: !handle || !handle->IsDoomed(), r=honzab 2015-02-24 16:09:17 +01:00
Andrea Marchesini
dec9202078 Bug 1135682 - Do not update the all MediaStreamGraph if it's not dirty, r=padenot 2015-02-24 09:59:29 -05:00
Olli Pettay
8f568bd989 Bug 1037687, load iframes in shadow DOM, r=wchen 2015-02-24 16:41:43 +02:00
Ehsan Akhgari
245c448238 Bug 1135753 - Mark some overridden virtual functions in WebRTC as MOZ_OVERRIDE; r=mt 2015-02-24 09:51:57 -05:00
Carsten "Tomcat" Book
cb0eb37585 Backed out changeset 7ff335be2c49 (bug 1047529) for causing spidermonkey test failure on a CLOSED TREE 2015-02-24 15:31:15 +01:00
Nikhil Marathe
3abd3e1e84 Bug 1085283 - Update web-platform-tests expected data. r=jgraham 2015-02-21 14:08:56 -08:00