Alexandre Poirot
4df82cdc06
Bug 814497 - Cleanup console service cache when a window is destroyed. r=nfroyd
2015-07-09 06:49:00 -04:00
Victor Porof
50c5257b1a
Bug 1184376 - Remove nsDocShell::AddProfileTimelineMarker, r=smaug
2015-07-18 09:35:59 -04:00
Birunthan Mohanathas
e52329c788
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
Michael Layzell
c1d10743ff
Bug 1180993 - Part 3: Correct use sites of functions which return already_AddRefed. r=ehsan
2015-07-10 08:36:00 -04:00
Xidorn Quan
50ab569356
Bug 1160014 part 1 - Implement common part of fullscreen transition. r=roc,smaug,dao
...
This patch implements the code which is shared by all platforms for
fullscreen transition.
It adds two prefs for the duration of fullscreen transition. They can
also be used to completely suppress the transition.
In addition, this patch uses the newly added prefs to suppress the
transition in all tests which use the DOM fullscreen.
2015-07-13 20:44:36 +10:00
Xidorn Quan
8808558a82
Bug 1160014 part 0 - Avoid explicitly mentioning DOM Fullscreen concept in widget part. r=roc
2015-07-13 20:44:36 +10:00
Neil Deakin
7e3bf72325
Bug 1132518, add an attribute to the xul document root element to allow focus on document navigation to be retargetted to another element, such as the urlbar, r=smaug,dao
2015-07-13 06:07:50 -04:00
Neil Deakin
6b162d8330
Bug 1132518, make document navigation with F6/Shift+F6 work in e10s. This combines the document and tab navigation mechanisms together, r=smaug
2015-07-13 06:07:49 -04:00
Neil Deakin
7211bcdf16
Bug 1132518, add a flag to nsIFrameTraversal to skip the popup checks, r=mats
2015-07-13 06:07:49 -04:00
Ehsan Akhgari
b91a77bbbe
Bug 1180535 - Dispatch the media-playback notification when navigating away from a page that has a media element playing; r=baku
...
When navigating away from a document, we mute the playing media elements
through the NotifyOwnerDocumentActivityChanged() notification.
Sometimes, that function may notify the audio channel agent through its
call to AddRemoveSelfReference() which may call
UpdateAudioChannelPlayingState() and notify the agent, but when we're
navigating away from the page, playingThroughTheAudioChannel will always
be equal to mPlayingThroughTheAudioChannel, which causes us to not
notify the audio channel agent.
This patch fixes this by separating NotifyOwnerDocumentActivityChanged()
from its internal consumers, and forcefully notifying the audio channel
agent when we navigate away.
2015-07-11 13:16:39 -04:00
Carsten "Tomcat" Book
c3cbee8359
Backed out changeset 8c0e88129206 (bug 1176158) for bustage
2015-07-11 16:34:31 +02:00
Olli Pettay
ebd98e9199
Bug 1182772, optimize ProcessGlobal out from CC graph (and also TabChild's EventListeners), r=mccr8
2015-07-11 16:45:49 +03:00
Benoit Girard
cc73db2a7a
Bug 1181297 - Add debug descriptor to nsINode. r=smaug
2015-07-08 15:58:07 -04:00
Benoit Girard
3905d3868a
Bug 1176158 - "Remove unused lang atoms (ko-xxx and x-symbol)" r=vladimir
2015-06-19 12:38:00 +02:00
Andrea Marchesini
bbfb9c4aa0
Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan
2015-07-10 17:38:44 +01:00
Carsten "Tomcat" Book
6a80a5a324
Backed out changeset bcfbdb934c37 (bug 1113086) for breaking cpp tests with timeouts in TestAudioChannelService.exe
2015-07-11 14:14:58 +02:00
Carsten "Tomcat" Book
0e2d2f8aa3
Backed out changeset e11a8496bf63 (bug 1180535)
2015-07-11 14:13:32 +02:00
Nigel Babu
6c7a32fd6c
Backed out 4 changesets (bug 1160014) for M2 bustages CLOSED TREE
...
Backed out changeset 87b00a9dac95 (bug 1160014)
Backed out changeset d4fa5c794e08 (bug 1160014)
Backed out changeset fca26897d534 (bug 1160014)
Backed out changeset b0b7f4f09ed2 (bug 1160014)
2015-07-11 10:49:25 +05:30
Ehsan Akhgari
cec62516a1
Bug 1180535 - Dispatch the media-playback notification when navigating away from a page that has a media element playing; r=baku
...
When navigating away from a document, we mute the playing media elements
through the NotifyOwnerDocumentActivityChanged() notification.
Sometimes, that function may notify the audio channel agent through its
call to AddRemoveSelfReference() which may call
UpdateAudioChannelPlayingState() and notify the agent, but when we're
navigating away from the page, playingThroughTheAudioChannel will always
be equal to mPlayingThroughTheAudioChannel, which causes us to not
notify the audio channel agent.
This patch fixes this by separating NotifyOwnerDocumentActivityChanged()
from its internal consumers, and forcefully notifying the audio channel
agent when we navigate away.
2015-07-10 21:33:00 -04:00
John Schoenick
018fa5e2dc
Bug 1160819 - ResponsiveImageSelector - improve some over-aggressive assertions
2015-07-05 18:03:00 -07:00
Andrea Marchesini
80b5f477f2
Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan
2015-07-10 21:08:43 -04:00
Xidorn Quan
76a19944b1
Backed out 8 changesets (bug 1113086) for build bustage
...
Backed out changeset a20839dfd439 (bug 1113086)
Backed out changeset 675ea719b91c (bug 1113086)
Backed out changeset cfb34138bb9f (bug 1113086)
Backed out changeset b9525c60a737 (bug 1113086)
Backed out changeset 380859ae955b (bug 1113086)
Backed out changeset 5ec088f0892f (bug 1113086)
Backed out changeset caf57ae8cbce (bug 1113086)
Backed out changeset 0fc4dec6cd81 (bug 1113086)
2015-07-11 10:55:59 +10:00
Xidorn Quan
523cefc73c
Bug 1160014 part 1 - Implement common part of fullscreen transition. r=roc,smaug,dao
...
This patch implements the code which is shared by all platforms for
fullscreen transition.
It adds two prefs for the duration of fullscreen transition. They can
also be used to completely suppress the transition.
In addition, this patch uses the newly added prefs to suppress the
transition in all tests which use the DOM fullscreen.
2015-07-11 10:08:59 +10:00
Andrea Marchesini
fbe5ce79eb
Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan
2015-07-10 17:38:44 +01:00
Wes Kocher
9c30d6953d
Backed out changeset adf95d1cd0aa (bug 1173934) for fetch-frame-resource.https.html WPT orange and test_synthesized_response.js S4 orange CLOSED TREE
2015-07-10 15:59:01 -07:00
Wes Kocher
6782732de2
Backed out changeset df6593df027b (bug 1173912)
2015-07-10 15:58:24 -07:00
Wes Kocher
9e573d5db3
Backed out changeset d7e0eb7b42f9 (bug 1180535) for test_video_wakelock.html permafails CLOSED TREE
2015-07-10 15:36:39 -07:00
Ben Kelly
918ed053a7
Bug 1173912 Fail opaque responses for client requests. r=ehsan
2015-07-10 14:28:32 -07:00
Ben Kelly
6a200d95d9
Bug 1173934 Show a message if a docshell fails to load due to SW intercept failure. r=ehsan r=jdm
2015-07-10 14:28:32 -07:00
Christoph Kerschbaumer
d80b61af79
Bug 1139297 - Implement CSP upgrade-insecure-requests directive - websocket changes (r=baku)
2015-07-10 09:15:30 -07:00
Christoph Kerschbaumer
9cf312cbbb
Bug 1139297 - Implement CSP upgrade-insecure-requests directive - document changes (r=smaug)
2015-07-10 09:14:09 -07:00
Geoff Brown
495b7cbfe1
Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin
2015-07-10 14:41:59 -06:00
Ehsan Akhgari
30dfed2d4f
Bug 1180535 - Dispatch the media-playback notification when navigating away from a page that has a media element playing; r=baku
...
When navigating away from a document, we mute the playing media elements
through the NotifyOwnerDocumentActivityChanged() notification.
Sometimes, that function may notify the audio channel agent through its
call to AddRemoveSelfReference() which may call
UpdateAudioChannelPlayingState() and notify the agent, but when we're
navigating away from the page, playingThroughTheAudioChannel will always
be equal to mPlayingThroughTheAudioChannel, which causes us to not
notify the audio channel agent.
This patch fixes this by separating NotifyOwnerDocumentActivityChanged()
from its internal consumers, and forcefully notifying the audio channel
agent when we navigate away.
2015-07-10 15:49:53 -04:00
Wes Kocher
df5909cdbc
Backed out changeset 74293125739a (bug 1176341)
2015-07-10 12:48:20 -07:00
Andrew McCreight
2ed211a7a3
Bug 1176341 - De-holder nsIXPConnect::CreateSandbox. r=baku,gabor
2015-07-10 07:41:33 -07:00
Andrea Marchesini
adaeae2a8e
Bug 1172055 - Improve size check in nsAttrAndChildArray::GrowBy, r=ehsan
2015-07-10 00:18:30 +01:00
Jim Mathies
a12ea823a0
Bug 1152300 - When focus shifts from a native plugin window to content, content needs to forward the request for focus change to chrome. r=enn
2015-07-09 09:48:57 -05:00
Randell Jesup
37ad9bc8b6
Bug 1155059: Patch 1&2 - Convert Dispatch() and friends to already_AddRefed<> r=froydnj
...
Modify Dispatch IDL and code to deal with MSVC issues with overloaded templates r=froydnj
2015-07-09 23:21:46 -04:00
Jeff Gilbert
512ca20ea5
Bug 1182369
- Remove js/Class.h include from nsWrapperCache.h. - r=bz
2015-07-09 12:32:04 -07:00
Jeff Gilbert
86aa7a36ee
No bug - Strip EOL whitespace from nsIDocument.h
2015-07-09 19:48:59 -07:00
Wes Kocher
cc806c6518
Merge inbound to central, a=merge
2015-07-09 18:01:25 -07:00
Ryan VanderMeulen
ee16103b84
Merge m-c to fx-team. a=merge
2015-07-09 13:53:46 -04:00
Carsten "Tomcat" Book
0a75b97726
merge mozilla-inbound to mozilla-central a=merge
2015-07-09 17:54:48 +02:00
Ryan VanderMeulen
89eb454666
Merge m-c to inbound. a=merge
...
CLOSED TREE
2015-07-09 13:52:22 -04:00
Brian Grinstead
50da040cd5
Bug 1175318 - Import Console.jsm for mochitests;r=ted,r=past
2015-07-08 12:10:29 -07:00
Tim Taubert
b225eb87ef
Bug 834830 - Add nsISelectionController.SELECTION_URLSTRIKEOUT to enable striking out parts of the URL in the URL bar r=roc
2015-07-08 15:45:21 +02:00
Boris Zbarsky
7d8173071e
Bug 1181619. Make sure we've entered a microtask before we call nsJSUtils::EvaluateString, and put those microtasks outside the relevant AutoEntryScripts so we report any possible exceptions before doing the microtask checkpoint. r=bholley
2015-07-09 02:41:43 -04:00
Andrea Marchesini
00307929f0
Bug 1181528 - nsISimpleEnumerator.h is needed by nsDocument.cpp, r=smaug
2015-07-09 01:36:35 +01:00
Cameron McCormack
46d4c64434
Bug 1177563 - Test that we share agent rule processors across different documents. r=dbaron
2015-07-08 15:57:31 +10:00
Carsten "Tomcat" Book
8c7c890ce6
Backed out changeset 42e80a07acd6 (bug 1177563) for bustage on a CLOSED TREE
2015-07-08 09:44:16 +02:00
Cameron McCormack
383dc1b8dc
Bug 1177563 - Test that we share agent rule processors across different documents. r=dbaron
2015-07-08 15:57:31 +10:00
Bill McCloskey
a4e0f91e99
Bug 1173947 - Make getRandomValues message be urgent (r=mrbkap)
2015-07-07 17:24:42 -07:00
Xidorn Quan
aa83e75ffc
Bug 1178668 - Only exit fullscreen on the document of the requesting window. r=smaug
2015-07-08 08:51:09 +10:00
Boris Zbarsky
b685437bbe
Bug 1180525. Run callbacks whose window is no longer current as long as its document is the active document in the browsing context. r=bholley
...
The distinction only matters when document.open() makes a different
window current without changing the active document.
2015-07-07 17:38:07 -04:00
Boris Zbarsky
bdf294419f
Bug 1167489 and bug 1153672. Clamp the resolution of performance.now() calls to 5us, because otherwise we allow various timing attacks that depend on high accuracy timers. r=froydnj
2015-07-07 17:37:50 -04:00
Kartikaya Gupta
e9b44b28d9
Bug 1181678 - Expose an attribute on DOMWindowUtils to see if APZ is enabled. r=botond
2015-07-09 09:53:54 -04:00
Seth Fowler
8441769275
Bug 1177587 - Detect use of <img> elements for animation and use sync decoding to reduce flicker. r=tn
2015-07-07 14:00:08 -07:00
Andrea Marchesini
4fcceb6b42
Bug 1172144 - Improve the size check of nsTextFragment::Append, r=ehsan
2015-07-07 19:32:25 +01:00
Michael Layzell
724e72569c
Bug 1167389 - Make FileList::mParent a smart pointer, and declare it to the cycle collector. r=ehsan
2015-07-07 06:38:00 -04:00
Dragana Damjanovic
c7fc0a288e
Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell
2015-07-06 07:55:00 +02:00
Emanuel Hoogeveen
31c0c961cd
Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell
2015-07-07 04:17:00 +02:00
Ehsan Akhgari
174e2660ae
Bug 1180523 - Part 1: Store the audio mute/volume information on the outer window; r=baku
...
This is needed so that we can preserve this information across navigations.
2015-07-07 01:36:09 -04:00
Bill McCloskey
06d53a5cde
Bug 1177013 - Modernize test_cpows.xul (r=dvander)
2015-07-06 19:58:44 -07:00
Sam E. Giles
29a0474b5a
Bug 1176757 - Throw a DataCloneError when attempting to invoke 'cloneNode' on a 'ShadowRoot' and associated mochitest. r=wchen
2015-07-06 18:26:29 -07:00
Ehsan Akhgari
15468da7f0
Bug 1180539 - Correctly dispatch media-playback notifications when an AudioContext is closed/suspended/resumed; r=baku
...
Since navigating away from a page with an active AudioContext will close
it internally, this patch fixes a similar issue to bug 1180535 for Web
Audio too.
2015-07-06 21:21:19 -04:00
Martin Thomson
3fbdd7b996
Bug 1172785 - RTCCertificate implementation, r=rbarnes
2015-07-06 10:40:04 -07:00
Michael Layzell
753876e095
Bug 1167392 - Change nsFrameMessageManager::mParentManager to a smart pointer. r=ehsan
2015-07-06 07:06:00 -04:00
Ehsan Akhgari
b46cf7d328
Backout bug 1180539 for test failures
2015-07-06 10:50:35 -04:00
Ehsan Akhgari
d9c8ffbd0a
Bug 1180539 - Correctly dispatch media-playback notifications when an AudioContext is closed/suspended/resumed; r=baku
...
Since navigating away from a page with an active AudioContext will close
it internally, this patch fixes a similar issue to bug 1180535 for Web
Audio too.
2015-07-06 09:10:06 -04:00
Andrew McCreight
1d0f561200
Bug 1177627 - Back out most of 7fcf6bf43eda for causing Gaia unit test crashes. r=smaug
2015-07-02 12:34:00 +02:00
Michael Layzell
ff30eed3b2
Bug 1168161 - Mark nsPIDOMWindow::mDocShell as MOZ_NON_OWNING_REF. r=ehsan
2015-05-25 10:57:00 +02:00
Michael Layzell
ffebdac5d9
Bug 1167395 - Mark CharacterDataChangeInfo::Details as MOZ_STACK_CLASS, and mark mNextSibling as MOZ_NON_OWNING_REF. r=smaug
2015-07-03 15:55:00 +02:00
Michael Layzell
4aa3178201
Bug 1167390 - Mark nsNodeWeakReference::mNode as MOZ_NON_OWNING_REF. r=smaug
2015-05-21 14:24:00 +02:00
Xidorn Quan
dbbb094fdd
Bug 1179123 - Avoid crash when calling ExitFullscreenInDocTree with a detached fullscreen document with its root exited fullscreen state. r=smaug
2015-07-04 15:12:13 +10:00
Phil Ringnalda
ab06bdf2b9
Merge m-c to m-i
2015-07-03 19:15:06 -07:00
Phil Ringnalda
f75cbb09e4
Merge f-t to m-c, a=merge
2015-07-03 18:55:10 -07:00
Juan Gomez
21d73728f3
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-07-03 18:29:00 -07:00
Eric Rahm
8cfc46cadc
Bug 1180045 - Remove no outer window available warning. r=smaug
2015-07-03 10:21:24 -07:00
Carsten "Tomcat" Book
a6385dd7a1
Merge mozilla-central to fx-team
2015-07-03 12:40:05 +02:00
Phil Ringnalda
6d43ab4967
Back out 12 changesets (bug 1177013) on suspicion of causing b2g emulator debug test bustage
...
CLOSED TREE
Backed out changeset 912aae0815f8 (bug 1177013)
Backed out changeset 3b6448172e50 (bug 1177013)
Backed out changeset 2af18bef5703 (bug 1177013)
Backed out changeset e6bf35115c11 (bug 1177013)
Backed out changeset 4d7f5205b60b (bug 1177013)
Backed out changeset f7de893911bc (bug 1177013)
Backed out changeset de79eba232f0 (bug 1177013)
Backed out changeset 978a77b60f2a (bug 1177013)
Backed out changeset f5b52fa19511 (bug 1177013)
Backed out changeset e14a7b70b6fa (bug 1177013)
Backed out changeset d0f5a3474659 (bug 1177013)
Backed out changeset bff9f07dad52 (bug 1177013)
2015-07-02 22:08:54 -07:00
Yury Delendik
1812a7ea5d
Bug 1179262 - Remove PlayPreview usage from PDF viewer. r=bz
2015-07-02 11:09:45 -05:00
Nicholas Nethercote
dac11f611c
Bug 1175810 (part 1) - Remove PL_DHashTableEnumerator() use from nsScriptNameSpaceManager. r=bz.
...
PLDHashTable::Iterator is so much better. Lots of plumbing removed here.
2015-06-17 20:30:15 -07:00
Bill McCloskey
0b37c37a37
Bug 1177013 - Modernize test_cpows.xul (r=dvander)
2015-07-02 17:18:10 -07:00
Jonathan Watt
0dfb07a4fa
Bug 1177688, part 6 - Follow-up to provide a default BlobDirState::eUnknownIfDir arg to BlobImplBase's ctor to avoid excessively specifying the same argument. r=baku
2015-06-23 00:31:40 +01:00
Jonathan Watt
d88c51e319
Bug 1177688, part 1 - Add API and functionality to the BlobImpl classes so that BlobImpl's that are created from an nsIFile can provide information about whether or not the nsIFile was a directory. r=baku
2015-06-23 00:31:28 +01:00
Franziskus Kiefer
1e551c630d
Bug 1166910 - Add tests for referrer attribute for img tag. r=ckerschb, r=hsivonen
2015-06-05 15:25:24 -07:00
Franziskus Kiefer
a71ec1e171
Bug 1166910 - Referrer attribute for img tag. r=ckerschb, r=hsivonen, r=bz
2015-06-05 15:25:24 -07:00
Lee Salzman
09bab5fc25
Bug 771367 - Update test_animations_omta.html to support testing pseudo-elements. r=dbaron
2015-07-01 12:08:30 -04:00
Hiroyuki Ikezoe
f948d626ac
Bug 1178172 - Fix all compile errors in dom/base on non-unified build. r=baku
2015-07-01 15:56:00 +02:00
Xidorn Quan
fe8c571389
Bug 1168705 part 4 - Dispatch other fullscreen events with next refresh driver tick. r=smaug
2015-07-02 19:12:31 +10:00
Xidorn Quan
20473f3420
Bug 1168705 part 3 - Make MozDOMFullscreen:{Request,Exit,Entered,Exited} be triggered synchronously. r=dao,smaug
...
MozDOMFullscreen:{Request,Exit} are simply used to redirect the request
to the parent process, hence there is no need to align them with refresh
driver tick or dispatch asynchronously.
MozDOMFullscreen:{Entered,Exited} are also used to notify the content
process about the change, hence dispatching them later could cause
unwanted delay on fullscreen change. Their handlers are also changed in
this patch to avoid recursive fullscreen change.
2015-07-02 19:12:31 +10:00
Xidorn Quan
c17236c616
Bug 1168705 part 2 - Move fullscreenchange event to be triggered after the related chrome events. r=smaug
2015-07-02 19:12:31 +10:00
Xidorn Quan
6af3e1136f
Bug 1168705 part 1 - Add mechanism for dispatching events with refresh driver tick. r=roc,khuey
2015-07-02 19:12:31 +10:00
Masayuki Nakano
f1b6c36d9d
Bug 1179086 ContentEventHandler should use /n on Mac rather than /r r=smaug+smichaud+josh
2015-07-02 10:00:44 +09:00
William Chen
b672752886
Bug 1178513
- Add <extapp> element and interfaces to be used by ACL. r=khuey
2015-06-30 11:27:57 -07:00
Andrew McCreight
5f803a32c4
Bug 958778 - De-holder nsIXPConnect::GetWrappedNativePrototype(). r=gabor
2015-07-01 11:17:17 -07:00
Boris Zbarsky
ee4aa67f3d
Bug 959992. Go back to not treating properties that the named properties object exposes as enumerable. r=peterv
2015-07-01 14:15:22 -04:00
Terrence Cole
1eacda008a
Bug 1178581 - Interning does not and should not imply infinite lifetime; r=sfink
2015-06-30 07:58:31 -07:00
Olli Pettay
6910333690
Bug 1174951, try to fix the intermittent failure in test_XHRDocURI.html, r=bz
2015-07-01 15:39:56 +03:00
Carsten "Tomcat" Book
d4735903b0
Backed out changeset f5f3827ffcf1 (bug 1166910) for bustage
2015-07-01 08:19:28 +02:00
Carsten "Tomcat" Book
2684c9ea8e
Backed out changeset 981a1dbe042b (bug 1166910)
2015-07-01 08:18:58 +02:00
Franziskus Kiefer
63d6ede0b5
Bug 1166910 - referrer attribute for img tag, tests. r=hsivonen
2015-06-05 15:25:24 -07:00
Franziskus Kiefer
381fbf5475
Bug 1166910 - referrer attribute for img tag. r=hsivonen
2015-06-05 15:25:24 -07:00
Jan de Mooij
1578d8d59f
Bug 1177892 part 4 - Remove INT_TO_JSVAL. r=evilpie
2015-06-30 21:10:04 -07:00
Jan de Mooij
91656f1d39
Bug 1177892 part 3 - Remove OBJECT_TO_JSVAL. r=evilpie
2015-06-30 21:09:46 -07:00
Jan de Mooij
50d0e1c75e
Bug 1177892 part 1 - Remove BOOLEAN_TO_JSVAL and STRING_TO_JSVAL. r=evilpie
2015-06-30 11:20:56 -07:00
Ehsan Akhgari
8d468e4643
Bug 1148935 - Correctly reflect worker and sharedworker RequestContext values; r=smaug
2015-06-30 18:52:42 -04:00
Ryan VanderMeulen
d7cd04649e
Backed out changeset 07bf31cca660 (bug 1148935) for Werror bustage.
...
CLOSED TREE
2015-06-30 15:53:43 -04:00
Ryan VanderMeulen
1c944f7ca5
Backed out changesets ad58c270ce87 and 849151330d60 (bug 1177892) for B2G bustage.
...
CLOSED TREE
2015-06-30 15:48:11 -04:00
Ehsan Akhgari
55da6fb692
Bug 1148935 - Correctly reflect worker and sharedworker RequestContext values; r=smaug
2015-06-30 15:30:08 -04:00
Jan de Mooij
abbf48c613
Bug 1177892 part 1 - Remove BOOLEAN_TO_JSVAL and STRING_TO_JSVAL. r=evilpie
2015-06-30 11:20:56 -07:00
Blake Kaplan
af0fe1424e
Bug 1151848 - Bump the priority of this message so that cpowWindow.screen works without crashing. r=billm
2015-06-23 17:34:00 -04:00
Nathan Froyd
46d6f38e68
Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan
...
This conversion was done with the script:
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl' | \
egrep -v 'cairo-win32-refptr.h|RefPtr.h|TestRefPtr.cpp' | \
xargs sed -i -e 's/mozilla::TemporaryRef</already_AddRefed</g' \
-e 's/TemporaryRef</already_AddRefed</g'
Manual fixups were performed in the following instances:
- We handled mfbt/RefPtr.h manually so as to not convert TemporaryRef itself
into already_AddRefed.
- The following files had explicit Move() calls added to make up for the lack
of a copy constructor on already_AddRefed:
dom/base/ImageEncoder.cpp
dom/media/MediaTaskQueue.{h,cpp}
dom/media/webaudio/PannerNode.cpp
- A redundant overload for MediaTaskQueue::Dispatch was deleted.
- A few manual fixups were required in mfbt/tests/TestRefPtr.cpp.
- Comments, using declarations, and forward declarations relating to
TemporaryRef in dom/canvas/ and gfx/layers/ were changed to refer to
already_AddRefed.
2015-06-17 10:00:52 -04:00
Kartikaya Gupta
c508a4e334
Bug 1178860 - Add dom.meta-viewport.enabled to gfxPrefs. r=dvander
2015-06-30 14:49:02 -04:00
Eric Rahm
ac5c4c7224
Bug 1177578 - Remove 'No docshells for remote frames' warning in nsFrameLoader::GetDocShell. r=smaug
2015-06-30 09:33:50 -07:00
Jan Varga
bc82e78a6b
Bug 1130775 - Convert synchronized ops and storage registration into unified directory locks; r=bent
2015-06-30 14:59:27 +02:00
Michael Layzell
954a43b51d
Bug 1170531 - Disable clipboard menu commands correctly in non-(X)HTML documents; r=ehsan
2015-06-30 08:18:04 -04:00
Franziskus Kiefer
571b8681f2
Bug 1101288 - disabling single test to avoid intermittent. r=Kwierso
2015-06-29 08:24:01 -07:00
Jan de Mooij
61c36ee986
Bug 1177825 - Remove JSVAL_* constants. r=evilpie
2015-06-29 18:36:44 -07:00
Wes Kocher
8dd9876db4
Merge m-c to inbound, a=merge
2015-06-29 17:28:20 -07:00
Ryan VanderMeulen
ac7e955b24
Backed out 3 changesets (bug 1000870) for frequent Linux test failures.
...
Backed out changeset 7983770003a3 (bug 1000870)
Backed out changeset 80d8e9adb532 (bug 1000870)
Backed out changeset 6a730e15246e (bug 1000870)
2015-06-29 13:42:45 -04:00
Carsten "Tomcat" Book
7a01433999
Merge mozilla-central to mozilla-inbound
2015-06-29 14:19:25 +02:00
Carsten "Tomcat" Book
a1f11d0729
merge mozilla-inbound to mozilla-central a=merge
2015-06-29 14:17:02 +02:00
Andrew Osmond
d4dbf7328b
Bug 1167650 - Expose DOMRequest and DOMCursor to workers. r=bent
2015-06-28 09:34:01 -07:00
Ben Kelly
10607c718d
Bug 1175138 P5 Make CacheStorage reject on untrusted origins. r=ehsan
2015-06-27 23:19:24 -04:00
Ehsan Akhgari
0c1eb4b2b4
Backout changeset d648becaa638 (bug 1170531) for test failures
2015-06-27 13:14:06 -07:00
Michael Layzell
709f53ca94
Bug 1170531 - Disable clipboard menu commands correctly in non-(X)HTML documents; r=ehsan
2015-06-27 12:37:44 -07:00
Ben Kelly
4aa1f16fcb
Bug 1173467 P3 Pass private browsing flag into CacheStorage factory methods. r=ehsan
2015-06-26 19:36:40 -07:00
Ben Kelly
3304254dec
Bug 1173467 P2 Add nsGlobalWindow utility method to get private browsing boolean. r=ehsan
2015-06-26 19:36:40 -07:00
Cameron McCormack
a4d92eff62
Back out bug 1177916 (changeset d4c34d7fb112) for test_urlSearchParams.html failure.
2015-06-27 12:18:19 +10:00
Cameron McCormack
b3cd74b933
Back out bug 1173467 (changesets a20799ebf48c, 9312c5cb756e, c0e8bba17067, af075443ab21, 30cefdf8d020) for assertion failures in test_app_protocol.html.
2015-06-27 11:57:17 +10:00
Andrew McCreight
9cb0cb2187
Bug 886459, part 3 - Remove simple uses of nsIJSRuntimeService to get the JSRuntime. r=bholley
2015-06-26 18:44:14 -07:00
Andrew McCreight
6a9afe005e
Bug 886459, part 1 - Remove unused includes of nsIJSRuntimeService.h. r=bholley
2015-06-26 18:44:13 -07:00
Cameron McCormack
f1d0bf37f6
Bug 1161413 - Part 4: Move FontFaceSet ownership from nsPresContext to nsIDocument. r=smaug
2015-06-27 11:39:54 +10:00
Andrea Marchesini
9be25c5399
Bug 1177916 - URLSearchParams::GetParentObject should not return nullptr, r=smaug
2015-06-26 17:44:34 -07:00
Ben Kelly
fb7d9df80e
Bug 1173467 P3 Pass private browsing flag into CacheStorage factory methods. r=ehsan
2015-06-26 17:42:56 -07:00
Ben Kelly
3cdfb4e1b4
Bug 1173467 P2 Add nsGlobalWindow utility method to get private browsing boolean. r=ehsan
2015-06-26 17:42:56 -07:00
Alexander Surkov
d8579797ab
Bug 1177268 - implement aria-rowcount/index and aria-colcount/index, r=marcoz
2015-06-26 14:41:22 -07:00
Patrick McManus
2cbbb281b8
bug 1174152 - crossorigin attribute for link rel=preconnect r=hsivonen
2015-06-19 17:11:42 -04:00
Ryan VanderMeulen
4a23b9e2bc
Backed out 11 changesets (bug 916893, bug 1114554) for various mochitest and Gij failures.
...
Backed out changeset 247ca4bf258e (bug 1114554)
Backed out changeset 5578d5c280a6 (bug 1114554)
Backed out changeset 404830c1ecf7 (bug 1114554)
Backed out changeset 15bdf9c78e6e (bug 1114554)
Backed out changeset f92abe5ec784 (bug 1114554)
Backed out changeset 75324b6862a8 (bug 1114554)
Backed out changeset ce8a768782f2 (bug 1114554)
Backed out changeset 0d860fd12534 (bug 1114554)
Backed out changeset 7dc2448065a9 (bug 916893)
Backed out changeset c3b07f0d1a60 (bug 916893)
Backed out changeset 61c3f24cc908 (bug 916893)
CLOSED TREE
2015-06-25 19:52:40 -04:00
Ryan VanderMeulen
55b2086097
Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage.
2015-06-25 19:48:42 -04:00
Andrea Marchesini
2e26b7957b
Bug 1177621 - SharedWorkers should not be shared between a private and a non-private documents, r=nsm
2015-06-26 11:18:18 -07:00
Andrea Marchesini
f4be042dc6
Bug 1156875 - patch 3 - nsIGlobalObject members correctly ordered in the header file, r=bz
2015-06-29 17:44:18 +01:00
Andrea Marchesini
04abd48c8b
Bug 1177916 - URL should be a nsWrapperCache object, r=smaug
2015-06-29 17:03:47 +01:00
Andrea Marchesini
b6226d258f
Bug 1177916 - URLSearchParams::GetParentObject should not return nullptr, r=smaug
2015-06-29 17:02:53 +01:00
Maksim Lebedev
945e761af9
Bug 1000870 - Add some features in testing system. r=smaug
2015-05-19 07:03:00 +02:00
Nikhil Marathe
2d46bad799
Bug 1114554 - Patch 1 - Notification ServiceWorker API stubs. r=wchen,baku
2015-03-10 18:57:09 -07:00
Juan Gomez
98461fc4a4
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-06-24 14:11:00 -04:00
Nikhil Marathe
8a733c36ef
Bug 1169044 - Patch 7 - Set mObserver in URLSearchParams. a=bustage.
...
A patch was landed on inbound that changed URLSearchParams to have multiple observers then got backed out, which broke this.
2015-06-25 11:44:34 -07:00
Nikhil Marathe
4d62cf0de7
Bug 1169044 - Patch 2 - Split URLSearchParams parsing logic into non-CCed URLParams. r=baku
2015-06-04 13:45:24 -07:00
Nikhil Marathe
5f7aa27266
Bug 1169044 - Patch 1 - Refactor setting referrer and referrer policy between fetch and XHR. r=khuey
2015-06-04 14:05:00 -07:00
Nikhil Marathe
2b07e52f76
Bug 1166350 - Push fixes for principals. r=kitcambridge,bholley
...
Fix xpcshell tests.
Add support for webapps-clear-data.
Trash old regs on idb version upgrade.
Use principal for permission check.
use principal in PushSubscription.
2015-06-24 13:34:54 -07:00
Ryan VanderMeulen
a7d736ee1c
Backed out changeset 98c7277a8fb5 (bug 1166350) for xpcshell failures.
2015-06-24 16:10:45 -04:00
Andrea Marchesini
6dc1c0a268
Bug 1174731 - patch 1 - Make searchParams attribute readonly, r=smaug
2015-06-24 12:15:59 -07:00
Olli Pettay
89571df050
Bug 1174951, test history API only after load event, r=bz
2015-06-24 12:13:15 -07:00
Nikhil Marathe
5cb984764e
Bug 1166350 - Push fixes for principals. r=kitcambridge,bholley
...
Fix xpcshell tests.
Add support for webapps-clear-data.
Trash old regs on idb version upgrade.
Use principal for permission check.
use principal in PushSubscription.
2015-06-02 15:56:33 -07:00
Andrea Marchesini
7790d14a6c
Bug 110567 - Remove nsIDocShell::GetURLSearchParams(), r=smaug
2015-06-24 06:49:07 -07:00
Andrea Marchesini
4f991476c3
Bug 1176034 - MessagePort should force a close() if the structured clone algorithm fails, r=bent
2015-06-23 15:50:00 -07:00
Carsten "Tomcat" Book
695dba3d73
Backed out changeset 4f4ceae7be1a (bug 1176034) for frequent bustages in Windows 8 x64 debug
2015-06-24 10:11:07 +02:00
Boris Zbarsky
e0ca02f595
Bug 1175031. Add telemetry for an Attr with a non-lowercase name that was created from an HTML document being added to a non-HTML element. r=smaug,froydnj
2015-06-24 00:44:02 -07:00
Boris Zbarsky
5989aa71ad
Bug 1176083. Remove the now-dead code for the XPCOM version of setTimeout/setInterval. r=smaug
...
I claim this code is dead because on the one hand it's no longer called from JS
(because Window is always on WebIDL bindings, but on the other hand it can't
really be called from C++ because it depends on examining the XPConnect call
information.
I think removing this completely, including from the IDL, is safe, because
nothing directly returns nsIDOMJSWindow, so anyone using its vtable would have
to QI to it and we're changing the IID.
2015-06-24 00:42:46 -07:00
Andrea Marchesini
7882def155
Bug 1176034 - MessagePort should force a close() if the structured clone algorithm fails, r=bent
2015-06-23 15:50:00 -07:00
Andrea Marchesini
67cc340ec1
Bug 1170809 - Improve the buffer size check in nsXMLHttpRequest::AppendToResponseText. r=ehsan, r=bz
2015-06-23 10:47:38 -04:00
Carsten "Tomcat" Book
6f38001205
Backed out changeset 3fca18104696 (bug 1170531) for e10s-m4 test failures in test_bug1067255.html
2015-06-22 15:21:02 +02:00
Michael Layzell
01d8a62f71
Bug 1170531 - Disable clipboard menu commands correctly in non-(X)HTML documents; r=ehsan
2015-06-22 08:13:26 -04:00
Shu-yu Guo
a415429fcd
Bug 1165486 - Use JS::CompileForNonSyntacticScope in Gecko where we used to set polluted global scope. (r=bz, rs=bholley)
2015-06-21 11:49:57 -07:00
Ryan VanderMeulen
96c9463fb7
Backed out changeset b6ac18409d64 (bug 1170809) for Werror bustage.
2015-06-21 08:31:02 -04:00
Andrea Marchesini
a0d4aaa334
Bug 1170809 - Improve the buffer size check in nsXMLHttpRequest::AppendToResponseText. r=ehsan, r=bz
2015-06-21 07:49:18 -04:00
Valentin Gosu
799fc8022a
Bug 1093611 - Stage 2 - Make hash getters not do percent decoding if dom.url.getters_decode_hash is false r=smaug
2015-06-15 15:55:02 +03:00
Valentin Gosu
b36789096d
Bug 1093611 - Stage 2 - Tests that hash getters don't do percent decoding r=smaug
2015-06-10 03:31:36 +03:00
Ms2ger
f676f86358
Bug 1173363 - Don't go through nsIDOMDocument in nsContentUtils::FlushLayoutForTree; r=khuey
2015-06-20 09:16:50 +02:00
Seth Fowler
e4f98fdfd0
Bug 1174923 - Stop delaying the document load event until images are decoded. r=tn a=kwierso
2015-06-19 15:55:12 -07:00
Ryan VanderMeulen
634b137092
Backed out 13 changesets (bug 1165486) for ASAN jsreftest crashes.
...
Backed out changeset 24966b67d232 (bug 1165486)
Backed out changeset 4a65eeea4d9a (bug 1165486)
Backed out changeset c5301aa7a2ae (bug 1165486)
Backed out changeset fea908d8a836 (bug 1165486)
Backed out changeset ca9561cbcd29 (bug 1165486)
Backed out changeset 91a3217d4cd0 (bug 1165486)
Backed out changeset e74163801eef (bug 1165486)
Backed out changeset ec5df87d2ee5 (bug 1165486)
Backed out changeset 17d21020a786 (bug 1165486)
Backed out changeset 6318eba2d3fe (bug 1165486)
Backed out changeset a103caa36183 (bug 1165486)
Backed out changeset 18c025c16bed (bug 1165486)
Backed out changeset b32fcdc115b6 (bug 1165486)
CLOSED TREE
2015-06-19 10:56:48 -04:00
Kartikaya Gupta
66035b2086
Bug 1163832 - Add an API to flush pending APZ repaint requests and dispatch a notification upon completion. r=botond
2015-06-19 08:25:41 -04:00
Carsten "Tomcat" Book
9381cd32af
Backed out changeset ed0707ffd26f (bug 1000870) for ongoing test failures in test_pointerevent
2015-06-19 12:50:20 +02:00
Shu-yu Guo
c4e22bc81b
Bug 1165486 - Use JS::CompileForNonSyntacticScope in Gecko where we used to set polluted global scope. (r=bz, rs=bholley)
2015-06-19 01:21:13 -07:00
Maksim Lebedev
a867ae3208
Bug 1000870 - Add some features in testing system. r=smaug
2015-05-19 07:03:00 +02:00
Phil Ringnalda
75964ee8f8
Back out 3a06964c6a52 (bug 1174923) for box-decoration-break-first-letter.html failures
2015-06-18 22:04:12 -07:00
Xidorn Quan
57713066cd
Bug 1174966 part 5 - Re-dispatch pointer lock request after all fullscreen requests finish. r=smaug
2015-06-19 10:09:52 +10:00
Xidorn Quan
18659ee3a3
Bug 1174966 part 4 - Move pending fullscreen counter manipulation from nsCallRequestFullScreen to FullscreenRequest. r=smaug
2015-06-19 10:09:52 +10:00
Xidorn Quan
b9d94d30b0
Bug 1174966 part 3 - Merge FullScreenOptions and FullscreenRequest and makes the latter a single object in the whole lifetime of a request. r=smaug
2015-06-19 10:09:52 +10:00
Xidorn Quan
6f6102976b
Bug 1174966 part 2 - Replace mAsyncFullscreenPending flag with mPendingFullscreenRequests counter. r=smaug
2015-06-19 10:09:52 +10:00
Xidorn Quan
75ad362d04
Bug 1174966 part 1 - Change type of mCancelledPointerLockRequests field from uint32_t to bit field. r=smaug
2015-06-19 10:09:52 +10:00
Seth Fowler
1f3cca3d05
Bug 1174923 - Stop delaying the document load event until images are decoded. r=tn
2015-06-18 16:12:10 -07:00
Ryan VanderMeulen
5cfe4eaf4b
Backed out 14 changesets (bug 1165486) for causing frequent crashes/asserts in automation.
...
Backed out changeset 1db9723f1617 (bug 1165486)
Backed out changeset 662ec8b0561e (bug 1165486)
Backed out changeset 97352c48fb98 (bug 1165486)
Backed out changeset 4143cca42cc7 (bug 1165486)
Backed out changeset 5abb37cb0495 (bug 1165486)
Backed out changeset 7b157964c572 (bug 1165486)
Backed out changeset 5c01ab1d9790 (bug 1165486)
Backed out changeset 0e00d8a3ca1d (bug 1165486)
Backed out changeset 5e88d482f5e8 (bug 1165486)
Backed out changeset 513bbca6fb6c (bug 1165486)
Backed out changeset 64fa28f0255a (bug 1165486)
Backed out changeset 7a404929c74c (bug 1165486)
Backed out changeset 1dc0d6adf6ed (bug 1165486)
Backed out changeset 381003ca79a3 (bug 1165486)
CLOSED TREE
2015-06-18 13:05:10 -04:00
Ryan VanderMeulen
01da43456f
Backed out 7 changesets (bug 1113086) for various Gaia test failures.
...
Backed out changeset eb7e79a2c9e9 (bug 1113086)
Backed out changeset 3562a09b2bf3 (bug 1113086)
Backed out changeset 127cde112795 (bug 1113086)
Backed out changeset 84dc903151c1 (bug 1113086)
Backed out changeset 42dc5dbabdcd (bug 1113086)
Backed out changeset e1ad68356a74 (bug 1113086)
Backed out changeset 86b32f5442f2 (bug 1113086)
2015-06-18 13:00:25 -04:00
Andrea Marchesini
295c7b025a
Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan
2015-06-18 15:56:58 +01:00
Carsten "Tomcat" Book
9c8dbc3e94
Backed out changeset 7b09594541f3 (bug 1148935)
2015-06-18 09:48:01 +02:00
Masayuki Nakano
df1ecd1af8
Bug 1175442 Make nsContentUtils::SendKeyEvent() take nsIWidget* rather than nsCOMPtr<nsIWidget> r=smaug
2015-06-18 13:41:28 +09:00
Shu-yu Guo
95b4d04c31
Bug 1165486 - Use JS::CompileForNonSyntacticScope in Gecko where we used to set polluted global scope. (r=bz, rs=bholley)
2015-06-17 21:26:57 -07:00
Ehsan Akhgari
e29f0b961a
Bug 1148935 - Correctly reflect worker and sharedworker RequestContext values; r=smaug
2015-06-17 17:48:45 -04:00
Ryan VanderMeulen
aff6e663bd
Backed out changeset 439e1f841ea2 (bug 1148935) for Werror bustage.
...
CLOSED TREE
2015-06-17 15:48:16 -04:00
Ehsan Akhgari
231f975d2a
Bug 1148935 - Correctly reflect worker and sharedworker RequestContext values; r=smaug
2015-06-17 15:09:07 -04:00
Nick Fitzgerald
6df5f8d965
Bug 1149294 - Part 3: Split thread-safe methods on ChromeUtils out into a new
...
ThreadSafeChromeUtils interface and move the utils interfaces into dom/base;
r=bholley
2015-06-17 11:12:23 -07:00
David Parks
0d902521e3
Bug 1096550 - Update content scale when swapping remote tabs between windows. r=roc.
...
We need to do this in case the windows we are swapping between have different
content scales (ie. HiDPI vs LowDPI).
2015-06-16 13:40:55 -04:00
Kartikaya Gupta
24d4f1abb8
Bug 1055557 - Constify some methods. r=botond
2015-06-17 12:32:42 -04:00
Carsten "Tomcat" Book
7c76048c28
Backed out changeset feb7cd25aafb (bug 1174152) for mulet timeout in test_rel_preconnect.html
2015-06-17 16:58:57 +02:00
Hiroyuki Ikezoe
5492f46f7c
Bug 1175344 - Include nsContentUtils.h explicitly to avoid compile error on unified building. r=ehsan
2015-06-16 16:39:00 +02:00
Patrick McManus
1cd7ac366a
bug 1174152 link rel=preconnect crossorigin=anonymous r=hsivonen
2015-05-06 10:09:27 -04:00
Birunthan Mohanathas
4c9a85e3c8
Bug 1103651 - Merge content/test/unit/ into dom/base/test/unit/. r=mrbkap
2015-06-17 06:38:22 -07:00
Andrea Marchesini
b3cf1fa93d
Bug 1170246 - Improving nsGlobalWindow::ConvertDialogOptions and adding some gTests, r=ehsan
2015-06-17 12:17:33 +01:00
Andrea Marchesini
332a2ea9d0
Bug 911972 - MessagePort and MessageChannel in workers, r=smaug, r=bent
2015-06-17 11:44:27 +01:00
Nicholas Nethercote
c2df231328
Bug 1174625 - Overhaul PLDHashTable's iterator. r=froydnj.
...
This change splits PLDHashTable::Iterator::NextEntry() into two separate
functions, which allow you to get the current element and advance the iterator
separately, which means you can use a for-loop to iterate instead of a
while-loop.
As part of this change, the internals of PLDHashTable::Iterator were
significantly changed and simplified (and modelled after js::HashTable's
equivalent code). It's no longer duplicating code from PL_DHashTableEnumerator.
The chaos mode code was a casualty of this, but given how unreliable that code
has proven to be (see bug 1173212, bug 1174046) this is for the best. (We can
reimplement chaos mode once PLDHashTable::Iterator is back on more solid
footing again, if we think it's important.)
All these changes will make it much easier to add an alternative Iterator that
removes elements, which was turning out to be difficult with the prior code.
In order to make the for-loop header usually fit on a single line, I
deliberately renamed a bunch of things to have shorter names.
In summary, you used to write this:
PLDHashTable::Iterator iter(&table);
while (iter.HasMoreEntries()) {
auto entry = static_cast<FooEntry*>(iter.NextEntry());
// ... do stuff with |entry| ...
}
// iter's scope extends beyond here
and now you write this:
for (auto iter = table.Iter(); !iter.Done(); iter.Next()) {
auto entry = static_cast<FooEntry*>(iter.Get());
// ... do stuff with |entry| ...
}
// iter's scope doesn't reach here
2015-06-11 21:19:53 -07:00
Ryan VanderMeulen
5b9b7a5ea3
Backed out changesets a08167680328 and b008f158e91f (bug 1093611) for talos svgr timeouts.
2015-06-16 15:37:37 -04:00
Valentin Gosu
e54b529544
Bug 1093611 - Stage 2 - Make hash getters not do percent decoding if dom.url.getters_decode_hash is false r=smaug
2015-06-16 19:46:31 +03:00
Valentin Gosu
4e75ea5291
Bug 1093611 - Stage 2 - Tests that hash getters don't do percent decoding r=smaug
2015-06-16 19:46:18 +03:00
Boris Zbarsky
f8b47c5fa7
Bug 1165851 part 2. Add a test for the desired createAttribute/getAttribute behavior. r=smaug
2015-06-16 12:18:00 -04:00
Boris Zbarsky
2c051d62ba
Bug 1165851 part 1. Back out bug 1060938 and bug 1075702 pending spec changes because they are implementing a spec that's not web compatible. r=smaug
2015-06-16 12:17:57 -04:00
Ehsan Akhgari
e473d353b6
Bug 1175122 - Add more assertions to the in-tree content policy implementations to ensure that they receive external content policy types; r=baku
2015-06-16 11:38:53 -04:00
Carsten "Tomcat" Book
d786545396
Merge mozilla-central to mozilla-inbound
2015-06-16 16:24:17 +02:00
Ehsan Akhgari
d9c3cc1f26
Bug 1174982 - Add the new nsContentPolicyType values to the DBSchema.cpp static_assert; r=bkelly
...
Added a comment to nsIContentPolicyBase.idl since even I forgot to do this.
2015-06-16 10:42:31 -04:00
Carsten "Tomcat" Book
9a4e1b53a6
merge mozilla-inbound to mozilla-central a=merge
2015-06-16 16:08:27 +02:00
Carsten "Tomcat" Book
2253b50780
Backed out changeset 8031242fe5e5 (bug 1165486)
2015-06-16 10:45:29 +02:00
Jocelyn Liu
9c2669be88
Bug 1167064 - Patch1: Switch to bluetooth APIv2. r=shuang
2015-06-16 09:38:50 +08:00
Shu-yu Guo
b8c6889a41
Bug 1165486 - Use JS::CompileForNonSyntacticScope in Gecko where we used to set polluted global scope. (r=bz, rs=bholley)
2015-06-15 21:32:30 -07:00
Ryan VanderMeulen
c2d0806581
Backed out changeset 1d67d747b3eb (bug 911972) for frequent linux64 debug e10s test_post_message_advanced.html timeouts.
...
CLOSED TREE
2015-06-15 13:06:23 -04:00
Andrea Marchesini
a36cc3fb5e
Bug 911972 - MessagePort and MessageChannel in workers, r=smaug, r=bent
2015-06-15 14:08:25 +01:00
Nicholas Nethercote
5841f4ff4b
Bug 1172784 (part 2) - Remove PL_DHashTableEnumerate use from nsContentUtils. r=mccr8.
2015-06-10 13:07:40 -07:00
Nicholas Nethercote
4ba64f3c86
Bug 1172784 (part 1) - Remove unused argument from UnmarkGrayJSListenersInCCGenerationDocuments(). r=mccr8.
...
This is possible because ListenerEnumerator() doesn't do anything with the
|aArg| argument.
2015-06-10 13:07:40 -07:00
Daniel Holbert
78148335a4
Bug 1125325 followup: Add missing 'override' keyword to TabChild::GetInnerSize() and nsWindowRoot::AddBrowser(), RemoveBrowser(), EnumerateBrowsers(). rs=ehsan
2015-06-08 10:24:56 -07:00
David Parks
a72dd8f316
Bug 1125325 - Store TabParents with their WindowRoot. r=smaug
...
nsContentUtils::CallOnAllRemoteChildren calls a callback on all tabs
connected to a given window but it has only worked in Firefox e10s tabs.
This patch adds a list of (weak) references to each top-level document's
WindowRoot so that e.g. the nsPresContext can access them instead of
using nsContentUtils. This provides a solution to the problem of finding remote PBrowsers generally.
2015-06-07 22:39:39 -07:00
Jonathan Watt
09336550af
Bug 1173314 - Make GetMozFullPath and GetMozFullPathInternal const. r=sicking
2015-06-03 01:11:16 +01:00
Wes Kocher
c2daa517f7
Backed out 12 changesets (bug 1165486) for windows spidermonkey failures CLOSED TREE
...
Backed out changeset ce3c302864bf (bug 1165486)
Backed out changeset f69852001c61 (bug 1165486)
Backed out changeset 06cc09729bf4 (bug 1165486)
Backed out changeset 52772afc023e (bug 1165486)
Backed out changeset 502ddf7d2268 (bug 1165486)
Backed out changeset b04ab7bd78af (bug 1165486)
Backed out changeset 53fcddbe4cfb (bug 1165486)
Backed out changeset 63bd369e5349 (bug 1165486)
Backed out changeset 1e35269a8062 (bug 1165486)
Backed out changeset e3c11d517e18 (bug 1165486)
Backed out changeset ccd90228daf6 (bug 1165486)
Backed out changeset eb11e655d223 (bug 1165486)
2015-06-15 18:07:52 -07:00
Shu-yu Guo
0b4f672545
Bug 1165486 - Use JS::CompileForNonSyntacticScope in Gecko where we used to set polluted global scope. (r=bz, rs=bholley)
2015-06-15 17:38:01 -07:00
Boris Zbarsky
0f5c0e6231
Bug 1174486 part 4. Stop reporting exceptions in nsJSUtils::EvaluateString and have its consumers use AutoJSAPIs that take ownership of error reporting instead. r=bholley
2015-06-15 20:11:06 -04:00
Boris Zbarsky
dfefbdf71b
Bug 1174486 part 3. Eliminate the unused codepath on which EvaluateOptions::reportUncaught is false. r=bholley
2015-06-15 20:10:50 -04:00
Boris Zbarsky
3d48008d40
Bug 1174486 part 2. Add a way to explicitly report a pending exception on an AutoJSAPI that has taken ownership of error reporting. r=bholley
...
This is needed for some cases that currently report an exception and then do
some other work on the same cx (specifically, nsXBLProtoImplField::InstallField).
2015-06-15 20:10:38 -04:00
Ehsan Akhgari
846765062e
Bug 1174307 - Add some internal content policy types for the purpose of reflecting them on RequestContext; r=sicking
...
These new content policy types will be internal ones that we will map
to external nsContentPolicyTypes before passing them to content policy
implementations.
2015-06-15 15:40:26 -04:00
Olli Pettay
a578f63d48
Bug 1173215, don't set mChromeXHRDocURI when dealing with non-XHR documents, r=bz
2015-06-13 02:34:52 +03:00
Jan de Mooij
b92d3be8ac
Bug 1114079 - Fix overrecursion check in nsGlobalWindow::SetNewDocument to not report a JS exception. r=bz
2015-06-12 09:41:16 +02:00
Xidorn Quan
ab2cb7414f
Bug 1168028 part 2 - Revert DOM fullscreen state after window finish resizing if we need to. r=smaug,dao
2015-06-12 13:24:45 +12:00
Xidorn Quan
dfda20312e
Bug 1168028 part 1 - Ensure to exit document fullscreen state when back from DOM fullscreen to fullscreen mode. r=smaug
2015-06-12 13:24:45 +12:00
Andreas Pehrson
937d313731
Bug 1162357 - Convert some usage of DataSourceSurface::GetData() to Map(). r=bas
2015-06-10 19:01:00 +08:00
Andrew Comminos
e5218dd641
Bug 1167356
- Handle return value of DataSourceSurface::Map wherever possible. r=Bas
2015-06-11 13:06:23 -04:00
Markus Stange
ca3c31219b
Bug 1163105 - Make nsReferencedElement work with referencing elements that are not in their document's DOM tree. r=roc
2015-05-28 16:59:00 -04:00
Masayuki Nakano
e7fa5963b8
Bug 1119133 Implement TextEventDispatcher::EndInputTransaction() for ensuring TextEventDispatcher forgets the link with TextInputProcessor r=smaug
2015-06-11 12:53:42 +09:00
Karl Tomlinson
fe0fee93bd
bug 1172377 change RunInStableState API to receive ownership of nsIRunnable r=roc
2015-06-08 11:06:38 +12:00
Karl Tomlinson
5ca502c778
bug 1171785 use nsContentUtils::RunInStableState() r=bholley
2015-06-11 14:36:12 +12:00
Karl Tomlinson
cc5c7cf737
bug 1116382 test auto-revoking behavior with URL.createObjectURL(MediaSource) r=bholley
2015-05-29 00:01:34 +12:00
Karl Tomlinson
7e2353ac43
bug 1116382 auto revoke MediaSource object URLs r=bholley
2015-06-05 15:55:08 +12:00
Karl Tomlinson
2e41c8c701
bug 1171785 create nsContentUtils::RunInStableState helper r=bholley
2015-06-05 16:19:37 +12:00
Wes Kocher
855aae2832
Backed out changeset d73a15153b3b (bug 1168028) for browser_domFullscreen_fullscreenMode.js failures CLOSED TREE
2015-06-10 16:03:44 -07:00
Xidorn Quan
0a01203568
Bug 1168028 - Revert DOM fullscreen state after window finish resizing if we need to. r=smaug,dao
2015-06-11 09:45:06 +12:00
Nicholas Nethercote
b4e1ecb293
Bug 1171833 - Remove PL_DHashTableEnumerator use from nsPropertyTable. r=smaug.
2015-06-08 16:01:23 -07:00
Nicholas Nethercote
2a0b2fc05d
Bug 1171832 - Remove PL_DHashTableEnumerator use from nsDocument. r=smaug.
2015-06-08 16:07:46 -07:00
Kartikaya Gupta
93f272c174
Back out 3 csets from bug 1125325 for introducing bug 1173224. r=me
2015-06-10 15:55:34 -04:00
Ryan VanderMeulen
976eae61f0
Backed out changeset 7e51efbbf1d6 (bug 1170809) for somehow making ASAN opt builds perma-timeout.
...
CLOSED TREE
2015-06-10 15:30:10 -04:00
Andrea Marchesini
23ae4c5dee
Bug 1170809 - Improve the buffer size check in nsXMLHttpRequest::AppendToResponseText. r=ehsan
2015-06-10 11:22:12 -04:00
Andrea Marchesini
0628a7464e
Bug 1155153 - about:serviceworkers should work in e10s mode, r=nsm, r=bholley
2015-06-04 19:51:57 +01:00
Carsten "Tomcat" Book
25efa9c058
Backed out changeset dfdca3f63b48 (bug 1170809) for causing linux/android crashes on a CLOSED TREE
2015-06-10 16:22:45 +02:00
Andrea Marchesini
12928296f0
Bug 1170809 - Improve the buffer size check in nsXMLHttpRequest::AppendToResponseText. r=ehsan
2015-06-10 09:25:14 -04:00
Christoph Kerschbaumer
b18efc68c6
Bug 1117650 - Part 3: Move all CSP tests into dom/security/test. r=sstamm
2015-06-08 16:21:50 -07:00
Christoph Kerschbaumer
611619315b
Bug 1117650 - Part 2: Move all MixedContent tests into dom/security/test. r=tanvi
2015-06-08 16:21:43 -07:00
Christoph Kerschbaumer
0514cecbc6
Bug 1117650 - Part 1: Move all CORS tests into dom/security/test. r=sicking
2015-06-08 16:21:31 -07:00
Xidorn Quan
2c8852b27f
Bug 1161802 part 7 - Put document into fullscreen state after window becomes fullscreen. r=smaug,dao
2015-06-10 23:13:12 +12:00
Xidorn Quan
a4b51308f4
Bug 1161802 part 6 - Extract FullscreenRoots::{Add,Remove} to call site of ShowWindowFullscreen. r=smaug
2015-06-10 23:13:12 +12:00
Xidorn Quan
db793f1919
Bug 1161802 part 5 - Make applying fullscreen state an independent method. r=smaug
2015-06-10 23:13:12 +12:00
Xidorn Quan
918608426d
Bug 1161802 part 4 - Move bool parameters info FullScreenOptions for clearer call sites. r=smaug
2015-06-10 23:13:12 +12:00
Xidorn Quan
999e0b0187
Bug 1161802 part 3 - Make fullscren element ready check an independent method. r=smaug
2015-06-10 23:13:12 +12:00
Xidorn Quan
e02af14d81
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.
2015-06-10 23:13:12 +12:00
Kan-Ru Chen
19a0ed481c
Bug 1172889 - Reorder nsFrameLoader member declarations. r=smaug
2015-06-10 17:44:20 +08:00
Kan-Ru Chen
97797c3c30
Bug 1172889 - Rename nsFrameLoader::GetCurrentRemoteFrame to nsFrameLoader::GetCurrentRenderFrame. r=roc
2015-06-10 17:44:14 +08:00
Kan-Ru Chen
c9945af4b9
Bug 1172889 - Get current RenderFrameParent from TabParent directly. r=roc
2015-06-10 17:44:10 +08:00
Kan-Ru Chen
ec3584d9e7
Bug 1172889 - Remove unused nsFrameLoader::mContentParent. r=smaug
2015-06-10 17:44:06 +08:00
Kan-Ru Chen
a14ad9e47a
Bug 1172889 - Remove unused nsFrameLoader::DestroyChild. r=smaug
2015-06-10 17:44:01 +08:00
Xidorn Quan
04610d35de
Bug 1166960 - Remove redundant call to UnlockPointer and unnecessary check before calling that function. r=smaug
2015-06-10 13:14:57 +12:00
Ehsan Akhgari
c2bad59225
Bug 1143570 - Part 1: Use an nsBlockInFlowLineIterator to determine whether a BR frame is visible or not; r=roc
2015-06-09 15:58:55 -04:00
Daniel Holbert
7993068137
Bug 1125325 followup: Add missing 'override' keyword to TabChild::GetInnerSize() and nsWindowRoot::AddBrowser(), RemoveBrowser(), EnumerateBrowsers(). rs=ehsan
2015-06-08 10:24:56 -07:00
Kathy Brade
be0ea65a02
Bug 418986 - Resist fingerprinting by preventing exposure of screen and system info. r=mrbkap, r=heycam
2015-06-07 09:02:00 -04:00
Mason Chang
a5b1546e15
Bug 1077651 Measure frame uniformity by synthesizing native events. r=kats,mrbkap
2015-06-08 09:53:41 -07:00
David Parks
177e150b29
Bug 1125325 - Store TabParents with their WindowRoot. r=smaug
...
nsContentUtils::CallOnAllRemoteChildren calls a callback on all tabs
connected to a given window but it has only worked in Firefox e10s tabs.
This patch adds a list of (weak) references to each top-level document's
WindowRoot so that e.g. the nsPresContext can access them instead of
using nsContentUtils. This provides a solution to the problem of finding remote PBrowsers generally.
2015-06-07 22:39:39 -07:00
Xidorn Quan
f9088323a7
Bug 1170911 - Add pref for switching off execCommand("cut"/"copy"). r=ehsan
2015-06-08 10:21:58 +12:00
Muhsin A. Steiman
f0b846b211
Bug 1170799 - removes unused declaration setBlockingOnLoad. r=smaug
2015-06-03 05:01:00 +02:00
Piervincenzo Parisi
d405ffeefb
Bug 1164616 - "nsFrameLoader::DelayedStartLoadingRunnable is unused". r=josh
2015-05-21 02:25:00 +02:00
Carsten "Tomcat" Book
05ce1029d0
Backed out changeset bc305c9b5d05 (bug 1155153) for b2g xpshell test failure on a CLOSED TREE
2015-06-05 13:07:51 +02:00
Chris Pearce
f915e37f0e
Bug 1169129 - Make DOMException::Create(nsresult, nsCString) accept nsACString. r=bholley
2015-06-05 21:55:52 +12:00
Ms2ger
a17c292d15
Bug 1171451 - Use the correct type for the argv argument to NS_CreateJSArgv and the nsJSArgArray constructor; r=jst
2015-06-05 11:23:00 +02:00
Andrea Marchesini
4283f0af5f
Bug 1155153 - about:serviceworkers should work in e10s mode, r=nsm, r=bholley
2015-06-04 19:51:57 +01:00
Chris Peterson
fd40bf471d
Bug 1169945 - Remove unused plugins.enumerable_names whitelist. r=bsmedberg
2015-05-29 22:42:23 -07:00
Marcos Caceres
f4b475e3bb
Bug 1170385 - Adds csp-on-violate-policy to RemoteAddonsParent.jsm. r=billm
...
* Adds csp-on-violate-policy to TOPIC_WHITELIST of RemoteAddonsParent.jsm + enables dependent tests
* Enables dependent tests
---
dom/base/test/csp/browser.ini | 1 -
toolkit/components/addoncompat/RemoteAddonsParent.jsm | 1 +
2 files changed, 1 insertion(+), 1 deletion(-)
2015-06-04 18:17:32 -04:00
David Anderson
53244f3c1b
Use widgets for APZ checks, rather than gfxPrefs. (bug 1162064, r=kats,mstange)
2015-06-04 16:51:10 -04:00
Kartikaya Gupta
1b00006d7a
Bug 1164218 - Allow running individual mochitests and reftests in chaos mode. r=roc,froydnj
2015-06-04 13:44:55 -04:00
Nathan Froyd
ce0593c31a
Bug 1171061 - use std::bitset for deprecation and document warnings in nsDocument; r=smaug
2015-06-02 16:01:37 -04:00
Xidorn Quan
2f5ac63dc4
Bug 1105939 part 6 - Add a method to nsIWidget for widget to distinguish between fullscreen mode and DOM fullscreen. r=roc
2015-06-04 13:49:34 +12:00
Xidorn Quan
969810332d
Bug 1105939 part 5 - Rename parameter aRequireTrust of SetFullScreenInternal to aFullscreenMode for increased clarity. r=smaug
2015-06-04 13:49:34 +12:00
Eric Rahm
29f00ac208
Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
...
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
PR_LOG_ERROR -> LogLevel::Error
PR_LOG_WARNING -> LogLevel::Warning
PR_LOG_WARN -> LogLevel::Warning
PR_LOG_INFO -> LogLevel::Info
PR_LOG_DEBUG -> LogLevel::Debug
PR_LOG_NOTICE -> LogLevel::Debug
PR_LOG_VERBOSE -> LogLevel::Verbose
Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.
Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-03 15:25:57 -07:00
Eric Rahm
f3d0db1203
Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj
2015-06-03 15:22:28 -07:00
Carsten "Tomcat" Book
1a0a135370
merge mozilla-inbound to mozilla-central a=merge
2015-06-03 13:49:47 +02:00
Wes Kocher
37b4db062c
Merge m-c to fx-team, a=merge
2015-06-02 18:44:31 -07:00
Wes Kocher
dd975b7704
Merge inbound to central, a=merge
2015-06-02 18:20:12 -07:00
Jordan Santell
d3cfe7f553
Bug 1170671 - ProfileTimelineMarkers that use TRACING_TIMESTAMP should capture stack information. r=smaug
2015-06-02 16:16:32 -07:00
Kyle Zentner
a09420327f
Bug 1169837
- Remove box-sizing: padding-box in FF UI & Gecko Tests. r=dholbert
2015-06-02 08:46:00 -04:00
Carsten "Tomcat" Book
8bd207cde7
Merge mozilla-central to fx-team
2015-06-02 13:17:21 +02:00
Wes Kocher
bd796581dc
Backed out 14 changesets (bug 1165515) for b2g mochitest-6 permafail CLOSED TREE
...
Backed out changeset 9b97e2aa2ed9 (bug 1165515)
Backed out changeset 150606c022a2 (bug 1165515)
Backed out changeset 4e875a488349 (bug 1165515)
Backed out changeset 467e7feeb546 (bug 1165515)
Backed out changeset d6b6cc373197 (bug 1165515)
Backed out changeset 0615265b593c (bug 1165515)
Backed out changeset fafd1dce9f08 (bug 1165515)
Backed out changeset d1df869245f9 (bug 1165515)
Backed out changeset 6876a7c63611 (bug 1165515)
Backed out changeset b7841c94a9a3 (bug 1165515)
Backed out changeset e5e3617f7c73 (bug 1165515)
Backed out changeset 39be3db95978 (bug 1165515)
Backed out changeset 0ec74176f8de (bug 1165515)
Backed out changeset 5b928dd10d71 (bug 1165515)
2015-06-01 17:57:58 -07:00
Tim Taubert
f6731fe5be
Bug 1156065 - Send cloneable messages from SiteSpecificUserAgent.js to fix UA overrides r=billm
2015-05-30 09:07:59 +02:00
Nicholas Nethercote
94baddf190
Bug 1170416 (part 5) - Remove PLDHashTable::IsInitialized(). r=froydnj.
...
|mOps| is always non-null now, and there's no longer any distinction between
and uninitialized and initialized table. Yay.
2015-05-20 21:23:55 -07:00
Nicholas Nethercote
265569e6b8
Bug 1170416 (part 3) - Remove the PLDHashTable2 typedef. r=froydnj.
2015-05-19 16:46:17 -07:00
Edwin Flores
97ac832aa7
Bug 1160445 - Add detailed logging for EME promise failures - r=cpearce,bholley
2015-06-03 13:42:50 +12:00
Wes Kocher
315a009cb0
Merge m-c to inbound, a=merge
2015-06-02 18:43:25 -07:00
Seth Fowler
f733fb66a3
Bug 1170680 - Do not add non-animated images to the visible list in response to UNLOCKED_DRAW. r=tn
2015-06-02 18:29:50 -07:00
Xidorn Quan
2b3a3835a4
Bug 1170328 - Mark nsIDocument::WarnOnceAbout() with const. r=smaug
2015-06-03 11:27:27 +12:00
Eric Rahm
ae32743ed2
Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
...
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
PR_LOG_ERROR -> LogLevel::Error
PR_LOG_WARNING -> LogLevel::Warning
PR_LOG_WARN -> LogLevel::Warning
PR_LOG_INFO -> LogLevel::Info
PR_LOG_DEBUG -> LogLevel::Debug
PR_LOG_NOTICE -> LogLevel::Debug
PR_LOG_VERBOSE -> LogLevel::Verbose
Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.
Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 14:31:01 -07:00
Eric Rahm
aa2c33e0cf
Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj
2015-06-01 14:31:00 -07:00
Botond Ballo
77646296c3
Bug 1166382 - Use the adjusted full zoom in nsDocument::GetViewportInfo(). r=tn
2015-05-29 14:28:05 -04:00
Simon Montagu
51db4dd1e8
Bug 1169267: treat an empty nsTextDirectionalityMap as missing when changing text content
2015-06-01 18:31:42 +03:00
Ben Kelly
62ee5281ea
Bug 1157619 P1 Network requests should not be intercepted when force-refreshed. r=smaug
2015-06-01 10:53:18 -04:00
Terrence Cole
2f77b243fb
Bug 1166789 - Cleanup javascript.options.mem.log formatting; r=sfink, r=mccr8
2015-05-20 09:14:29 -07:00
Boris Zbarsky
42bcbd732b
Bug 1168207. Be a bit more careful with overflow checking in XHR. r=baku
2015-05-29 15:46:12 -04:00
Olli Pettay
45670b5e65
Bug 1149891, backout bug 1081038 because it made us run mutation observer callbacks against the spec, part 2, r=bholley
2015-05-29 19:11:09 +03:00
Olli Pettay
e3af630b33
Bug 1149891, backout bug 1081038 because it made us run mutation observer callbacks against the spec, part 1, r=bholley
2015-05-29 19:10:19 +03:00
Ryan VanderMeulen
b58e99e15e
Backed out changeset 4126c66c9a80 (bug 1166728) for Gaia sound_manager_test.js failures.
...
CLOSED TREE
2015-05-29 15:16:53 -04:00
Kyle Zentner
ca1661674b
Bug 1166728 - Remove box-sizing: padding-box, as per CSS WG. r=dholbert
2015-05-29 09:17:00 -04:00
Ryan VanderMeulen
19d53c1f82
Backed out changeset 541cd29ea626 (bug 1166728) because the updated patch wasn't posted to the bug.
2015-05-29 12:48:22 -04:00
Tom Tromey
1c85ca7862
Bug 1168593 - Make AutoStableStringChars::init use MOZ_WARN_UNUSED_RESULT. r=jandem
2015-05-28 11:57:00 -04:00
Kyle Zentner
0e984c6e22
Bug 1166728 - Remove box-sizing: padding-box, as per CSS WG. r=dholbert
2015-05-27 09:57:00 -04:00
Franziskus Kiefer
3939dce458
Bug 1168538 - Add compiled code test for referrer directive to TestCSPParser. r=ckerschb
2015-05-28 15:02:23 -07:00
Michael Layzell
d13b4deea8
Bug 1168115 - Null CSSStyleSheet::mOwningPtr in the nsStyleLinkElement Unlink method. r=heycam
2015-05-25 08:00:00 -04:00
Ryan VanderMeulen
ddd85db64d
Merge m-c to inbound. a=merge
2015-05-29 09:42:38 -04:00
Ryan VanderMeulen
90fcd7d1ec
Merge inbound to m-c. a=merge
2015-05-29 09:32:46 -04:00
Gijs Kruitbosch
8a025018a0
Bug 1104732 - having deferred scripts shouldn't cause async scripts to delay domcontentloaded, r?smaug
2015-05-28 13:40:07 +01:00
J. Ryan Stinnett
9c1aa67ef2
Bug 1168823 - Repair XML syntax highlighting. r=jst
2015-05-28 09:12:41 -05:00
Tim Taubert
42f3ea1d46
Backed out changeset 2d3d97b49116 (bug 1156065) to fix a busted and CLOSED TREE
2015-05-28 15:17:55 +02:00
Tim Taubert
aeaa7c1688
Bug 1156065 - Send cloneable messages from SiteSpecificUserAgent.js to fix UA overrides r=billm
2015-05-25 21:47:08 +02:00
Cameron McCormack
9aef4fd272
Bug 1168299 - Break out style struct memory usage reporting from pres-shell. r=njn
2015-05-27 12:08:42 +10:00
David Major
61a43d740f
Bug 1167189: Use a size annotation on the OOM abort. r=bholley
2015-05-26 17:04:24 -04:00
Nikhil Marathe
da3773fb78
Bug 1168676 - Switch off embed/object ServiceWorker interception. r=ehsan
...
I would have liked to watch for onerror on the tags instead of having these
todos(), but onerror does not seem to fire. I have locally verified that the
test does indeed receive 404s on the network console.
2015-05-28 16:27:45 -07:00
Wes Kocher
35879ab75a
Backed out changeset 3b09b61cdb45 (bug 1168676) for causing assertion failures CLOSED TREE
2015-05-28 11:45:56 -07:00
Birunthan Mohanathas
cd748a7266
Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElement calls. r=froydnj
2015-05-28 11:07:44 -07:00
Birunthan Mohanathas
399e0c3be3
Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElements calls. r=froydnj
2015-05-28 11:07:43 -07:00
Nikhil Marathe
5a921eaca5
Bug 1168676 - Switch off embed/object ServiceWorker interception. r=ehsan
...
I would have liked to watch for onerror on the tags instead of having these
todos(), but onerror does not seem to fire. I have locally verified that the
test does indeed receive 404s on the network console.
2015-05-27 16:36:44 -07:00
Ryan VanderMeulen
4d0124e866
Backed out changeset dd96df1da2b5 (bug 1166728) for making test_bug320799.html permafail on Mulet.
...
CLOSED TREE
2015-05-28 11:01:18 -04:00
Kyle Zentner
55a9911f0d
Bug 1166728 - Remove box-sizing: padding-box, as per CSS WG. r=dholbert
2015-05-27 09:57:00 -04:00
Hiroyuki Ikezoe
df5f356af7
Bug 1168726 - Use performange.getEntriesByType instead of getEntries in test if there is no clear reason. r=baku
2015-05-27 14:50:00 +02:00
Franziskus Kiefer
f9afc3bf7b
Bug 1165501 - using most recent referrer policy found in the document. r=sstamm
2015-05-27 13:29:00 -07:00
Michael Layzell
36836569ab
Bug 1012662 - Part 2 - Updates to clipboard command controllers to match cut/copy action spec. r=ehsan
2015-05-13 08:51:00 +02:00
Marcos Caceres
f972ad8544
Bug 1089255 - Implement and test manifest-src CSP directive. r=bholley, r=dveditz, r=ckerschb
...
---
dom/base/nsContentPolicyUtils.h | 1 +
dom/base/nsDataDocumentContentPolicy.cpp | 3 +-
dom/base/nsIContentPolicy.idl | 2 +-
dom/base/nsIContentPolicyBase.idl | 7 +-
dom/base/nsISimpleContentPolicy.idl | 2 +-
dom/base/test/csp/browser.ini | 4 +
dom/base/test/csp/browser_test_web_manifest.js | 265 +++++++++++++++++++++
.../csp/browser_test_web_manifest_mixed_content.js | 55 +++++
dom/base/test/csp/file_CSP_web_manifest.html | 6 +
dom/base/test/csp/file_CSP_web_manifest.json | 1 +
.../test/csp/file_CSP_web_manifest.json^headers^ | 1 +
dom/base/test/csp/file_CSP_web_manifest_https.html | 4 +
dom/base/test/csp/file_CSP_web_manifest_https.json | 1 +
.../csp/file_CSP_web_manifest_mixed_content.html | 9 +
.../test/csp/file_CSP_web_manifest_remote.html | 8 +
dom/base/test/csp/file_csp_testserver.sjs | 14 +-
dom/base/test/csp/mochitest.ini | 7 +
dom/base/test/moz.build | 5 +-
dom/fetch/InternalRequest.cpp | 3 +
dom/fetch/InternalRequest.h | 2 +-
.../security/nsIContentSecurityPolicy.idl | 3 +-
dom/ipc/manifestMessages.js | 25 +-
dom/security/nsCSPUtils.cpp | 7 +
dom/security/nsCSPUtils.h | 10 +-
dom/security/nsMixedContentBlocker.cpp | 1 +
dom/webidl/CSPDictionaries.webidl | 1 +
extensions/permissions/nsContentBlocker.cpp | 6 +-
netwerk/mime/nsMimeTypes.h | 1 +
28 files changed, 439 insertions(+), 15 deletions(-)
create mode 100644 dom/base/test/csp/browser.ini
create mode 100644 dom/base/test/csp/browser_test_web_manifest.js
create mode 100644 dom/base/test/csp/browser_test_web_manifest_mixed_content.js
create mode 100644 dom/base/test/csp/file_CSP_web_manifest.html
create mode 100644 dom/base/test/csp/file_CSP_web_manifest.json
create mode 100644 dom/base/test/csp/file_CSP_web_manifest.json^headers^
create mode 100644 dom/base/test/csp/file_CSP_web_manifest_https.html
create mode 100644 dom/base/test/csp/file_CSP_web_manifest_https.json
create mode 100644 dom/base/test/csp/file_CSP_web_manifest_mixed_content.html
create mode 100644 dom/base/test/csp/file_CSP_web_manifest_remote.html
2015-06-02 15:42:19 -04:00
Olli Pettay
453f8102cc
Bug 1170314 - Make console.timeStamp to add also Gecko profiler markers if Gecko profiler is active, r=baku,benwa
2015-06-02 17:46:32 +03:00
Carsten "Tomcat" Book
e2f82674b8
Backed out 14 changesets (bug 1165515) for linux x64 e10s m2 test failures
...
Backed out changeset d68dcf2ef372 (bug 1165515)
Backed out changeset 7c3b45a47811 (bug 1165515)
Backed out changeset b668b617bef2 (bug 1165515)
Backed out changeset d0916e1283a2 (bug 1165515)
Backed out changeset ac4dc7489942 (bug 1165515)
Backed out changeset e9632ce8bc65 (bug 1165515)
Backed out changeset c16d215cc7e4 (bug 1165515)
Backed out changeset e4d474f3c51a (bug 1165515)
Backed out changeset d87680bf9f7c (bug 1165515)
Backed out changeset b3c0a45ba99e (bug 1165515)
Backed out changeset 9370fa197674 (bug 1165515)
Backed out changeset 50970d668ca1 (bug 1165515)
Backed out changeset ffa4eb6d24b9 (bug 1165515)
Backed out changeset 5fcf1203cc1d (bug 1165515)
2015-06-02 13:05:56 +02:00
Andrea Marchesini
9ad09bc9db
Bug 1169800 - nsContentUtils::ParseLegacyFontSize should check when the input string is just '+' or '-', r=dveditz
2015-06-02 08:05:48 +01:00
Jason Orendorff
d3220a631f
Bug 1140482 - Add JSPROP_RESOLVING. Give NativeDefineProperty standard behavior in cases where a non-resolving define needs to trigger a resolve hook. r=Waldo.
2015-05-01 14:03:17 -05:00
Carsten "Tomcat" Book
0fac269a69
Backed out changeset 1f0306d29dec (bug 1012662)
2015-05-26 13:33:48 +02:00
Frédéric Wang
ef9afb0554
Bug 947654 - Use font.*.x-math font preferences for MathML. r=karl, r=heycam
...
This also rearranges the list of default fonts and changes the preferred font to Latin Modern Math on all platforms.
2015-05-25 02:40:00 +02:00
Michael Layzell
6456704cff
Bug 1012662 - Updates to clipboard command controllers to match cut/copy action spec. r=ehsan
2015-05-13 08:51:00 +02:00
Michael Layzell
3b01959964
Bug 1162952 - Return true from document.queryCommandEnabled('cut'/'copy') when in privileged or user-initiated code. r=ehsan
2015-05-25 10:09:00 +02:00
Daniel Holbert
e62dbe257b
Bug 1155761 followup: Annotate nsPerformance::InsertUserEntry as 'override'. rs=ehsan
2015-05-25 21:46:47 -07:00
Eric Rahm
18bd3de863
Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
...
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
PR_LOG_ERROR -> LogLevel::Error
PR_LOG_WARNING -> LogLevel::Warning
PR_LOG_WARN -> LogLevel::Warning
PR_LOG_INFO -> LogLevel::Info
PR_LOG_DEBUG -> LogLevel::Debug
PR_LOG_NOTICE -> LogLevel::Debug
PR_LOG_VERBOSE -> LogLevel::Verbose
Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.
Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 22:17:33 -07:00
Eric Rahm
dca9287933
Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj
2015-06-01 22:17:19 -07:00
Brian Birtles
a44ee78b26
Bug 1171817 part 14 - Add AnimationPtrComparator class; r=dbaron
...
Having created composite ordering methods for the different kinds of animations
this patch adds a Comparator class so that they can be used to sort an
array of such animations.
This patch uses this Comparator object to sort the results returned by
Element.getAnimations. For this case, the order in which we create animations
and transitions happens to almost perfectly correspond with the composite
ordering defined so that no sorting is necessary.
One exception is that some -moz-* transitions may be created after transitions
that they should sort before when sorting by transition property. In this
case the sorting added in this patch should ensure they are returned in the
correct sequence.
Unfortunately, we can't easily test this since the test files we have are
intended to be cross-browser (where -moz-* properties won't be supported).
Once we implement AnimationTimeline.getAnimations (bug 1150810) we'll have
a better opportunity to test this sorting. For now, the added tests in this
patch just serve as a regression test that the sorting hasn't upset the
already correct order (and an interop test in future once we move them to
web-platform-tests).
2015-06-09 11:13:54 +09:00
Xidorn Quan
ee2b9ffbaa
Bug 1181413 - Use enum to distinguish fullscreen request for Fullscreen Mode and Fullscreen API. r=smaug
2015-07-09 08:00:33 +10:00
Martin Thomson
68c1665b4f
Bug 1181262 - Disabling more code under --disable-webrtc, r=dholbert,bwc
2015-07-08 12:27:45 -07:00