Граф коммитов

250 Коммитов

Автор SHA1 Сообщение Дата
Boris Zbarsky 342e23a89b 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 bdd4365be1 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 20cb90ea04 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 33e0389c0c 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 496b51db78 Bug 1204149 - Fix entering DOM fullscreen in fullscreen mode for e10s. r=smaug
--HG--
extra : source : 057f3e50c50c95beac3c99f52a7993aeb4982367
extra : amend_source : 9276b7bd484b2aa4476ecb8d9e9d79eda2a87702
2015-09-18 09:33:54 +08:00
William Chen fd033f5d25 Bug 1176829 follow-up, finish removing unused member to fix bustage. CLOSED TREE
--HG--
extra : rebase_source : 5d0f9b5fca426ef5d94d0237d5b1448d776951b2
2015-09-17 15:25:24 -07:00
William Chen 0e20f9477d Bug 1176829 - Remove custom elements base element queue. r=smaug
--HG--
extra : rebase_source : 27fb6a6d80575235dbd18f849cab5578a1dd6d14
2015-09-17 14:49:00 -07:00
Brendan Dahl 47647e9a4f Bug 1202895 - Fix shift-reload check for setting up service worker. r=bkelly 2015-09-16 15:28:45 -07:00
Nicholas Nethercote 6f036921dc 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.)

--HG--
extra : rebase_source : 89b99e9dbb2a806bd21145d04a5e023794643b61
2015-09-09 21:07:07 -07:00
Nathan Froyd 18fd6a8393 Backout c5b25c30befc:b217dfd70e22 (bug 1204994) for browser-chrome oranges; r=me 2015-09-17 05:09:13 -04:00
Nathan Froyd 85b556763a 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 efcd399157 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 43004fb2ab 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 2ee4fd783b Bug 1121760 (part 6) - Move all remaining PL_DHash*() functions into PLDHashTable. r=poiru.
--HG--
extra : rebase_source : 3cdc975507170d783b02d70f7c7d95c6bf2e1bcd
2015-09-14 14:23:47 -07:00
Nicholas Nethercote 59683492e5 Bug 1121760 (part 3) - Remove PL_DHashTableRemove(). r=poiru.
--HG--
extra : rebase_source : c34d693de4aca45f2ea05c2767c8b1007c89df29
2015-09-14 14:23:24 -07:00
Nicholas Nethercote 479244f7c9 Bug 1121760 (part 2) - Remove PL_DHashTableAdd(). r=poiru.
--HG--
extra : rebase_source : 41eb939bfb5c925cba58b1af57abce9a4e5fdb30
2015-09-14 14:23:12 -07:00
Nicholas Nethercote fcfdd8f54b Bug 1121760 (part 1) - Remove PL_DHashTableSearch(). r=poiru.
--HG--
extra : rebase_source : 770e1f49a451ecbadd778e071b204611e27cf701
2015-05-21 00:34:25 -07:00
Mihai Volmer 249da3eb76 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 42095e9f99 Merge m-c to m-i 2015-09-11 22:04:40 -07:00
Phil Ringnalda f79d829bdf Merge b-i to m-c, a=merge 2015-09-11 20:27:20 -07:00
Kartikaya Gupta c7bf7e3634 Bug 1200093 - Don't rely on finding the widget for a document in order to get the css-to-ld scale. r=botond
--HG--
extra : commitid : Fu6XjQTqeNx
2015-09-11 15:12:29 -04:00
Boris Zbarsky 494542fe41 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 9a0ec7b3f4 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 6ac40622c3 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 26cb9fd5f6 Bug 895274 part.99 Rename NS_MUTATION_SUBTREEMODIFIED to eLegacySubtreeModified r=smaug 2015-09-07 23:55:51 +09:00
Wes Kocher be7cf69c3c Merge inbound to central, a=merge 2015-09-03 12:20:40 -07:00
Wes Kocher 53368e989a Backed out 2 changesets (bug 1035091)
a=backout

Backed out changeset 1fc07bdd9aa8 (bug 1035091)
Backed out changeset f6e98029d1cb (bug 1035091)

--HG--
rename : layout/style/test/chrome/test_moz_document_matching.html => layout/style/test/chrome/test_moz_document_rules.html
rename : layout/style/test/chrome/test_moz_document_nesting.html => layout/style/test/test_bug511909.html
rename : layout/style/test/chrome/test_moz_document_serialization.html => layout/style/test/test_rule_serialization.html
2015-09-03 11:41:39 -07:00
Kartikaya Gupta 7dcd93cf22 Bug 1197824 - Remove the mAllowDoubleTapZoom field from nsViewportInfo as it is not needed. r=botond
--HG--
extra : commitid : I8h1z9d5809
2015-09-03 10:30:41 -04:00
Kartikaya Gupta ffff568fff 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.

--HG--
extra : commitid : MWjCDpGJkH
2015-09-03 10:30:41 -04:00
Kartikaya Gupta d4692f7345 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.

--HG--
extra : commitid : 9BjFOc4PdLc
2015-09-03 10:30:40 -04:00
Kartikaya Gupta 58f4d549fb 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.

--HG--
extra : commitid : JVnPDtrwQsq
2015-09-03 10:30:40 -04:00
Zack Weinberg a48ac7cfae 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
--HG--
extra : rebase_source : 2d860f8493e328dec364a00282fcf1257a1c4d23
2015-09-02 13:52:49 -04:00
Masayuki Nakano e1d00d44c8 Bug 895274 part.61 Rename NS_LOAD to eLoad r=smaug 2015-09-02 15:07:59 +09:00
Kartikaya Gupta 28acdb26d3 Bug 1200402 - Ignore desktop mode for about: pages. r=snorp,khuey
--HG--
extra : commitid : GDrhGmJLd2g
2015-09-01 14:04:58 -04:00
Xidorn Quan f40af074ca Bug 1189200 - Only clear pending fullscreen requests in inclusive descendants of the specified document in ClearPendingFullscreenRequests. r=smaug
--HG--
extra : source : a6268f26d0704037d0e84ead00f29f6e9ba1b0ec
2015-08-31 09:25:23 +10:00
Xidorn Quan 07dea239b5 Bug 1199522 - Apply :fullscreen pseudo-class to all elements in the fullscreen element stack. r=smaug
--HG--
extra : source : 80c4e9abd269bac5ddda49ed64c7c9247fa7a150
2015-08-29 13:53:28 +10:00
Xidorn Quan 211d25464c Bug 1198563 part 2 - Do no directly apply fullscreen state when window object reports in fullscreen when there are pending request before. r=smaug
--HG--
extra : source : b17cf30027ab7d156a33c5992905486ae988e11d
2015-08-27 11:21:29 +10:00
Xidorn Quan f691d21a6e Bug 1198563 part 1 - Encapsulate iterating fullscreen request list code. r=smaug
--HG--
extra : source : 6cd137c01c101c3dd10f30056fac255c38332eed
2015-08-27 11:21:29 +10:00
Kartikaya Gupta cb9e675820 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
--HG--
extra : commitid : EDmJyKrfnzt
2015-08-24 13:45:45 -04:00
Chris Lord 9fe88768df Bug 1181555 - Add 'experimental-webcomponents' permission. r=fabrice 2015-08-20 12:07:54 +01:00
Sebastian Hengst 1ecd8dc0b9 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 8a7ee4c7f1 Bug 1181555 - Add 'moz-extremely-unstable-and-will-change-webcomponents' permission. r=fabrice 2015-08-20 12:07:54 +01:00
Masayuki Nakano 66f2c27305 Bug 895274 part.1 Rename WidgetEvent::message to WidgetEvent::mMessage r=smaug 2015-08-22 10:34:51 +09:00
William Chen 326cceef61 Bug 1131470 - Part 3: Implement ScreenOrientation interface. r=baku
--HG--
extra : rebase_source : 115753be382c7694c775915d5944ae2dabd9d0c3
2015-08-18 14:55:21 -07:00
Nathan Froyd afe5dc4365 Bug 968923 - part 6 - add use counters for deprecated operations; r=bz 2015-06-17 12:28:26 -04:00
Cameron McCormack 125f6d0f18 Bug 968923 - part 3a - add core DOM use counter functionality; r=smaug
This patch gives ns{I,}Document the ability to track use counters and
also to send those to telemetry at document destruction time.  We push
things to telemetry lazily because we're can't definitively say whether
something has been used until the document is torn down.
2015-06-03 12:39:18 -04:00
Robert Longson f8d1c44179 Bug 1194619 - fix comment r=dholbert 2015-08-14 19:22:22 +01:00
Aryeh Gregor 4cb17f538e Bug 874838 - Make CreateElem return Element. r=khuey 2015-08-13 07:50:00 -04:00
Francois Marier 34de332db0 Bug 992096 - Implement Sub Resource Integrity [1/2]. r=baku,r=ckerschb
Code changes
2015-08-12 20:19:11 -07:00
Aryeh Gregor 5aeef0231d Bug 874842 - Return Event instead of nsIDOMEvent 2015-08-12 14:39:31 +03:00