Sylvestre Ledru
4e9cf83ee8
Bug 1378712 - Remove all trailing whitespaces r=Ehsan
...
MozReview-Commit-ID: Kdz2xtTF9EG
--HG--
extra : rebase_source : 7235b3802f25bab29a8c6ba40a181a722f3df0ce
2017-07-06 14:00:35 +02:00
Christoph Kerschbaumer
2ad43ee9bd
Bug 1364016 - Explicitly pass a triggeringPrincipal to openURI. r=gijs,baku
2017-07-05 21:58:21 +02:00
Bill McCloskey
f115503a0b
Bug 1372405
- Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
Nicholas Nethercote
58786e1ea7
Bug 1375392 - Tweak the PROFILER_LABEL* macros. r=mstange.
...
This patch makes the following changes to the macros.
- Removes PROFILER_LABEL_FUNC. It's only suitable for use in functions outside
classes, due to PROFILER_FUNCTION_NAME not getting class names, and it was
mostly misused.
- Removes PROFILER_FUNCTION_NAME. It's no longer used, and __func__ is
universally available now anyway.
- Combines the first two string literal arguments of PROFILER_LABEL and
PROFILER_LABEL_DYNAMIC into a single argument. There was no good reason for
them to be separate, and it forced a '::' in the label, which isn't always
appropriate. Also, the meaning of the "name_space" argument was interpreted
in an interesting variety of ways.
- Adds an "AUTO_" prefix to PROFILER_LABEL and PROFILER_LABEL_DYNAMIC, to make
it clearer they construct RAII objects rather than just being function calls.
(I myself have screwed up the scoping because of this in the past.)
- Fills in the 'js::ProfileEntry::Category::' qualifier within the macro, so
the caller doesn't need to. This makes a *lot* more of the uses fit onto a
single line.
The patch also makes the following changes to the macro uses (beyond those
required by the changes described above).
- Fixes a bunch of labels that had gotten out of sync with the name of the
class and/or function that encloses them.
- Removes a useless PROFILER_LABEL use within a trivial scope in
EventStateManager::DispatchMouseOrPointerEvent(). It clearly wasn't serving
any useful purpose. It also serves as extra evidence that the AUTO_ prefix is
a good idea.
- Tweaks DecodePool::SyncRunIf{Preferred,Possible} so that the labelling is
done within them, instead of at their callsites, because that's a more
standard way of doing things.
--HG--
extra : rebase_source : 318d1bc6fc1425a94aacbf489dd46e4f83211de4
2017-06-22 17:08:53 +10:00
Carsten "Tomcat" Book
8a1350b5a6
Backed out changeset 4f6302a98ae4 (bug 1372405
)
...
--HG--
extra : rebase_source : 41632f3158e88e692809731394a683d065a73dfb
2017-06-21 13:59:26 +02:00
Edgar Chen
273f4b0c7e
Bug 1236512 - Part 1: Send "occlusionstatechange" custom event when occlusion state in Mac is changed; f=spohl; r=mstange
...
MozReview-Commit-ID: GTBeH4UwZiU
2017-05-26 18:09:34 +08:00
Bill McCloskey
6b3e84ed5f
Bug 1372405
- Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-20 21:44:11 -07:00
Carsten "Tomcat" Book
e5d9b2a520
Backed out changeset 844d46609652 (bug 1236512) for test failures in own test
2017-06-20 14:30:54 +02:00
Edgar Chen
244552c6fd
Bug 1236512 - Part 1: Send "occlusionstatechange" custom event when occlusion state in Mac is changed; f=spohl; r=mstange
...
MozReview-Commit-ID: GTBeH4UwZiU
2017-05-26 18:09:34 +08:00
Carsten "Tomcat" Book
ea1b86680c
Backed out changeset 9846de3bd954 (bug 1372405
)
...
--HG--
extra : rebase_source : 5d4a48e8ec394c329994689d938d2a6e9b2752b0
2017-06-20 08:27:02 +02:00
Bill McCloskey
4592152411
Bug 1372405
- Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07:00
Christoph Kerschbaumer
0944826c8a
Bug 1363975 - Have loadOneTab() provide the correct triggeringPrincipal. r=gijs,smaug
2017-05-31 20:59:02 +02:00
L. David Baron
9db5b202cc
Bug 1367830 - Mark hidden window as inactive. r=mystor
...
MozReview-Commit-ID: GJOFjU6WcfG
--HG--
extra : rebase_source : aab0a239b733b9256a7ef398e18fc8accaa91cfd
2017-05-26 13:53:52 -04:00
L. David Baron
67d6f6f7b8
Bug 1367830 - Refactor to share more code between private and non-private hidden window creation. r=mystor
...
MozReview-Commit-ID: 8NZPbcJtvsE
--HG--
extra : rebase_source : 24cdff62dde36e9c9c982557d9c95967eee87d12
2017-05-26 13:49:51 -04:00
Eric Rahm
0b39451aa9
Bug 1307212 - Stop warning about z-levels. r=froydnj
...
MozReview-Commit-ID: 2OughbymcrU
2017-05-23 15:14:07 -07:00
Nathan Froyd
c1d1748428
Bug 1359490 - add an event loop spinning abstraction function; r=gerald
...
This function is arguably nicer than calling NS_ProcessNextEvent
manually, is slightly more efficient, and will enable better auditing
for NS_ProcessNextEvent when we do Quantum DOM scheduling changes.
2017-05-15 09:34:19 -04:00
Milan Sreckovic
725d1c193f
Bug 1358297: Part 3. Create special case for stripping CR and LF on TSubstring, and use it in all the places that it is called. Use ASCIIMask to make it fast. r=froydnj
...
MozReview-Commit-ID: 5ugh3Ma0OtH
--HG--
extra : rebase_source : 956a7a0535c3b7433fadfa65d0cfc26d9915f61a
2017-05-10 13:12:36 -04:00
Wes Kocher
6d6d039d43
Backed out 4 changesets (bug 1358297) for hazard build failures a=backout
...
Backed out changeset 95211a496191 (bug 1358297)
Backed out changeset 3c1b426a5cce (bug 1358297)
Backed out changeset 9201d345a1d5 (bug 1358297)
Backed out changeset c926817dea60 (bug 1358297)
MozReview-Commit-ID: 874DF43K7Dp
2017-05-05 12:45:46 -07:00
Milan Sreckovic
196fb1a3bc
Bug 1358297: Part 3. Create special case for stripping CR and LF on TSubstring, and use it in all the places that it is called. Use ASCIIMask to make it fast. r=froydnj
...
MozReview-Commit-ID: 3p97cCGfy6i
--HG--
extra : rebase_source : a91d9a5e6e61495cfe78b06959b200e48ca16535
2017-05-05 13:37:13 -04:00
Tim Huang
a7973a0b20
Bug 1352305 - Part 1: Making the XULWindow will not be enforecd to be rounded dimensions if it is a window without a primary content when fingerprinting resistance is enabled. r=Ehsan
...
This patch making the nsXULWindow::ForceRoundedDimensions() will only be called
when this window is a window which has a primary content when fingerprinting
resistance is enabled.
This will fix the problem that dialog windows are incorrectly resized after
fingerprinting resistance is enabled.
MozReview-Commit-ID: 6WD6c38CTPv
--HG--
extra : rebase_source : d21d803f22cf6c15036d994617fd50499f78f901
2017-05-02 18:11:50 +08:00
Wes Kocher
5e8bdb175d
Merge inbound to m-c a=merge
...
MozReview-Commit-ID: A85cs7Yriqj
2017-04-25 13:53:00 -07:00
Christoph Kerschbaumer
7711007990
Bug 1359092 - Extend loadURI within nsIWebNavigation.idl by a triggeringPrincipal argument. r=bz
2017-04-25 12:22:25 +02:00
Carsten "Tomcat" Book
1fa6c5a322
Backed out changeset 3e42f84996ea (bug 1359092) for causing assertion failures
2017-04-25 10:46:31 +02:00
Christoph Kerschbaumer
10ba7f4ab5
Bug 1359092 - Extend loadURI within nsIWebNavigation.idl by a triggeringPrincipal argument. r=bz
2017-04-24 21:57:25 +02:00
Aryeh Gregor
af57d2df0f
Bug 1251198 - Remove various obsolete events from document.createEvent r=smaug
...
Other browsers do not support any of these (IIRC), telemetry reports
essentially zero usage, and supporting them is contrary to the DOM spec.
Notes on specific events:
CommandEvent and SimpleGestureEvent: These are not supposed to be
web-exposed APIs, so I hid the interfaces from web content too
(necessary to avoid test_all_synthetic_events.html failures).
DataContainerEvent: This was a non-standard substitute for CustomEvent
that seemed to have only one user, so I removed it entirely and switched
the user (MozillaFileLogger.js) to CustomEvent.
ScrollAreaEvent: This is entirely non-standard, but we apparently expose
it deliberately to web content, so I didn't see any reason to remove it
from createEvent.
SimpleGestureEvent and XULCommandEvent: Can still be created from
createEvent(), but not by content.
TimeEvent: This is still in because it has no constructor, so there's no
other way to create it. Ideally we'd update the SMIL spec to add a
constructor. I did remove TimeEvents.
MozReview-Commit-ID: 7Yi2oCl9SM2
--HG--
extra : rebase_source : 199ab921acfc531b8b85e77f90fcd799b03c887b
2017-04-20 15:45:37 +03:00
Ehsan Akhgari
6399dc4d9a
Bug 1356922 - Part 1: Replace the next TabParent global pointer with per-window/tab next TabParent ID; r=billm,mconley
...
This patch replaces the usage of sNextTabParent pointer to store the next
PBrowser parent actor to be used by the next frame loader with the
following information:
* In the case where the content JS has requested a new tab, the ID of the
next TabParent will be stored on the <xul:browser> element.
* In the case where the content JS has requested a new window, the ID of
the next TabParent will be stored on the created nsXULWindow.
2017-04-24 14:18:29 -04:00
Chris Peterson
9ada4daeec
Bug 1356843 - Fix -Wcomma warning in xpfe/appshell/nsXULWindow.cpp. r=mstange
...
clang's -Wcomma warning warns about suspicious use of the comma operator such as calling a function for side effects within an expression. Check NS_SUCCEEDED() to use HasMoreElement() in an expression and confirm that it actually returned a legitimate out parameter.
xpfe/appshell/nsXULWindow.cpp:2154:50 [-Wcomma] possible misuse of comma operator here
MozReview-Commit-ID: Dbe4NDDhqY1
--HG--
extra : rebase_source : 01b88b7b7789d71a33af7b6a80ff0ff0b85dda16
extra : source : 3d2f990182f48c7ad8d132f2dae465e0cfa23530
2017-04-08 00:59:47 -07:00
Randell Jesup
db4e02f983
Bug 1354068: fix uninitialized rv in some paths in nsWebShellWindow r=bdahl
...
MozReview-Commit-ID: LyQUAvVXlr2
2017-04-06 23:23:44 -04:00
Joel Maher
2a4e02f6d6
Bug 1341808 - annotate xpfe/* with BUG_COMPONENTS. r=enndeakin
...
MozReview-Commit-ID: 8vJu7e6DAHs
2017-04-06 07:29:57 -04:00
Brendan Dahl
ea4ae58e28
Bug 1353814 - Use PuppetWidget with windowless browsers. r=jrmuizel
...
During the creation of windowless browsers in non-headless mode there can
still be calls into GTK which isn't initialized with the HeadlessWidget.
2017-04-05 11:20:00 -04:00
Brendan Dahl
a1f2e12af8
Bug 1338004 - Add headless browser mode. r=jrmuizel, r=ted
...
Supports creating a windowless browser on Linux without an X server. Most of the
changes are just adding branches to avoid calls in to GTK which calls
into X. Some of the bigger additions were adding a separate headless widget
which implements just enough to render a page. A headless look and
feel were also added since there are many calls into GTK in the platform
specific one.
2017-04-04 10:22:00 -04:00
Tim Huang
3b43737132
Bug 1330882 - Part 4: Making the window.open() can only open rounded windows and the inner window will be automatically rounded after setting size through innerWidth/Height and outerWidth/Height when fingerprinting resistance is enabled. r=smaug
...
This patch makes the size of inner windows will be automatically rounded for
either window.open() with window features or setting window size through
innerWidth/Height and outerWidth/Height when fingerprinting resistance is
enabled. If the given value is greater the maximum available rounded size, then
it will be set to the maximum value. Otherwise, the size will be set to the
nearest upper 200x100.
This patch also adds one helper function in nsContentUtils for calculating the
rounded window dimensions.
MozReview-Commit-ID: J2r3951vuNN
--HG--
extra : rebase_source : a44b19bdf2ce7e90fc831ddc2b85a86d594cb0c3
2017-03-29 15:43:56 +08:00
Tim Huang
c9c5bbc22e
Bug 1330882 - Part 1: Making new windows to be rounded size when fingerprinting resistance is enabled (adopt from Tor #19459 ). r=arthuredelstein,smaug
...
MozReview-Commit-ID: 1qBNQhfdIYP
--HG--
extra : rebase_source : c46b4a936960ff165f950a59c1d31c1c5849645f
2017-03-29 15:43:54 +08:00
Zibi Braniecki
5b976eeccb
Bug 1347272 - Move ChromeRegistry::IsLocaleRTL to LocaleService::IsAppLocaleRTL. r=jfkthame
...
MozReview-Commit-ID: BDhgIKNSOEL
--HG--
extra : rebase_source : 6a009ba4d397e6794e86c87c10982fdfb8e7ba08
2017-03-14 12:35:06 -07:00
Iris Hsiao
394f455b8e
Backed out changeset c7174ac72d14 (bug 1347272) for build bustage
...
--HG--
extra : amend_source : b4f3d5997190ce3db799e3586131cc3cb9ce034d
2017-03-28 18:16:33 +08:00
Zibi Braniecki
70c168c03f
Bug 1347272 - Move ChromeRegistry::IsLocaleRTL to LocaleService::IsAppLocaleRTL. r=jfkthame
...
MozReview-Commit-ID: BDhgIKNSOEL
--HG--
extra : rebase_source : 8440ae6b21887bae5142c86220f02092d1b12aed
2017-03-14 12:35:06 -07:00
Andrea Marchesini
507c00cb9f
Bug 1343933 - Renaming Principal classes - part 4 - ContentPrincipal, r=qdot
...
--HG--
rename : caps/nsPrincipal.cpp => caps/ContentPrincipal.cpp
rename : caps/nsPrincipal.h => caps/ContentPrincipal.h
2017-03-22 11:39:31 +01:00
Michael Layzell
ccc519e3f4
Bug 1347983 - Part 1: Make forms submitted from a large-allocation page not leave the large-allocation process, r=smaug
...
MozReview-Commit-ID: 7SEdTJN9Xd2
2017-03-16 14:32:26 -04:00
David Major
96a06f7f02
Bug 1344629 - Part 9: Bonus fix: Remove heap allocation in nsChromeTreeOwner. r=dbaron
...
Now that nsLiteralStrings are "free", they can just be static globals.
MozReview-Commit-ID: 4d4ZObxiHF8
--HG--
extra : rebase_source : 184e8a41b959550df217732cb4c605b302e2a1ac
2017-03-14 15:26:37 +13:00
Iris Hsiao
5cece96e1c
Backed out 12 changesets (bug 1344629) for stylo build bustage
...
Backed out changeset cf4273d3ac30 (bug 1344629)
Backed out changeset a96390e044e0 (bug 1344629)
Backed out changeset d9b330f9bc24 (bug 1344629)
Backed out changeset 2b460fe020af (bug 1344629)
Backed out changeset 0ada91b0452e (bug 1344629)
Backed out changeset 083304fcd6bd (bug 1344629)
Backed out changeset 53d7d1ce2c97 (bug 1344629)
Backed out changeset 55eee7078ae4 (bug 1344629)
Backed out changeset 7d3c06b3eca9 (bug 1344629)
Backed out changeset e5df14c3db61 (bug 1344629)
Backed out changeset 636095ff2815 (bug 1344629)
Backed out changeset 0be052ad24c1 (bug 1344629)
2017-03-14 11:52:24 +08:00
David Major
1b75e4c73d
Bug 1344629 - Part 9: Bonus fix: Remove heap allocation in nsChromeTreeOwner. r=dbaron
...
Now that nsLiteralStrings are "free", they can just be static globals.
MozReview-Commit-ID: 4d4ZObxiHF8
--HG--
extra : rebase_source : 184e8a41b959550df217732cb4c605b302e2a1ac
2017-03-14 15:26:37 +13:00
Xidorn Quan
db62454204
Bug 1344544 - Use nsTObserverArray for listeners of nsWindowMediator. r=erahm
...
MozReview-Commit-ID: 2PHwh4Htlhz
--HG--
extra : rebase_source : 540b7fd24298e552c2e30d1de12828da4127f32b
2017-03-06 12:50:52 +11:00
Xidorn Quan
148c3a3e9a
Bug 1342303 part 5 - Remove nsCOMArray::EnumerateForwards uses in xpfe. r=erahm
...
MozReview-Commit-ID: j8csvjSYUM
--HG--
extra : rebase_source : bea5c441cb87645f53ea9f830cee020e24e3f14a
2017-02-24 22:01:42 +11:00
Wes Kocher
5bb9a497ef
Backed out 6 changesets (bug 1342303) for build bustage a=backout
...
Backed out changeset 89137679a68c (bug 1342303)
Backed out changeset 20a1bcb47c33 (bug 1342303)
Backed out changeset bc3b2e7a383b (bug 1342303)
Backed out changeset bdc491b9ebde (bug 1342303)
Backed out changeset 5c6042dee665 (bug 1342303)
Backed out changeset b5de1dfff82f (bug 1342303)
MozReview-Commit-ID: BjlVAX480jI
2017-03-02 16:35:43 -08:00
Xidorn Quan
c949dd86c9
Bug 1342303 part 5 - Remove nsCOMArray::EnumerateForwards uses in xpfe. r=erahm
...
MozReview-Commit-ID: j8csvjSYUM
--HG--
extra : rebase_source : 8f0b64f184f4cbe7fb3ee9d2d276cad33e3fdbf9
2017-02-24 22:01:42 +11:00
Tom Tromey
f8ab4ddf02
Bug 1060419 - remove unneeded includes of prprf.h, r=froydnj
...
MozReview-Commit-ID: JifhpA3oOeH
--HG--
extra : rebase_source : 08460997dc3fd91f3065c718e17b41bb4acf8bae
2016-12-09 10:00:01 -10:00
Mike Conley
170479eb55
Bug 1336230 - Rename macsuppressanimation and CHROME_MAC_SUPPRESS_ANIMATION to be platform agnostic. r=jimm
...
MozReview-Commit-ID: HWyrm1lVwdY
--HG--
extra : rebase_source : ed8d71d9187a8afff0d3ca65641b335337e20f9d
2017-02-03 16:04:33 -05:00
Kartikaya Gupta
cf091ea0eb
Bug 1328066 - Don't broadcast the live-resize events to all browser windows unnecessarily. r=mstange
...
The machinery for suppressing the displayport during live resizes
was using the Observer service. However, in the case of multiple
browser windows, this meant that all the open browser windows would
have their displayport suppressed if *any* of the browser windows
was being resized. This was mostly ok, as the displayport suppression
would be turned off once the resize ended. However, the code to
kick off a repaint with the unsuppressed displayport would only get
triggered on one of the windows (whichever happened to process the
unsuppress message last).
This patch stops using the Observer service for the implementation
machinery, and instead locates the active TabParent of the relevant
nsWindow, and invokes the displayport suppression directly on that.
This fixes the repainting bug and also avoids unnecessarily
broadcasting the suppression/unsuppression notification to windows
that don't neccessarily need it.
MozReview-Commit-ID: LBHOgOW9KUp
2017-02-01 10:38:16 -05:00
Michael Layzell
59bf5ae02d
Bug 1334586 - Propagate reload flags when reloading pages with Large-Allocation headers, r=smaug
...
MozReview-Commit-ID: ESfCqSc0BJK
2017-01-31 14:08:20 -05:00
Christoph Kerschbaumer
be82c7af85
Bug 1329032 - Extend loadURIWithOptions by a triggeringPrincipal. r=bz,gijs
2017-01-18 08:24:55 +01:00
Wes Kocher
cb7e0bda60
Backed out 2 changesets (bug 1329032) for failures a=backout
...
Backed out changeset 16c4f0df527d (bug 1329032)
Backed out changeset 54f7bfe3ca11 (bug 1329032)
MozReview-Commit-ID: ChGyTdJvT8N
2017-01-17 14:08:10 -08:00
Christoph Kerschbaumer
05287d4fa8
Bug 1329032 - Extend loadURIWithOptions by a triggeringPrincipal. r=bz,gijs
2017-01-17 21:52:01 +01:00
Michael Layzell
0fa642800b
Bug 1315105 - Part 2: Implement <link rel=prerender> behind a pref, r=smaug
...
MozReview-Commit-ID: ARET98o1FTU
--HG--
extra : rebase_source : fd549baa1a4a180db1ca6701191f081033811d0f
2016-12-19 15:05:31 +08:00
Nicholas Nethercote
a28c8f38b2
Bug 1299335 (part 7) - Streamline nsIWidget::{Move,Resize}. r=mstange.
...
This patch changes them from |NS_IMETHOD| to |virtual void| because every
implementation of these functions always returns |NS_OK|.
--HG--
extra : rebase_source : 6207df5a46aeb6b8aaa0f697447a51bc6a6dc366
2016-12-19 20:54:03 +11:00
Carsten "Tomcat" Book
51614d31e4
Backed out changeset 059753ec9117 (bug 1315105) for test failures in own test
...
--HG--
extra : rebase_source : de2846d1205d3e885c1040379f2816629a925d22
2016-12-19 15:59:14 +01:00
Michael Layzell
b5fd619e72
Bug 1315105 - Part 2: Implement <link rel=prerender> behind a pref, r=smaug
...
MozReview-Commit-ID: ARET98o1FTU
2016-12-19 15:05:31 +08:00
Gijs Kruitbosch
a64e4f1b0e
Bug 1322414 - part 1 - remove GetContentShellById and id passing, r=bz
...
MozReview-Commit-ID: FggtlNAP6ax
--HG--
extra : rebase_source : 3e20f36001d5b19e334941c2638573ba838d2df7
extra : histedit_source : 3f47eea51d257f23b0a5ba655911aab4d43ba8d1
2016-12-08 11:12:36 -10:00
Michael Layzell
65b516822e
Bug 1318767
- Part 3: Use SessionStore to recover from missing GroupedSHistory segments, r=ehsan, r=mconley
...
MozReview-Commit-ID: FDmQIjiHox7
2016-12-13 16:32:54 +08:00
Boris Zbarsky
e0e53c48ae
Bug 1310796 part 3. Remove the aTargetable argument of contentShellAdded. r=mystor
2016-12-08 16:41:45 -10:00
Boris Zbarsky
55f0730a5b
Bug 1310796 part 2. Get rid of the now-unused nsXULWindow::mTargetableShells. r=mystor
2016-12-08 16:41:45 -10:00
Boris Zbarsky
846587070f
Bug 1310796 part 1. Get rid of GetTargetableShellCount in favor of a more explicit GetTabCount. r=mystor,gijs
2016-12-08 16:41:45 -10:00
Andrea Marchesini
1ed1649bb7
Bug 1322440 - Get rid of contextFlags in nsIWindowCreator2, r=smaug
2016-12-07 16:20:08 -10:00
Bob Owen
f5830d5e44
Bug 1147911 Part 7: Create browsing context with no opener if URI needs different process. r=smaug
...
This also means window.open returns null in the same circumstance.
2016-11-24 15:08:31 +00:00
Bob Owen
9d6013aa66
Bug 1147911 Part 3: Add remote type parameter to forceInitialBrowserRemote. r=gijs
...
Also change talos pageloader.js to force type to match test URLs.
2016-11-24 15:08:30 +00:00
Sebastian Hengst
0333e0a2b0
Backed out changeset ec84ee6acb88 (bug 1147911)
2016-11-23 18:33:06 +01:00
Sebastian Hengst
3e560293d1
Backed out changeset f8ff074e9145 (bug 1147911)
2016-11-23 18:32:50 +01:00
Bob Owen
3f62d10e4d
Bug 1147911 Part 7: Create browsing context with no opener if URI needs different process. r=smaug
...
This also means window.open returns null in the same circumstance.
2016-11-23 13:36:58 +00:00
Bob Owen
c547888b81
Bug 1147911 Part 3: Add remote type parameter to forceInitialBrowserRemote. r=gijs
...
Also change talos pageloader.js to force type to match test URLs.
2016-11-23 13:36:57 +00:00
Sebastian Hengst
9318d3bb24
Backed out changeset a236e690e2f6 (bug 1147911)
2016-11-18 00:58:52 +01:00
Sebastian Hengst
f02ffed0dd
Backed out changeset f768dac3f7a9 (bug 1147911)
2016-11-18 00:58:51 +01:00
Bob Owen
ce1bc7d820
Bug 1147911 Part 7: Create browsing context with no opener if URI needs different process. r=smaug
...
This also means window.open returns null in the same circumstance.
2016-11-17 15:48:53 +00:00
Bob Owen
c9055e97ff
Bug 1147911 Part 3: Add remote type parameter to forceInitialBrowserRemote. r=gijs
...
Also change talos pageloader.js to force type to match test URLs.
2016-11-17 15:48:52 +00:00
Ehsan Akhgari
eac76d9772
Bug 1310845 - Remove support for mozapp iframes; r=fabrice,jryans,baku,mcmanus
...
This patch removes support for mozapp iframes, leaving support for
mozbrowser iframes intact. Some of the code has been rewritten in order
to phrase things in terms of mozbrowser only, as opposed to mozbrowser
or app. In some places, code that was only useful with apps has been
completely removed, so that the APIs consumed can also be removed. In
some places where the notion of appId was bleeding out of this API, now
we use NO_APP_ID. Other notions of appId which were restricted to this
API have been removed.
2016-11-16 09:13:38 -05:00
Carsten "Tomcat" Book
3eacc680db
Backed out changeset 7d1f7dd996f7 (bug 1310845)
2016-11-16 14:50:44 +01:00
Ehsan Akhgari
cb369370b3
Bug 1310845 - Remove support for mozapp iframes; r=fabrice,jryans,baku,mcmanus
...
This patch removes support for mozapp iframes, leaving support for
mozbrowser iframes intact. Some of the code has been rewritten in order
to phrase things in terms of mozbrowser only, as opposed to mozbrowser
or app. In some places, code that was only useful with apps has been
completely removed, so that the APIs consumed can also be removed. In
some places where the notion of appId was bleeding out of this API, now
we use NO_APP_ID. Other notions of appId which were restricted to this
API have been removed.
2016-11-15 18:31:46 -05:00
Sebastian Hengst
007ffb1e11
Bug 1310297 - Remove test annotations using b2g, mulet or gonk: xpfe. r=RyanVM
...
MozReview-Commit-ID: 1Om7EAPzSD4
--HG--
extra : rebase_source : e2cca16b146e99cb613573fea6b97524395c986c
2016-11-05 11:29:22 +01:00
Michael Layzell
209fba3a7f
Bug 1304140 - Part 1: Implement support for the Large-Allocation header behind the dom.largeAllocationHeader.enabled pref, r=smaug
...
MozReview-Commit-ID: 5KBIu6Fc3Ea
2016-10-31 16:38:54 -04:00
Michael Layzell
de29c95ed2
Bug 1303196 - Part 7: Updates to apply correctly after noopener changes, r=smaug
...
MozReview-Commit-ID: 25Ew2PLpP5c
2016-10-27 15:53:35 -04:00
Michael Layzell
029a7def5d
Bug 1303196 - Part 3: Update the named window resolution logic to be scoped to TabGroup instead of being process-global, r=bz
...
MozReview-Commit-ID: FaGoj6wmEuG
2016-10-27 15:53:35 -04:00
Michael Layzell
f9eea2d135
Bug 1303196 - Part 2: Connect the DocGroup and TabGroup objects to nsGlobalWindow and nsDocument, ensuring that Opener is set early enough that it is correct, r=smaug
...
MozReview-Commit-ID: 3rZfLw3dXkF
2016-10-27 15:53:35 -04:00
Ehsan Akhgari
8ca93a6416
Bug 1301488 - Remove an unneeded null check from nsWebShellWindow::Initialize; r=bzbarsky
...
mDocShell is being checked before this part in the same function.
2016-09-08 18:50:17 -04:00
Ehsan Akhgari
67f68a06ad
Bug 1300851 - Don't use expanded principals when creating the about:blank content viewer eagerly; r=bzbarsky
2016-09-08 14:32:28 -04:00
Nicholas Nethercote
cc993d1772
Bug 1293596 (part 4) - Tweak nsIWidget::Create. r=mstange.
...
They don't need to be NS_IMETHOD, but they should be MOZ_MUST_USE. Adding the
latter catches a few missing checks, which the patch adds.
The patch also gives PuppetWidget an InfallibleCreate() function, which makes
the infallibility of PuppetWidget creation clear.
2016-08-19 09:03:17 +10:00
Nicholas Nethercote
67af4817e9
Bug 1293596 (part 2) - Rework nsIWidget bounds getters. r=mstange.
...
This patch makes GetBounds(), GetScreenBounds() and GetClientBounds() more
obviously infallible, like existing functions such as GetNaturalBounds() and
GetClientSize(). This results in clearer behaviour in nsCocoaWindow.mm if
Objective C exceptions occur. Along the way, the patch removes some useless
failure checks for these functions.
The patch also removes the NS_IMETHOD from GetRestoredBounds and makes that
function MOZ_MUST_USE.
2016-08-19 09:03:04 +10:00
Igor
175543fda8
Bug 1293384 - Part 2: Rename Snprintf.h header to Sprintf.h. r=froydnj
2016-08-14 23:43:21 -07:00
Igor
a57972337d
Bug 1293384 - Part 1: Rename snprintf_literal to SprintfLiteral. r=froydnj
2016-08-14 23:44:00 -07:00
Nicholas Nethercote
e7f10a07fd
Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm.
...
This patch makes most Run() declarations in subclasses of nsIRunnable have the
same form: |NS_IMETHOD Run() override|.
As a result of these changes, I had to add |override| to a couple of other
functions to satisfy clang's -Winconsistent-missing-override warning.
--HG--
extra : rebase_source : 815d0018b0b13329bb5698c410f500dddcc3ee12
2016-08-08 12:18:10 +10:00
Igor
4efade90d4
Bug 1197331 - remove PR_snprintf calls in miscellaneous directories. r=nfroyd
...
--HG--
extra : rebase_source : a19f77db06e68bd3d69faf56b8bbdc1825f13249
2016-08-04 16:41:00 +02:00
Mike Conley
276c6f9b96
Bug 1261842 - Add methods to nsIDocShellTreeOwner for sizing the primary content. r=smaug
...
MozReview-Commit-ID: CqiRTVd444n
--HG--
extra : rebase_source : 629e52028e556298145597d6efff02b7973727c4
extra : source : 711951be3db684d594704ddf4df44fffcc514794
2016-07-14 16:31:41 -04:00
Mike Conley
710391213a
Bug 1261842 - Make initial browser remote sooner if we're defaulting to using remote tabs. r=Felipe
...
MozReview-Commit-ID: 9KVzuOkJFpW
--HG--
extra : rebase_source : 6eb1a975378873af1b68f5efdb708b499457aea7
extra : source : a94e6a85c93170ef6b40065bb1834167547acd03
2016-06-08 17:03:42 -04:00
Tom Tromey
5538d692d3
Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
...
This removes the unnecessary setting of c-basic-offset from all
python-mode files.
This was automatically generated using
perl -pi -e 's/; *c-basic-offset: *[0-9]+//'
... on the affected files.
The bulk of these files are moz.build files but there a few others as
well.
MozReview-Commit-ID: 2pPf3DEiZqx
--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Andrew McCreight
41cc2c03eb
Bug 1287624, part 2 - Replace swap with forget in a few places. r=froydnj
...
The return argument was initialized to null in all of these, so it
should not change the behavior.
2016-07-20 15:19:00 -07:00
Carsten "Tomcat" Book
d8b9227dbe
Backed out 25 changesets (bug 1261842, bug 1278985) breaking firefox-ui tests
...
Backed out changeset bb6c6889b802 (bug 1261842)
Backed out changeset c14ccfac7b4b (bug 1261842)
Backed out changeset d6ffc9db5346 (bug 1261842)
Backed out changeset 2a1acfd17baf (bug 1261842)
Backed out changeset 968e7b3b73fb (bug 1261842)
Backed out changeset 8d708922e47a (bug 1261842)
Backed out changeset 0a08398b5087 (bug 1261842)
Backed out changeset b2e910bb1d72 (bug 1261842)
Backed out changeset f6062f113911 (bug 1261842)
Backed out changeset 07b259eb7121 (bug 1261842)
Backed out changeset 970cbbb3a658 (bug 1261842)
Backed out changeset b6f7395d2bbf (bug 1261842)
Backed out changeset 20eb3987a721 (bug 1261842)
Backed out changeset 6eaa642a93e1 (bug 1261842)
Backed out changeset 855931929739 (bug 1261842)
Backed out changeset 1240345f5624 (bug 1261842)
Backed out changeset ce46ebf231c1 (bug 1261842)
Backed out changeset 8d34b61fbfb3 (bug 1261842)
Backed out changeset 9d8a382c5b1d (bug 1261842)
Backed out changeset e2472a4cc209 (bug 1261842)
Backed out changeset e91913cd64b8 (bug 1261842)
Backed out changeset 4cf843a05a68 (bug 1261842)
Backed out changeset cbdc0deb92bd (bug 1261842)
Backed out changeset a94e6a85c931 (bug 1261842)
Backed out changeset 3b5b92f04ea5 (bug 1278985)
2016-07-19 09:12:58 +02:00
Mike Conley
92e4a54e9b
Bug 1261842 - Add methods to nsIDocShellTreeOwner for sizing the primary content. r=smaug
...
MozReview-Commit-ID: CqiRTVd444n
--HG--
extra : rebase_source : 87322da2ea764cf06885f53a083dfb4f7bcb7c9a
extra : source : 711951be3db684d594704ddf4df44fffcc514794
2016-07-14 16:31:41 -04:00
Mike Conley
f119676816
Bug 1261842 - Make initial browser remote sooner if we're defaulting to using remote tabs. r=felipe
...
MozReview-Commit-ID: 9KVzuOkJFpW
--HG--
extra : rebase_source : 9809f3140b0befd20a0c4a36fe1e3b4e6b39391d
2016-06-08 17:03:42 -04:00
Carsten "Tomcat" Book
a34d39f529
Backed out changeset e7a3ba795e1a (bug 1276976) for timeouts in browser_tableWidget_mouse_interaction.js on a CLOSED TREE
2016-06-09 15:28:22 +02:00
Neil Deakin
efe80ab561
Bug 1276976, ensure that popups are visible in the right area, r=tn, r=mrbkap
2016-06-09 07:59:31 -04:00
Mike Conley
6ed8718e96
Bug 1275261 - Only fire xul-window-destroyed for nsXULWindows that successfully registered. r=smaug
...
MozReview-Commit-ID: DPgPYfz3gSo
--HG--
extra : rebase_source : fb5546a3c074ade9de43ba51a7ba86965ba8926b
2016-06-02 10:28:28 -07:00
Vladan Djeric
f8242da2fc
Bug 1276304 - Remove unused getHiddenWindowAndJSContext function. r=bzbarsky
2013-02-20 00:15:36 -05:00
Mats Palmgren
4e63c1e0cf
Bug 881832 - Make inner document reflow asynchronous. r=tnikkel
2016-05-12 12:07:45 +12:00
Phil Ringnalda
6bb0bc4494
Back out 6 changesets (bug 881832) for failures in test_Debugger.Source.prototype.element.html
...
CLOSED TREE
Backed out changeset fac50ce10b07 (bug 881832)
Backed out changeset 32e01c144cd4 (bug 881832)
Backed out changeset 779f5336b81e (bug 881832)
Backed out changeset 95efd250e29f (bug 881832)
Backed out changeset 7fe79f07189f (bug 881832)
Backed out changeset 8ee1824f2a57 (bug 881832)
2016-05-23 18:34:49 -07:00
Mats Palmgren
fdb3066641
Bug 881832 - Make inner document reflow asynchronous. r=tnikkel
2016-05-12 12:07:45 +12:00
Phil Ringnalda
c6417cc01e
Back out 5 changesets (bug 881832) for failures in browser_html_tooltip-02.js
...
Backed out changeset 117e8e24d714 (bug 881832)
Backed out changeset 8a0d5df41cfb (bug 881832)
Backed out changeset 6b3c5e185b04 (bug 881832)
Backed out changeset 11106afdcbe7 (bug 881832)
Backed out changeset d711b7c19a43 (bug 881832)
2016-05-11 21:08:08 -07:00
Mats Palmgren
e04a74ec14
Bug 881832 - Make inner document reflow asynchronous. r=tnikkel
...
--HG--
extra : rebase_source : 9987e19e3318d5bc58ac8214496893041bc1775c
2016-05-12 12:07:45 +12:00
Gabor Krizsanits
2585c3f697
Bug 1255138 - Window resize support from JS for e10s. r=mconley
2016-05-11 11:44:57 +02:00
Kyle Huey
c73656947b
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
Haik Aftandilian
50fdb00a05
Bug 1258925 - [e10s] Browser window is resized when click. r=gabor
...
Adds a new IPC message to the PBrowser protocol exposing
the number of tabs in the current window to the content
process. This allows the content process to reject window.resize*
calls in cases where there is more than one tab in the
window.
--HG--
extra : histedit_source : dfa6b7b71882a1583cbbe90c2a7327cb212ed15d
2016-04-14 14:03:00 -04:00
Gijs Kruitbosch
0385e66575
Bug 1236991 - part 1: allow forwarding label direction through nsITooltipTextProvider, r=enndeakin
...
MozReview-Commit-ID: 68LvgKvVXmX
--HG--
extra : rebase_source : 17a188bf47efc3ca78ae6440ab84e6c6e4c06964
extra : histedit_source : 9c545f513a3b6e61d0bdb8d4f5fb3dbad9b2bbaf
2016-04-12 21:47:25 +01:00
Jonathan Kew
dfa53d5003
Bug 1259492 - Ensure window position is constrained to the screen after it has been sized properly in nsXULWindow::OnChromeLoaded. r=emk
2016-03-24 17:08:19 +00:00
Ehsan Akhgari
3482a3267c
Bug 1229220 - Update the scrollbar visibility prefs when initializing a TabChild; r=smaug
...
This will make sure that window.scrollbars correctly reflects the respective
chrome flags in e10s mode.
We also update nsXULWindow::SetContentScrollbarVisibility() to the new
nsContentUtils helper. That code is responsible for doing this work in the
single process case.
2016-03-18 11:13:20 -04:00
Jonathan Kew
08fa921c03
Bug 1256731 - patch 2 - Notify front-end code when screen resolution changes on Windows, so that TabsInTitlebar code can refresh its computations. r=gijs,emk
2016-03-17 12:53:31 +00:00
Jonathan Kew
5d8fc249d5
Bug 1255645 - Ensure nsXULWindow constrains the window to the bounds of its screen after applying intrinsic sizing (if appropriate), by re-doing positioning after the window has been sized properly. r=emk
2016-03-15 14:29:44 +00:00
Carsten "Tomcat" Book
37b1553b75
Backed out changeset 21e9dd187ca8 (bug 1255645)
2016-03-16 10:33:38 +01:00
Jonathan Kew
40e671dab2
Bug 1255645 - Ensure nsXULWindow constrains the window to the bounds of its screen after applying intrinsic sizing (if appropriate), by re-doing positioning after the window has been sized properly. r=emk
2016-03-15 14:29:44 +00:00
Sebastian Hengst
9526b58457
Backed out changeset 66fdeb1acce5 (bug 1229220) for M-e10s failure in test_fullscreen-api.html. r=backout on a CLOSED TREE
2016-03-14 23:03:37 +01:00
Ehsan Akhgari
ce1ef38b75
Bug 1229220 - Update the scrollbar visibility prefs when initializing a TabChild; r=smaug
...
This will make sure that window.scrollbars correctly reflects the respective
chrome flags in e10s mode.
We also update nsXULWindow::SetContentScrollbarVisibility() to the new
nsContentUtils helper. That code is responsible for doing this work in the
single process case.
2016-03-14 16:03:21 -04:00
Jonathan Kew
3ed6ed7760
Bug 1242449 - Fix confusion among CSS, desktop and device pixel units in nsXULWindow position/size and window staggering so as to work consistently across mixed resolution displays. r=emk
2016-03-01 21:05:10 +00:00
Andrea Marchesini
8c313db5c7
Bug 1252839 - Remove some if stmt after allocation with 'new' - patch 2, r=bz
2016-03-02 18:51:33 +01:00
J. Ryan Stinnett
777c113bb3
Bug 1238160 - Set docshell isolation mode. r=smaug
...
Renames nsDocShell isBrowser* attributes to add a "Moz" prefix for clarity.
Adds nsDocShell::GetIsIsolatedMozBrowserElement, which parallels
GetIsInIsolatedMozBrowserElement, but only checks the immediate docshell.
Adds nsDocShell::SetIsInIsolatedMozBrowserElement for the frame loader and tab
child to set the isolation state.
nsDocShell methods related to mozbrowser elements (and their callers) are
updated to use GetIs(In)?IsolatedMozBrowserElement when checking isolation /
origins and GetIsMozBrowserElement when checking frame types.
MozReview-Commit-ID: 6pGD5fF47ZN
2016-03-02 10:35:56 -06:00
Brendan Dahl
1e077c8a5f
Bug 1104916 - Implement CSS media query display-mode. r=cam
2016-02-23 17:10:00 +01:00
Jonathan Kew
c31d3ec45b
Bug 1247335 - patch 2 - Use desktop pixel coordinates when loading a nsXULWindow position. r=emk
2016-02-18 10:47:14 +00:00
Jonathan Kew
cb99502b79
Bug 1247335 - patch 1 - Provide a desktop-pixel variant of SetPosition on nsIBaseWindow and its implementations. r=emk
2016-02-18 10:46:16 +00:00
Wes Kocher
ddcc30c564
Backed out changeset 4fa1296bd773 (bug 1104916) for win debug m(oth) permafails CLOSED TREE
...
--HG--
extra : commitid : HW3icAqLZUB
2016-02-05 11:42:55 -08:00
Brendan Dahl
b25b48552b
Bug 1104916 - Implement CSS media query display-mode. r=cam
2016-02-04 13:34:00 +01:00
Kyle Huey
91efc5a86c
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
David Rajchenbach-Teller
583ca7286d
Bug 1224374
- Profiler labels for the top 26-100 chrome hangs;r=BenWa
...
--HG--
extra : rebase_source : 39e94507c0288863e495322a6899ff009840870d
2016-01-15 11:38:03 +01:00
Xidorn Quan
28b65596a2
Bug 1238536 part 3 - Properly handle restoring to normal state from fullscreen. r=smaug
...
--HG--
extra : source : 3be6847efaa97f014b7cb9df19dd53b7ac41c161
2016-01-20 09:56:52 +11:00
Sebastian Hengst
d8d4a2d1a5
Backed out 2 changesets (bug 1224374
) for Windows bustage. r=bustage on a CLOSED TREE
...
Backed out changeset 5f458e6e4997 (bug 1224374
)
Backed out changeset 0dc02cb0b604 (bug 1224374
)
2016-01-19 21:30:41 +01:00
David Rajchenbach-Teller
2d53758d08
Bug 1224374
- Profiler labels for the top 26-100 chrome hangs;r=BenWa
...
--HG--
extra : rebase_source : 51d39d6f88bf58ccb29f5897c3dbbe71007ee842
2016-01-15 11:38:03 +01:00
Kris Maglione
ccbc83560c
Bug 1239822: Part 2a - [webext] Explicitly destroy windowless browsers on unload. r=billm
...
--HG--
extra : commitid : JXAapKEd31v
extra : rebase_source : 729fa88d1d0e8c91a47745af00fb321866eb1063
2016-01-15 13:30:15 -08:00
Kris Maglione
acf722df18
Bug 1239822: Part 1 - Add a close method to windowless browsers, and only destroy when safe. r=bz
...
--HG--
extra : commitid : 77O0Cyp53O5
extra : rebase_source : 3a129236674f4aa868eafaec1a949c621cd9fae6
2016-01-15 19:23:09 -08:00
Jonathan Kew
46b5136c09
Bug 890156 - patch 6 - Update window placement code to work with desktop pixels, for per-monitor DPI support on Windows. r=emk
2015-12-03 13:19:50 +00:00
Jonathan Kew
45d2ab27ce
Bug 890156 - patch 2 - Expose DevicePixelsPerDesktopPixel through nsIBaseWindow and its implementations. r=emk
2015-11-25 19:12:07 +00:00
Jonathan Kew
84b8c3a0a4
Bug 890156 - patch 0.3 - Create a version of nsIWidget::Create that takes Desktop pixels, because that's what we actually need to pass in some cases. r=mstange
2016-01-13 07:32:55 +00:00
Catalin Badea
58a29eb2dd
Bug 1221992 - Skip closed windows in GetMostRecentNonPBWindow. r=smaug
2015-12-11 13:32:15 -05:00
Catalin Badea
54a27691d4
Bug 1221992 - Prevent ServiceWorkerClients.OpenWindow from opening tabs in private mode windows. r=smaug
2015-12-11 13:32:15 -05:00
Sebastian Hengst
114ca318d6
Backed out 2 changesets (bug 1221992) for almost permafailing M-e10s(2) on Linux debug. r=backout
...
Backed out changeset ad20808dd3c4 (bug 1221992)
Backed out changeset 7cdcda3e65fb (bug 1221992)
2015-12-05 21:13:41 +01:00
Catalin Badea
b675b2325d
Bug 1221992 - Prevent ServiceWorkerClients.OpenWindow from opening tabs in private mode windows. r=smaug
2015-12-04 19:14:44 +02:00
Wes Kocher
bfbadfd96d
Backed out 2 changesets (bug 1221992) for windows debug assertions in browser_perf-categories-js-calltree.js
...
Backed out changeset bcd90e591038 (bug 1221992)
Backed out changeset 6affaa386b9b (bug 1221992)
--HG--
extra : commitid : 4w08gUrbqQr
2015-12-03 15:56:59 -08:00
Catalin Badea
889982d7af
Bug 1221992 - Prevent ServiceWorkerClients.OpenWindow from opening tabs in private mode windows. r=smaug
2015-12-03 23:19:29 +02:00
Nicholas Nethercote
1fb25d8609
Bug 1229237 (part 1) - Make nsIWidget::{Create,CreateChildren}() take a LayoutDeviceIntRect. r=botond.
...
--HG--
extra : rebase_source : 08407e76083534ad39dd34d2535ec09c95e506db
2015-11-16 00:35:18 -08:00
Mike Hommey
7094b49a7a
Bug 1225682 - Don't use nsAuto{,C}String as class member variables in xpfe/. r=neil
2015-12-02 11:04:37 +09:00
Nicholas Nethercote
af08555b74
Bug 1228125 (part 3) - Remove nsIWidget::GetClientBoundsUntyped(). r=botond.
...
--HG--
extra : rebase_source : 5e8cb05213c33983d7deebe0a36f2a4f6ac66375
2015-11-25 20:55:36 -08:00
Nicholas Nethercote
e2fe66176b
Bug 1224403 (part 4) - Make {Get,Set}NonClientMargins() return/take a LayoutDeviceIntMargin. r=kats.
...
This required adding {To,From}UnknownMargin().
--HG--
extra : rebase_source : de7e8f56604825bcc1babe5e05a8f8623a402cad
2015-11-11 23:05:04 -08:00
Nicholas Nethercote
ad0dd8414a
Bug 1223310
(part 2) - Use LayoutDeviceIntRect for bounds-related functions in nsIWidget. r=kats.
...
The patch renames the existing functions (GetBounds(), GetClientBounds(), etc)
by adding an |Untyped| suffix. It then adds typed equivalents, and uses those
typed equivalents in all the call sites where it's easy to do so. The trickier
remaining call sites are converted to use the Untyped-suffix version.
--HG--
extra : rebase_source : 6bfb15bfc4698e2eba7d4db55497299d3dffcd51
2015-11-09 21:37:32 -08:00
Luca Greco
60c68abefd
Bug 1214174 - Add windowless browser test case. r=billm
...
--HG--
extra : histedit_source : 8b5209784883456f503f0a36cc008756da6353ce
2015-10-22 14:41:00 -04:00
Luca Greco
14529f9c0c
Bug 1214174 - Windowless WebBrowserChrome2Stub should implement nsIEmbeddingSiteWindow GetDimensions. r=billm
...
Prevents exception on accessing window's screenX, screenY, outerWidth and outerHeight properties in a windowless browser
--HG--
extra : histedit_source : ca85ed5029f99bd8d2903153f3e68ab0015e243e
2015-10-22 14:40:00 -04:00
Kyle Huey
c7d3c4e21a
Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz
2015-10-26 14:37:32 -07:00
Julian Seward
ffb720e63d
Bug 1216945 - Uninitialised value use in nsXULWindow::SizeShellTo. r=bzbarsky.
...
--HG--
extra : rebase_source : 5a38e4e3674f54c81dac8a859b78f63d3b625c30
2015-10-26 18:27:42 +01:00
Xidorn Quan
19f7f9e9e4
Bug 1137009 - Do not persist xul window attributes when in fullscreen. r=enndeakin
...
--HG--
extra : rebase_source : 38400b63c4f9d6be3f2ff9ba963546f72f77a65f
extra : source : 78f7f5498016232d889579add8f9ec7d0f4a86e6
2015-10-22 11:08:35 +11:00
Nathan Froyd
01583602a9
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Wes Kocher
a195766b70
Backed out 2 changesets (bug 1137009)
...
Backed out changeset 2c77e4edc2a5 (bug 1137009)
Backed out changeset 7a5322e5fa07 (bug 1137009)
2015-10-13 18:33:51 -07:00
Wes Kocher
c335f06a80
Backed out changeset e28dde22ac26 (bug 1211344)
2015-10-13 18:33:27 -07:00
Xidorn Quan
ab5826685c
Bug 1211344 - Stop setting various window attributes when they are not in 'persist' attribute. r=enndeakin
...
--HG--
extra : source : 775831c88c8fdd6f3ff4f65447b0f825347109f5
2015-10-09 11:35:09 +11:00
Carsten "Tomcat" Book
08997000eb
Backed out 2 changesets (bug 1202902
) to recking bug 1202902
to be able to reopen inbound on a CLOSED TREE
...
Backed out changeset 647025383676 (bug 1202902
)
Backed out changeset d70c7fe532c6 (bug 1202902
)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book
e7ef778c9d
Backed out 1 changesets (bug 1202902
) for causing merge conflicts to mozilla-central
...
Backed out changeset cfc1820361f5 (bug 1202902
)
--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Shu-yu Guo
d06b6030f6
Bug 1202902
- Scripted fix the world.
2015-10-06 14:00:31 -07:00
Olli Pettay
73e3069a93
Bug 1209621 - Add a way to get the TabParent for the content-primary tab, r=mconley
...
--HG--
extra : rebase_source : 2755b86bf3b247cbb2931eda3cc9433d2878125e
2015-10-01 20:06:51 +03:00
Bobby Holley
110f12e7ca
Bug 1072150 - Use the opt-out for various sloppy consumers. r=bz
2015-09-24 14:02:41 -07:00
Xidorn Quan
1fa3dc1199
Bug 1137009 part 1 - Always save dirty window attributes but do not persist them in nsXULWindow::SavePersistentAttributes() directly. r=enndeakin
...
The attributes should eventually be saved via the AttributeChanged callback in
XULDocument if one is specified in the "persist" attribute.
--HG--
extra : source : 31be6135097644dbfe99220be44e63a2163b243c
extra : histedit_source : 83959efa7bb52a31de2cdbc201b5f18655756f33
2015-09-24 11:39:22 +10:00
Nicholas Nethercote
f44287005f
Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
...
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Xidorn Quan
f46a93871a
Bug 1196163 part 1 - Use nsSizeMode instead of int32_t for nsIWidget::{SizeMode,SetSizeMode}. r=roc
...
--HG--
extra : source : cf438b9cb26ae512f792f075e4e22537ad6a38a7
2015-08-29 11:12:41 +10:00
Masayuki Nakano
fff7a41224
Bug 895274 part.8 Rename NS_XUL_CLOSE to eWindowClose r=smaug
2015-08-29 08:58:26 +09:00
Andrew Comminos
d7abfb9d4d
Bug 1189132 - Skip unmap during window destruction on GTK, working around talos hang with GL layers. r=karlt
2015-08-26 21:30:16 -04:00
Kyle Huey
df53dee024
Bug 1182316: Part 1 - Remove FORWARD_TO_INNER_OR_THROW. r=peterv
2015-07-16 22:10:35 -07:00
Birunthan Mohanathas
a8939590de
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Geoff Brown
52d4e225a0
Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin
2015-07-10 14:41:59 -06:00
Michael Layzell
b29fa273f8
Bug 1034922 - Make nsSiteWindow's destructor private, and expose it to nsContentTreeOwner via friend class. r=Enn
...
CLOSED TREE
--HG--
extra : amend_source : 5420ac9e6296b98f4ec5ddf5b8992cf449e8d44f
2015-07-07 21:49:00 -04:00
Nihanth Subramanya
5e74ed3e43
Bug 1179058 - Implement shouldAddToSessionHistory in WebBrowserChrome JS object. r=adw
...
--HG--
extra : rebase_source : b21952075a68b39cbfbbb36cde0713096c700c46
2015-07-02 11:04:06 -07:00
Nihanth Subramanya
fb7c08fefa
Bug 1118285 - The browser.newtab.url preference is abused and should be removed.
2015-05-27 17:35:03 -07:00
Xidorn Quan
d7dd0eac3b
Bug 1161802 part 2 - Split nsGlobalWindow::SetFullScreenInternal into two parts, one part before the window resizing, the other after. r=smaug,dao,margaret
...
This patch moves the "fullscreen" event from the original place to the
second part, which indicates two other changes:
1. When the event is triggered, the value of fullScreen would have been
toggled to the new value, which is different from before. The changes in
browser/../browser-fullScreen.js and mobile/../browser.js are for this.
2. This event is no longer preventDefault-able, since it is triggered
after the fullscreen change. This leads to the removal of the test and
the only place which calls preventDefault on that event. That place is
a workaround for bug 1079222. To address that problem, this patch fixes
the intrinsic issue via stoping handling the fullscreen change once it
finds we failed to change the state of the widget.
--HG--
extra : source : 78f78a62ce31b33413f0b52532eb22e5712cb646
2015-06-10 23:13:12 +12:00
David Anderson
8a9daf3775
Enable APZ for all Desktop windows if E10s is enabled. (bug 1163115, r=kats)
2015-05-12 01:26:01 -04:00
Shelly Lin
b7c213870a
Bug 1138290 - New option in WindowWatcher.openWindow to open another toplevel window on b2g. r=roc
2015-04-29 17:25:26 +08:00
David Major
ebde6b9f4f
Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium
...
--HG--
extra : rebase_source : 0c47c99bb8b92f8361a51fd81b20a2cc8647a986
2015-04-27 19:59:27 -04:00
Kartikaya Gupta
57b4bbe2ca
Bug 1154739 - Rename flag to be more general. r=billm
2015-04-27 16:13:29 -04:00
Boris Zbarsky
1540774b0c
Bug 1157898 part 1. Make code of the form "return rv.ErrorCode();" where rv is an ErrorResult use StealNSResult instead. r=peterv
...
This patch was generated with the following command:
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 's/return ([a-zA-Z0-9]+)\.ErrorCode\(\);/return \1.StealNSResult();/'
2015-04-27 09:18:51 -04:00
Kartikaya Gupta
53dd599648
Back out cset 17aad8f83237 (bug 1154499) now that we have a nightly with APZ enabled. r=me a=me
2015-04-22 09:36:25 -04:00
Wes Kocher
687641fa14
Merge inbound to m-c a=merge
2015-04-21 15:23:57 -07:00
David Anderson
9ae1c872f4
Enable APZ for E10S on Windows for one Nightly. This patch will be backed out after one nightly. (bug 1154459, r=kats, a=ryanvm)
2015-04-21 15:35:19 -04:00
Nicolas Silva
cfff5e52c5
Bug 1155621 - Make nsIntRect and nsIntPoint typedefs of mozilla::gfx::IntRect and mozilla::gfx::IntPoint. r=Bas
2015-04-21 17:04:57 +02:00
Denis Volk
32e981896d
Bug 1095098 - move do_QueryObject templates into their own header; r=froydnj
2015-04-15 12:47:03 -04:00
Phil Ringnalda
d68dd54c30
Backed out changeset ffde08dc5ceb (bug 1154459) for bustage
...
CLOSED TREE
2015-04-19 08:19:14 -07:00
David Anderson
4f6a850738
Enable APZ for E10S on Windows for one nightly build. (bug 1154459, r=kats)
2015-04-17 11:49:55 -04:00
Nathan Froyd
4c7234747e
Bug 1143651 - don't use CallQueryInterface when the compiler can do the cast for us; r=ehsan
2015-03-12 13:20:29 -04:00
David Parks
3fe715e93a
Bug 1075670 - Make event.screen[XY] work in content processes (r=smaug,kats,tn,joshmoz)
2015-04-01 12:36:41 -07:00
Mike Hommey
b077d9624d
Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd
2015-04-01 13:51:45 +09:00
Bill McCloskey
7f4ac9ee96
Back out bug 1075670
2015-03-30 20:13:07 -07:00
Andrea Marchesini
e6f385fb3d
Bug 1148527 - Indentation fix after bug 1145631, r=ehsan
2015-03-27 18:52:19 +00:00
Bill McCloskey
f2d972e4f2
Bug 1075670 - Make event.screen[XY] work in content processes (r=smaug,kats,tn,joshmoz)
2015-03-26 14:17:29 -07:00
Ehsan Akhgari
883849ee32
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Nathan Froyd
b252a27930
Bug 1142503 - don't use QueryInterface when the compiler can do the cast for us; r=ehsan
...
Calling QueryInterface with a statically known IID should typically not
be necessary. In those cases where it's not, the compiler can do the
cast for us, though we have to supply the reference-counting that
QueryInterface would do.
In passing, several redundant null-checks for the result of |new T| have
been deleted.
2015-03-12 09:43:50 -04:00
Jonathan Griffin
d1c61bc9b6
Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown
2015-02-06 16:30:37 -08:00
Nathan Froyd
4380a42bbc
Bug 1141689 - use services::GetObserverService more; r=ehsan
2014-04-29 13:31:06 -04:00
Nicolas Silva
40d7c19d35
Bug 1125848 - Reduce the likelyhood of a CompositorParent being destroyed without the proper shutdown sequence. r=sotaro
2015-03-09 10:46:56 +01:00
Wes Kocher
01e006a903
Merge inbound to m-c a=merge CLOSED TREE
2015-03-03 16:46:44 -08:00
Ryan VanderMeulen
6541acdb04
Backed out 7 changesets (bug 1075670) for causing bug 1139010.
...
Backed out changeset 659c40243282 (bug 1075670)
Backed out changeset 45b61c78ee2d (bug 1075670)
Backed out changeset 23bb7b239c78 (bug 1075670)
Backed out changeset a68d5051107f (bug 1075670)
Backed out changeset bd7a5d213692 (bug 1075670)
Backed out changeset f705f5063169 (bug 1075670)
Backed out changeset 13619f8fa672 (bug 1075670)
CLOSED TREE
2015-03-03 18:44:56 -05:00
David Parks
218f2707a8
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
Ryan VanderMeulen
ec8d7510c3
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
David Parks
5bb003d264
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
Andrea Marchesini
2c4f63331f
Bug 1134280 - Get rid of Tag() - patch 1 - Is{HTML,XUL,MathML,SVG}Element and IsAnyOf{HTML,XUL,MathML,SVG}Elements, r=smaug
2015-03-03 11:08:59 +00:00
Paul Rouget
410db13a8c
Bug 1127205 - Can't quit B2G Desktop on Mac. r=mstange
2015-02-18 16:34:00 +01:00
Gabriele Svelto
fafc282f1a
Back out bug 1075670 for causing smoketest failures on B2G, bug 1133518 and friends. rs+a=kats
2015-02-17 10:39:35 -05:00
David Parks
f3678c96ae
Bug 1075670 - Use MozUpdateWindowPos event to notify content process of window move r=smaug
2015-01-26 11:45:54 -08:00
Mike Conley
1cf83f9538
Bug 1047603 - Make TabParent::AnswerCreateWindow force the initial browser to be remote in a new window. r=smaug.
...
--HG--
extra : rebase_source : 87551351dc763be7f5a8a47d02de21eb3f10c745
2015-01-13 17:24:52 -05:00
Robert O'Callahan
7a165b59ca
Bug 1129774. Part 5: Remove aContext parameter from nsIWidget::Create. r=jmathies
...
--HG--
extra : rebase_source : 517ff800c0307e69465a37da7e52605d2fcda0d1
2015-02-05 20:35:25 +13:00
Bill McCloskey
773e64f259
Back out 47de36ef3ab4 (bug 1075670) for breaking context menu in e10s CLOSED TREE
2015-01-28 16:11:56 -08:00
David Parks
4f7408b89c
Bug 1075670 - Update window position in TabParent when window widget is moved. 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
Ehsan Akhgari
4a6f63f214
Bug 1118605
- Mark virtual overridden functions as MOZ_OVERRIDE in xpfe/appshell; r=bsmedberg
2015-01-12 16:30:52 -05:00
Wes Kocher
126b4f108e
Backed out changeset bf25101e66cf (bug 1095098) for build bustage
2014-12-08 16:27:12 -08:00
Denis Volk
0f94bddfc8
Bug 1095098: move do_QueryObject templates into their own header r=froydnj
2014-11-20 12:20:10 +01:00
Brian Marshall
08a6fc02ef
Bug 1074557 - Remove the lock in nsWindowMediator. r=Neil
2014-10-16 15:45:17 -07:00
Dave Townsend
8b46b5daab
Bug 999239: Copy session history when recreating browser element for the remote -> non-remote transition. r=bz, r=felipe, sr=gavin
2014-09-25 11:35:45 -07:00
Ryan VanderMeulen
6353009054
Backed out changesets 1e0e069b5cc7 and dc6a44c16a37 (bug 1047603) for causing bug 1067164. a=me
2014-09-17 14:19:58 -04:00
Mike Conley
9b77d562d6
Bug 1047603 - [e10s] Make it possible to load new windows from non-remote browsers within an e10s window. r=smaug,billm, feedback=Mossop.
...
--HG--
extra : rebase_source : 79a033f40e880ef4e8769871e385344d7621c259
2014-09-12 14:34:28 -04:00
Felipe Gomes
382f4efc2f
Bug 1063848 - Disable e10s in safe mode. r=bsmedberg,ally.
2014-09-10 15:53:55 -03:00
Ehsan Akhgari
5bffafdd26
Bug 1061061 - Fix more bad implicit constructors in misc. code; r=bsmedberg
2014-09-02 18:24:24 -04:00
Trevor Saunders
d75ed5bf7f
bug 1059490 - mark more classes MOZ_FINAL r=froydnj
2014-08-27 14:26:48 -04:00
Trevor Saunders
fd5e9d1fcc
bug 1047696 - mark a number of classes MOZ_FINAL to get compilers to devirtualize more r=froydnj
2014-08-05 13:33:55 -04:00
Bill McCloskey
b6264372dc
Bug 1051017 - Add browser.contentWindowAsCPOW and browser.contentDocumentAsCPOW (r=mconley,mrbkap)
2014-08-20 12:49:11 -07:00
Birunthan Mohanathas
29e62c0155
Bug 1047873 - Flatten xpfe/appshell/{public,src}/ directories. r=Neil
...
--HG--
rename : xpfe/appshell/public/nsAppShellCID.h => xpfe/appshell/nsAppShellCID.h
rename : xpfe/appshell/src/nsAppShellFactory.cpp => xpfe/appshell/nsAppShellFactory.cpp
rename : xpfe/appshell/src/nsAppShellService.cpp => xpfe/appshell/nsAppShellService.cpp
rename : xpfe/appshell/src/nsAppShellService.h => xpfe/appshell/nsAppShellService.h
rename : xpfe/appshell/src/nsAppShellWindowEnumerator.cpp => xpfe/appshell/nsAppShellWindowEnumerator.cpp
rename : xpfe/appshell/src/nsAppShellWindowEnumerator.h => xpfe/appshell/nsAppShellWindowEnumerator.h
rename : xpfe/appshell/src/nsChromeTreeOwner.cpp => xpfe/appshell/nsChromeTreeOwner.cpp
rename : xpfe/appshell/src/nsChromeTreeOwner.h => xpfe/appshell/nsChromeTreeOwner.h
rename : xpfe/appshell/src/nsContentTreeOwner.cpp => xpfe/appshell/nsContentTreeOwner.cpp
rename : xpfe/appshell/src/nsContentTreeOwner.h => xpfe/appshell/nsContentTreeOwner.h
rename : xpfe/appshell/public/nsIAppShellService.idl => xpfe/appshell/nsIAppShellService.idl
rename : xpfe/appshell/public/nsIPopupWindowManager.idl => xpfe/appshell/nsIPopupWindowManager.idl
rename : xpfe/appshell/public/nsIWindowMediator.idl => xpfe/appshell/nsIWindowMediator.idl
rename : xpfe/appshell/public/nsIWindowMediatorListener.idl => xpfe/appshell/nsIWindowMediatorListener.idl
rename : xpfe/appshell/public/nsIXULBrowserWindow.idl => xpfe/appshell/nsIXULBrowserWindow.idl
rename : xpfe/appshell/public/nsIXULWindow.idl => xpfe/appshell/nsIXULWindow.idl
rename : xpfe/appshell/src/nsWebShellWindow.cpp => xpfe/appshell/nsWebShellWindow.cpp
rename : xpfe/appshell/src/nsWebShellWindow.h => xpfe/appshell/nsWebShellWindow.h
rename : xpfe/appshell/src/nsWindowMediator.cpp => xpfe/appshell/nsWindowMediator.cpp
rename : xpfe/appshell/src/nsWindowMediator.h => xpfe/appshell/nsWindowMediator.h
rename : xpfe/appshell/src/nsXULWindow.cpp => xpfe/appshell/nsXULWindow.cpp
rename : xpfe/appshell/src/nsXULWindow.h => xpfe/appshell/nsXULWindow.h
rename : xpfe/appshell/src/test/chrome.ini => xpfe/appshell/test/chrome.ini
rename : xpfe/appshell/src/test/test_hiddenPrivateWindow.xul => xpfe/appshell/test/test_hiddenPrivateWindow.xul
2014-08-02 13:44:23 -07:00
Trevor Saunders
dfb8d4ea04
bug 1036694 - merge nsIMarkupDocumentViewer into nsIContentViewer r=smaug
2014-07-09 17:27:49 -04:00
Mike Conley
6e3a003fea
Bug 1030414 - When browser.tabs.remote.autostart is true, make sure non-e10s windows can still open popups. r=smaug.
2014-06-27 13:13:00 -04:00
Ms2ger
bd952bff39
Bug 968804 - Part m: Add outer window assertions to DispatchCustomEvent; r=khuey
2014-06-29 17:31:13 +02:00
Benoit Jacob
11d5270279
Bug 1028588 - Fix dangerous public destructors in xpfe/ - r=ndeakin
2014-06-24 12:36:45 -04:00
Makoto Kato
0071aa5e05
Bug 1027993 - Remove plstr.h usages under xpfe. r=neil
2014-06-23 13:58:43 +09:00
Mike Conley
dc8c5b623b
Bug 989501 - Part 2: When content in an e10s tab requests a new window be opened, forward that call to the TabParent, and have the TabParent pass itself in when creating the new window. r=smaug.
2014-06-20 14:07:47 -04:00
Mike Conley
8697a1814f
Bug 1021466 - Part 2: Make it possible to pass in an nsITabParent when opening windows, and then stash that nsITabParent in the newly created chrome docshell. r=smaug.
2014-06-05 22:51:14 -04:00
Robert O'Callahan
cbb8fdebfc
Bug 1015664
. Part 1: Remove NS_HIDDEN_() usage. r=bsmedberg
2014-06-03 00:08:21 +12:00
Trevor Saunders
78966cf36b
bug 966059 - add nsIDocShell::GetWindow and GetDocument r=smaug
2014-01-09 21:03:47 -05:00
Masatoshi Kimura
9a3bc8d02b
Bug 1005619 - Part 2: Use nsIWidget::GetRestoredBounds from appshell. r=neil
2014-05-20 16:32:17 +09:00
Nick Lebedev
c49e263d0f
Bug 998002 - Rename nsContentUtils::Get{Subject,Object}Principal to nsContentUtils::{Subject,Object}Principal. r=bholley
2014-05-13 11:58:00 +02:00
Bobby Holley
5a3bee8d99
Bug 997987 - Remove usage of nsIScriptSecurityManager::GetSubjectPrincipal. r=Ms2ger
2014-05-06 15:43:03 -07:00
Birunthan Mohanathas
5f1fde8824
Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj
2014-04-27 03:06:00 -04:00
Bobby Holley
3de1018bbe
Bug 989528 - Rename AutoSystemCaller to AutoNoJSAPI, and assert against pre-existing exceptions. r=bz
2014-04-14 20:27:00 -07:00
Neil Deakin
f9e1db1ab8
Bug 475981, remove titles from a bunch of tests, fixing box wrapped in a block warnings,r=neil
2014-04-04 13:11:12 -04:00
Neil Deakin
fef9ca2f2f
Bug 972566, when a window is resized, panels should be repositioned after the view reflow rather than within the webshell listener, r=tn
2014-03-19 12:48:08 -04:00
Masayuki Nakano
08a11f7934
Bug 975688 part.28 Rename nsDOMEvent to mozilla::dom::Event r=smaug
...
--HG--
rename : dom/events/nsDOMEvent.cpp => dom/events/Event.cpp
rename : dom/events/nsDOMEvent.h => dom/events/Event.h
2014-03-05 09:37:43 +09:00
Bill McCloskey
4d1519077d
Bug 974007 - Change OMTC behavior when browser.tabs.remote is set (r=mattwoodrow,felipe)
2014-02-20 17:26:41 -08:00
Oleg Romashin
d6c8989ca4
Bug 962511 - Add missing MOZ_INSTRUMENT_EVENT_LOOP ifdef to nsAppShellService.cpp. r=ehsan
2014-02-12 10:33:43 -05:00
Paul Rouget
a2a1fd71c5
Bug 962511 - Expose mozilla::InitEventTracing to JS via appShellService. r=ehsan
2014-02-11 09:24:47 -05:00
Ehsan Akhgari
d91d200572
Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg
2014-02-10 17:57:01 -05:00
Gregory Szorc
afdb724edf
Bug 969021 - Part 1: Consolidate moz.build data into parent moz.build files; r=ted
...
Many moz.build files define things that could be defined in parent
moz.build files. Keeping the number of moz.build files low helps with
build times due to less I/O and fewer directories traversed.
This patch eliminates a lot of moz.build files by moving their content
into parent moz.build files.
--HG--
extra : rebase_source : 0cfdf2697d10532e5b03cd27fbaadb41f42b837c
extra : amend_source : 0119d4e4881217f105e0e4ba1dfa9c8f7295f3e9
extra : histedit_source : eb49e62c67af2005fdc08d9c9a07f56bee98d558%2C50951e960e450f9b0e48fc7e8ec369d8666a63b0
2014-02-06 13:00:20 -08:00
Bill McCloskey
5b9e37d8cf
Bug 938904 - [e10s] Make tooltips work (r=smaug,enn)
2014-01-22 12:27:23 -08:00
stefanh@inbox.com
84a45c987a
Bug 957209 - Don't set ewindowtype_sheet if parent is hidden window. r=smichaud.
2014-01-18 12:49:47 +01:00
Tom Schuster
f39e81815a
Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence
2014-01-09 18:39:36 +01:00
Trevor Saunders
ff0491aef6
bug 331376 - merge nsIDocShellTreeNode into nsIDocShellTreeItem r=smaug
2014-01-06 17:34:15 -05:00
Ehsan Akhgari
1b83407ce9
Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
...
This patch was automatically generated by the following script:
#!/bin/bash
# Command to convert PRUnichar to char16_t
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*modules/libmar*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name prtypes.h \
! -name Char16.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Chris Peterson
df7f7abbfa
Bug 956126 - Fix -Wunused-variable warning in nsWebShellWindow.cpp. r=neil
2013-12-17 09:53:03 -08:00
Markus Stange
3b7de5fbc9
Bug 888615 - [Australis] Add a drawtitle attribute for XUL root elements. When drawtitle="true" is set, even drawintitlebar windows will have a window title. r=roc, r=smichaud
2013-12-17 17:11:13 +01:00
Bobby Holley
07df154678
Bug 937317 - Replace all instance of null cx pushing with AutoSystemCaller. r=bz
...
This is an easy bonus chunk of the work to phase out cx pushing in the browser.
2013-12-11 17:51:58 -08:00