Commit Graph

257 Commits

Author SHA1 Message Date
Gijs Kruitbosch
ef17d8e720 Bug 636905 - part 1: add a flag that tracks whether the user has interacted with a given document, r=smaug 2015-09-26 14:54:29 +01:00
Masatoshi Kimura
1e5d7d8513 Bug 647621 - Implement document.charset and update document.inputEncoding to the latest spec. r=bz 2015-09-23 09:32:29 +09:00
Christoph Kerschbaumer
0e075876c3 Bug 1048048 - add preload content policy types for images (r=seth) 2015-09-20 14:55:59 -07:00
Christoph Kerschbaumer
60c2e541b3 Bug 1048048 - add preload content policy types for stylesheets (r=cam) 2015-09-20 14:56:10 -07:00
Wes Kocher
7e27875d2c Backed out 7 changesets (bug 1048048) for android crashes in various chunks CLOSED TREE
Backed out changeset b5abe23a4ea5 (bug 1048048)
Backed out changeset 4f91b10e8be0 (bug 1048048)
Backed out changeset 450d4a13c90e (bug 1048048)
Backed out changeset 6a727c40eb68 (bug 1048048)
Backed out changeset 88c2333ff745 (bug 1048048)
Backed out changeset 740ab1ecd079 (bug 1048048)
Backed out changeset 02c6d6aef163 (bug 1048048)
2015-09-21 09:08:34 -07:00
Christoph Kerschbaumer
817a670510 Bug 1048048 - add preload content policy types for stylesheets (r=cam) 2015-09-20 14:56:10 -07:00
Christoph Kerschbaumer
46f476eda8 Bug 1048048 - add preload content policy types for images (r=seth) 2015-09-20 14:55:59 -07:00
Boris Zbarsky
68c999e3d5 Bug 1205364 part 1. Make createAttribute in an HTML document lowercase the passed-in attribute name. r=smaug 2015-09-18 13:36:24 -04:00
Nathan Froyd
1713be633d Bug 1204994 - part 2 - rename all USE_COUNTER_* histograms to USE_COUNTER2_* histograms; r=bz,vladan
We're changing the definition of each of the use counter histograms.
Therefore, they need new names, so as to not throw wrenches into the
server-side machinery.  This renaming is the most straightforward way to
do things and similar to how we have renamed other histograms before.
2015-09-15 20:44:37 -04:00
Nathan Froyd
c0d5e2936a Bug 1204994 - part 1 - add *CONTENT_DOCUMENTS_DESTROYED histograms; r=bz,vladan
These histograms will be used in conjunction with the revised use
counter histograms to ascertain the number of pages that don't use
particular features.  The associated comment in nsDocument.cpp explains
how things work.
2015-09-15 20:27:59 -04:00
Nathan Froyd
ae7d08bbb5 Bug 1204994 - part 0 - separate debugging use counters check from value check; r=bz
This change is only here to make future changes more obvious.  It is a
no-op on its own: just adding a block and shifting whitespace around.
2015-09-15 20:20:44 -04:00
Xidorn Quan
edb6735353 Bug 1204149 - Fix entering DOM fullscreen in fullscreen mode for e10s. r=smaug 2015-09-18 09:33:54 +08:00
William Chen
353af2f44a Bug 1176829 follow-up, finish removing unused member to fix bustage. CLOSED TREE 2015-09-17 15:25:24 -07:00
William Chen
1fa63edb2e Bug 1176829 - Remove custom elements base element queue. r=smaug 2015-09-17 14:49:00 -07:00
Brendan Dahl
4fc9ae45d4 Bug 1202895 - Fix shift-reload check for setting up service worker. r=bkelly 2015-09-16 15:28:45 -07:00
Nicholas Nethercote
830cf484e9 Bug 1203427 (part 1) - Add nsExpirationTracker::mName. r=froydnj.
There are many sub-classes of nsExpirationTracker. In order to distinguish them
nicely in the logging of timer firings, it's necessary to manually name each
one. (This wouldn't be necessary if there was a way to stringify template
parameters, but there isn't.)
2015-09-09 21:07:07 -07:00
Nathan Froyd
7c48b60607 Backout c5b25c30befc:b217dfd70e22 (bug 1204994) for browser-chrome oranges; r=me 2015-09-17 05:09:13 -04:00
Nathan Froyd
de18995209 Bug 1204994 - part 2 - rename all USE_COUNTER_* histograms to USE_COUNTER2_* histograms; r=bz,vladan
We're changing the definition of each of the use counter histograms.
Therefore, they need new names, so as to not throw wrenches into the
server-side machinery.  This renaming is the most straightforward way to
do things and similar to how we have renamed other histograms before.
2015-09-15 20:44:37 -04:00
Nathan Froyd
b92731f8ed Bug 1204994 - part 1 - add *CONTENT_DOCUMENTS_DESTROYED histograms; r=bz,vladan
These histograms will be used in conjunction with the revised use
counter histograms to ascertain the number of pages that don't use
particular features.  The associated comment in nsDocument.cpp explains
how things work.
2015-09-15 20:27:59 -04:00
Nathan Froyd
318adbd48e Bug 1204994 - part 0 - separate debugging use counters check from value check; r=bz
This change is only here to make future changes more obvious.  It is a
no-op on its own: just adding a block and shifting whitespace around.
2015-09-15 20:20:44 -04:00
Nicholas Nethercote
829edf1dcd Bug 1121760 (part 6) - Move all remaining PL_DHash*() functions into PLDHashTable. r=poiru. 2015-09-14 14:23:47 -07:00
Nicholas Nethercote
5c81422b5c Bug 1121760 (part 3) - Remove PL_DHashTableRemove(). r=poiru. 2015-09-14 14:23:24 -07:00
Nicholas Nethercote
3bbd89a422 Bug 1121760 (part 2) - Remove PL_DHashTableAdd(). r=poiru. 2015-09-14 14:23:12 -07:00
Nicholas Nethercote
f9fdfba566 Bug 1121760 (part 1) - Remove PL_DHashTableSearch(). r=poiru. 2015-05-21 00:34:25 -07:00
Mihai Volmer
991316d353 Bug 1024343: The document should not stop animations when it is being swapped. r=smaug 2015-08-21 17:23:14 -07:00
Phil Ringnalda
241f4fc05c Merge m-c to m-i 2015-09-11 22:04:40 -07:00
Phil Ringnalda
1021b13b28 Merge b-i to m-c, a=merge 2015-09-11 20:27:20 -07:00
Kartikaya Gupta
06617ae983 Bug 1200093 - Don't rely on finding the widget for a document in order to get the css-to-ld scale. r=botond 2015-09-11 15:12:29 -04:00
Boris Zbarsky
248002570c Bug 1191942. Make sure to not schedule requestAnimationFrame callbacks if animations are paused. r=roc 2015-09-11 21:59:43 -04:00
Nicholas Nethercote
8ccb8538ae Bug 1202526 (part 3) - Avoid PL_DHashTableRawRemove() in nsDocument. r=bz.
This assumes that it's safe to possibly shrink the table after the removal,
i.e. there are no surprising subtleties with how this table is managed.
2015-09-07 19:20:16 -07:00
Ehsan Akhgari
95141592e9 Bug 1201229 - Return an empty string for a header when an error occurs; r=dragana
This fixes nsIHttpChannel::GetRequestHeader() and
nsIHttpChannel::GetResponseHeader() to always empty out their string
argument even when they fail.  This prevents programming mistakes of
passing the same string object to multiple of these calls and using the
string value without checking the nsresult error code, since otherwise
the string value may be unchanged from a previous call.

Note that this doesn't affect JS consumers of these APIs since we only
empty out the string argument in case the method fails, which will be
translated to a JS exception, and the JS code will never get to see the
emptied string.
2015-09-08 20:08:35 -04:00
Masayuki Nakano
449fe420c0 Bug 895274 part.99 Rename NS_MUTATION_SUBTREEMODIFIED to eLegacySubtreeModified r=smaug 2015-09-07 23:55:51 +09:00
Wes Kocher
9adbe65aad Merge inbound to central, a=merge 2015-09-03 12:20:40 -07:00
Wes Kocher
02052d2865 Backed out 2 changesets (bug 1035091)
a=backout

Backed out changeset 1fc07bdd9aa8 (bug 1035091)
Backed out changeset f6e98029d1cb (bug 1035091)
2015-09-03 11:41:39 -07:00
Kartikaya Gupta
7041fb3b00 Bug 1197824 - Remove the mAllowDoubleTapZoom field from nsViewportInfo as it is not needed. r=botond 2015-09-03 10:30:41 -04:00
Kartikaya Gupta
265e726875 Bug 1197824 - Support the browser.ui.zoom.force-user-scalable pref in the gecko zoom-constraints codepath. r=botond
The browser.ui.zoom.force-user-scalable pref can be modified by the user from
the Fennec settings screen, and allows them zoom pages despite the meta-viewport
tag that might otherwise restrict zooming. This effectively ignores the effect
of the user-scalable, minimum-scale, and maximum-scale meta-viewport tokens.
2015-09-03 10:30:41 -04:00
Kartikaya Gupta
4ac58d7714 Bug 1197824 - Allow zooming in desktop mode. r=botond
This is a long-standing issue that has thus far never been exposed because
the values modified in this patch have not been used (desktop mode only exists
on Fennec, and Fennec does it's own computation for these values in browser.js).
However upcoming patches will change Fennec to use this, and so this issue needs
to be corrected.
2015-09-03 10:30:40 -04:00
Kartikaya Gupta
de4d737ae5 Bug 1197824 - Remove unused state and normalize others. r=botond
In the case of DisplayWidthHeight viewports, setting the allowDoubleTapToZoom
flag to true is fine because the ZoomConstraintsClient code will flip it back
to false based on the width of the CSS viewport. Setting it to true in the
GetViewportInfo code allows us to maintain the invariant that the default value
of allowDoubleTapToZoom is the same as the initial value of allowZoom.
2015-09-03 10:30:40 -04:00
Zack Weinberg
4b3150da67 Bug 1035091 part 1: change CSS parser and loader APIs to distinguish UA, user, and author sheets instead of just UA vs everyone else. r=heycam 2015-09-02 13:52:49 -04:00
Masayuki Nakano
106a58fd31 Bug 895274 part.61 Rename NS_LOAD to eLoad r=smaug 2015-09-02 15:07:59 +09:00
Kartikaya Gupta
45a3025f39 Bug 1200402 - Ignore desktop mode for about: pages. r=snorp,khuey 2015-09-01 14:04:58 -04:00
Xidorn Quan
8bd5f89693 Bug 1189200 - Only clear pending fullscreen requests in inclusive descendants of the specified document in ClearPendingFullscreenRequests. r=smaug 2015-08-31 09:25:23 +10:00
Xidorn Quan
359e94a99c Bug 1199522 - Apply :fullscreen pseudo-class to all elements in the fullscreen element stack. r=smaug 2015-08-29 13:53:28 +10:00
Xidorn Quan
21f9c6ab2d Bug 1198563 part 2 - Do no directly apply fullscreen state when window object reports in fullscreen when there are pending request before. r=smaug 2015-08-27 11:21:29 +10:00
Xidorn Quan
ad1c4aab22 Bug 1198563 part 1 - Encapsulate iterating fullscreen request list code. r=smaug 2015-08-27 11:21:29 +10:00
Kartikaya Gupta
e293c74ddd Bug 1180267 - Ensure that the desktop-mode viewport for Fennec is based on a 980 CSS pixel width rather than the screen size. r=snorp 2015-08-24 13:45:45 -04:00
Chris Lord
e6a8b9264d Bug 1181555 - Add 'experimental-webcomponents' permission. r=fabrice 2015-08-20 12:07:54 +01:00
Sebastian Hengst
9edfa6ca2f Backed out changeset e9d838084096 (bug 1181555) for Linux x64 opt and B2G Desktop Linux x64 opt Hazard analysis fail. r=backout 2015-08-22 21:53:48 +02:00
Chris Lord
52fefe5e91 Bug 1181555 - Add 'moz-extremely-unstable-and-will-change-webcomponents' permission. r=fabrice 2015-08-20 12:07:54 +01:00
Masayuki Nakano
5473d2dcb9 Bug 895274 part.1 Rename WidgetEvent::message to WidgetEvent::mMessage r=smaug 2015-08-22 10:34:51 +09:00