Commit Graph

472176 Commits

Author SHA1 Message Date
JW Wang
823e6216e3 Bug 1265978. Part 2.5 - also dump reader data. r=jya.
MozReview-Commit-ID: 3m71yGg6lbN
2016-04-22 14:18:34 +08:00
JW Wang
94b009f556 Bug 1265978. Part 2 - add methods to MediaDecoder and MDSM to dump debugging info. r=jya.
MozReview-Commit-ID: Dbc5FT627uL
2016-04-22 14:18:26 +08:00
Ben Kelly
67cfa5a9ee Bug 1265795 P4 Always call nsDocument::SetScriptGlobalObject(nullptr) from nsDocument::Destroy(). r=bz
Currently there are certain paths in nsDocumentViewer that can call
nsDocument::Destroy(), but fail to call SetScriptGlobalObject(nullptr).  This
results in the global never being cleared.

This patch refactors things so nsDocument::Destroy() always clears the global.
This ensures a more consistent document teardown since we don't rely on
external callers to get multiple method calls correct.
2016-04-21 16:10:40 -07:00
Ben Kelly
d78f4aec16 Bug 1265795 P3 Assert that controlled documents have an outer window. r=bz 2016-04-21 16:10:40 -07:00
Ben Kelly
d7ee43813a Bug 1265795 P2 Add a web-platform-test for the window navigation case. r=bz 2016-04-21 16:10:40 -07:00
Ben Kelly
e07a0186e8 Bug 1265795 P1 Uncontrolled service workers when global is removed from document. r=bz 2016-04-21 16:10:40 -07:00
Andrea Marchesini
392b98b4bc Bug 1266701 - some header missing in dom/events, r=jwatt 2016-04-22 15:37:28 +02:00
Edwin Flores
a3618f3ddb Bug 1253995 - Display stale image in nsImageFrame if we have a new src but haven't decoded it yet - r=seth 2016-04-22 14:08:25 +01:00
Gijs Kruitbosch
b6a127aa5c Bug 1266475 - don't re-load about:blank when we're remoteness-switching anyway, r=mconley
MozReview-Commit-ID: HwPrmjzCxHq

--HG--
extra : rebase_source : 0526ffa60cc63cad9aaaa16b0f0bf2faa69234f2
extra : amend_source : 5a0135c6daf192d12dd1b24570a33ea6afb29310
2016-04-21 17:55:42 +01:00
Carsten "Tomcat" Book
c5e089ec4e Backed out changeset 1b5ef8bb25d8 (bug 1259598) for bustage 2016-04-22 06:57:05 +02:00
Andreas Pehrson
54d652f0b5 Bug 1266685 - Don't pass too many frames to the MediaPipelineTransmit VideoFrameConverter. r=jesup
MozReview-Commit-ID: 4XwcfBW9nkY

--HG--
extra : rebase_source : 80a61240a214633f1023043b9cc3846df3fc2df9
extra : source : b9e6df3042ec08778f3c5f85d093367f8f9bce52
2016-04-15 16:00:09 +02:00
Tooru Fujisawa
91929ffd64 Bug 1264264 - Add optimized path for RegExp.prototype[@@replace] with functional replace and substitution. r=till 2016-04-22 21:30:41 +09:00
Edwin Flores
74950cfa47 Bug 1256678 - Re-add nightly-only crash if ScaledFontWin::GetFontFileData fails to find a matching TrueType collection font - r=jfkthame 2016-04-22 13:23:25 +01:00
Edwin Flores
cdd3b63026 Bug 1256678 - Fall back to loading GDI fonts from system in DrawTargetRecording - r=bas 2016-04-22 13:23:25 +01:00
Edwin Flores
4a167320a0 Bug 1256678 - Account for truncated font names in ScaledFontWin::GetFontFileData() - r=jfkthame 2016-04-22 13:23:25 +01:00
Edwin Flores
aab6e566af Bug 1256678 - Backout diagnostic patch rev 39c895b67af2 - r=me 2016-04-22 13:23:25 +01:00
Ting-Yu Lin
87d7ee9f5c Bug 1262755 - Enlarge caret touch target by 59% for Fennec. r=capella,snorp
Enlarge the touch target of the caret to the left, bottom, and right by
59% (13px) per bug 1262755 comment 7.

Since the touch target becomes larger, the carets on the <input> in
previous test might cause the next test to fail on <textarea> because it
will press on the caret when trying to focus on <textarea>. Add <br>
elements to testAccessibleCarets.html to separate these test fields.

MozReview-Commit-ID: JIwmuHJ2QsQ

--HG--
extra : rebase_source : 6fbfede7cc0e395402b5858d74480dcdd5606c35
2016-04-22 18:23:47 +08:00
Jonathan Watt
debbbba148 Bug 752638, part 1 - Move SVGTextFrame::SetupContextPaint to nsSVGUtils. r=heycam 2016-04-22 11:52:19 +01:00
Jonathan Watt
22c58476c8 Bug 1266101, part 2 - Remove most of the GLYPH_STROKE/GLYPH_STROKE_UNDERNEATH checking code. r=heycam 2016-04-22 11:52:13 +01:00
Ting-Yu Lin
bcbf8175b8 Bug 1249201 Part 2 - Show carets continuously when panning or zooming. r=mats,sebastian
Add a pref "layout.accessiblecaret.always_show_when_scrolling" defaults
to true on all platforms except b2g. When it is set to false, the carets
will be hidden during scrolling, which is the current behavior before
applying this change.

The pref "layout.accessiblecaret.extendedvisibility" was added for
Fennec to keep ActionBar open when carets temporarily hiding during
panning or zooming. Now we make carets always show by default, so the
pref can be removed. However, the floating toolbar still need to be
notified when the scrolling begins, so we dispatch "scroll" instead.

In gtest, the preference changes were in the middle of the test
function. To make the preference change clearer, I add new pref changes
or move the existing ones to the beginning of the test functions.

The 250ms transition effect added in ua.css is per request of UX
designer in bug 1249201 comment 12.

MozReview-Commit-ID: 8NGvDLPbtNY

--HG--
extra : rebase_source : 3f7a9ebdf4c70b0282dbf9e8f18cbe5cca656dbe
2016-04-21 16:53:40 +08:00
Ting-Yu Lin
012b5d0a33 Bug 1249201 Part 1 - Add "scroll" reason to CaretStateChangedEvent. r=smaug
When the carets are scrolled by APZ, they will hide and dispatch a
"visibilitychange" reason. The floating toolbar (ActionBarHandler.js) on
Android listens to the event to update its visibility.

Now we want to show carets continuously when scrolling the page, so it
make no sense to dispatch a "visibilitychange" reason. However we still
need to notify the toolbar that the carets are scrolling by apz.
Therefore, we need a this new "scroll" reason. It will be dispatch in
AccessibleCaretManager::OnScrollStart() in Part 2.

MozReview-Commit-ID: F9znxHV3xCZ

--HG--
extra : rebase_source : 89914ebe5ed4cbcb5a3fd792a9f260e4c389fe84
2016-04-21 16:43:11 +08:00
Brian Birtles
a9c3d15f51 Bug 1255683 - Rewrite some animation performance string to refer to compositor animations instead of 'Async animations', r=helenvholmes, r=hiro
MozReview-Commit-ID: G1p8uCK8sS6
2016-04-22 18:02:35 +09:00
dimi
e56e41f353 Bug 1033450 - consolidate safebrowsing prefs in all.js. r=francois
MozReview-Commit-ID: IKQ1wPHOY17

--HG--
extra : rebase_source : 62bce62fcb9781b6e99c1c43f15ee13e27d77e5e
2016-04-14 15:49:17 +08:00
Carsten "Tomcat" Book
23bcfcba57 Backed out changeset f71acdbd0d45 (bug 1033450) for wrong patch landed
--HG--
extra : rebase_source : a8c1947330e0f156410b6095ff91e0c723f6b50e
2016-04-22 06:01:11 +02:00
Kit Cambridge
c8ec72b8aa Bug 1259148 - Test that dismissing the notification permission doorhanger resolves the promise with default. r=wchen
MozReview-Commit-ID: ASFqCCrKCQ9

--HG--
extra : rebase_source : a462bb624345f8278c54d627caff8d3546885783
2016-04-20 13:48:36 -07:00
Sebastian Kaspari
46b5b88e2d Bug 1261836 - Content notifications: Check if new content is already in history. r=mcomella,mfinkle
If the URL of new content is already in the user's history then we won't show a notification
for it.

MozReview-Commit-ID: B26SBvXOnxY

--HG--
extra : rebase_source : 5fe3d6ad40939bfe5e842d075c1b0abc1226ac10
2016-04-13 13:01:52 +02:00
Paolo Amadini
3580657169 Bug 1265358 - Enable blocking of uncommon downloads. r=gcp
MozReview-Commit-ID: FeN0xzfX53S

--HG--
extra : rebase_source : 9b0b04212150811ad1e07bddd3025e72385c61e1
2016-04-20 13:43:53 +01:00
Paolo Amadini
56cb281548 Bug 1265359 - Enable blocking of potentially unwanted downloads. r=gcp
MozReview-Commit-ID: jzuiBahmU4

--HG--
extra : rebase_source : 611262cdf150edbe8c869fcf920d24521cfeb579
2016-04-20 13:43:02 +01:00
Paolo Amadini
8bfe105be5 Bug 1265362 - Update strings for the new user interface of blocked downloads. r=past
MozReview-Commit-ID: LAuZSSz1B11

--HG--
extra : rebase_source : 4fc1d23be893fac7e0fea991318598e9389af648
2016-04-22 16:55:53 +01:00
Margaret Leibovic
32cd130e13 Bug 1257513 - Remove bookmark-history-menu experiment, show menu items by default. r=liuche
MozReview-Commit-ID: 9mT8eOABokH

--HG--
extra : rebase_source : 055a65ca06f81f833ace46a2726cbbded619e083
2016-04-19 18:35:50 -04:00
Carsten "Tomcat" Book
fe51d02578 Merge mozilla-central to fx-team 2016-04-22 15:58:35 +02:00
Johann Hofmann
770f9954c1 Bug 1223049 - gray out identity box icons on hover. r=paolo 2016-04-21 14:22:54 +02:00
Timothy Guan-tin Chien
0178581cf4 Bug 1263760 - Replace setTimeout with nsITimer in tabbrowser switcher, r=gijs
MozReview-Commit-ID: CL1bc7WtyOE

--HG--
extra : transplant_source : %C6Dj%09%19%99%8B2%3C%86%10%E1e%0C%5E%21%08%CD9f
2016-04-21 22:48:30 +08:00
Gijs Kruitbosch
03c4d690a3 Bug 1265055 - move a bunch of tests to the urlbar directory, r=adw
MozReview-Commit-ID: 67eb9v4blas

--HG--
rename : browser/base/content/test/general/authenticate.sjs => browser/base/content/test/urlbar/authenticate.sjs
rename : browser/base/content/test/general/browser_URLBarSetURI.js => browser/base/content/test/urlbar/browser_URLBarSetURI.js
rename : browser/base/content/test/general/browser_action_keyword.js => browser/base/content/test/urlbar/browser_action_keyword.js
rename : browser/base/content/test/general/browser_action_keyword_override.js => browser/base/content/test/urlbar/browser_action_keyword_override.js
rename : browser/base/content/test/general/browser_action_searchengine.js => browser/base/content/test/urlbar/browser_action_searchengine.js
rename : browser/base/content/test/general/browser_action_searchengine_alias.js => browser/base/content/test/urlbar/browser_action_searchengine_alias.js
rename : browser/base/content/test/general/browser_autocomplete_a11y_label.js => browser/base/content/test/urlbar/browser_autocomplete_a11y_label.js
rename : browser/base/content/test/general/browser_autocomplete_autoselect.js => browser/base/content/test/urlbar/browser_autocomplete_autoselect.js
rename : browser/base/content/test/general/browser_autocomplete_cursor.js => browser/base/content/test/urlbar/browser_autocomplete_cursor.js
rename : browser/base/content/test/general/browser_autocomplete_edit_completed.js => browser/base/content/test/urlbar/browser_autocomplete_edit_completed.js
rename : browser/base/content/test/general/browser_autocomplete_enter_race.js => browser/base/content/test/urlbar/browser_autocomplete_enter_race.js
rename : browser/base/content/test/general/browser_autocomplete_no_title.js => browser/base/content/test/urlbar/browser_autocomplete_no_title.js
rename : browser/base/content/test/general/browser_autocomplete_oldschool_wrap.js => browser/base/content/test/urlbar/browser_autocomplete_oldschool_wrap.js
rename : browser/base/content/test/general/browser_autocomplete_tag_star_visibility.js => browser/base/content/test/urlbar/browser_autocomplete_tag_star_visibility.js
rename : browser/base/content/test/general/browser_bug1003461-switchtab-override.js => browser/base/content/test/urlbar/browser_bug1003461-switchtab-override.js
rename : browser/base/content/test/general/browser_bug1024133-switchtab-override-keynav.js => browser/base/content/test/urlbar/browser_bug1024133-switchtab-override-keynav.js
rename : browser/base/content/test/general/browser_bug1025195_switchToTabHavingURI_aOpenParams.js => browser/base/content/test/urlbar/browser_bug1025195_switchToTabHavingURI_aOpenParams.js
rename : browser/base/content/test/general/browser_bug1070778.js => browser/base/content/test/urlbar/browser_bug1070778.js
rename : browser/base/content/test/general/browser_bug1104165-switchtab-decodeuri.js => browser/base/content/test/urlbar/browser_bug1104165-switchtab-decodeuri.js
rename : browser/base/content/test/general/browser_bug1225194-remotetab.js => browser/base/content/test/urlbar/browser_bug1225194-remotetab.js
rename : browser/base/content/test/general/browser_bug304198.js => browser/base/content/test/urlbar/browser_bug304198.js
rename : browser/base/content/test/general/browser_bug556061.js => browser/base/content/test/urlbar/browser_bug556061.js
rename : browser/base/content/test/general/browser_bug562649.js => browser/base/content/test/urlbar/browser_bug562649.js
rename : browser/base/content/test/general/browser_bug623155.js => browser/base/content/test/urlbar/browser_bug623155.js
rename : browser/base/content/test/general/browser_bug783614.js => browser/base/content/test/urlbar/browser_bug783614.js
rename : browser/base/content/test/general/browser_canonizeURL.js => browser/base/content/test/urlbar/browser_canonizeURL.js
rename : browser/base/content/test/general/browser_locationBarCommand.js => browser/base/content/test/urlbar/browser_locationBarCommand.js
rename : browser/base/content/test/general/browser_locationBarExternalLoad.js => browser/base/content/test/urlbar/browser_locationBarExternalLoad.js
rename : browser/base/content/test/general/browser_removeUnsafeProtocolsFromURLBarPaste.js => browser/base/content/test/urlbar/browser_removeUnsafeProtocolsFromURLBarPaste.js
rename : browser/base/content/test/general/browser_search_favicon.js => browser/base/content/test/urlbar/browser_search_favicon.js
rename : browser/base/content/test/general/browser_tabMatchesInAwesomebar.js => browser/base/content/test/urlbar/browser_tabMatchesInAwesomebar.js
rename : browser/base/content/test/general/browser_tabMatchesInAwesomebar_perwindowpb.js => browser/base/content/test/urlbar/browser_tabMatchesInAwesomebar_perwindowpb.js
rename : browser/base/content/test/general/browser_urlHighlight.js => browser/base/content/test/urlbar/browser_urlHighlight.js
rename : browser/base/content/test/general/browser_urlbarAutoFillTrimURLs.js => browser/base/content/test/urlbar/browser_urlbarAutoFillTrimURLs.js
rename : browser/base/content/test/general/browser_urlbarCopying.js => browser/base/content/test/urlbar/browser_urlbarCopying.js
rename : browser/base/content/test/general/browser_urlbarDecode.js => browser/base/content/test/urlbar/browser_urlbarDecode.js
rename : browser/base/content/test/general/browser_urlbarDelete.js => browser/base/content/test/urlbar/browser_urlbarDelete.js
rename : browser/base/content/test/general/browser_urlbarEnter.js => browser/base/content/test/urlbar/browser_urlbarEnter.js
rename : browser/base/content/test/general/browser_urlbarEnterAfterMouseOver.js => browser/base/content/test/urlbar/browser_urlbarEnterAfterMouseOver.js
rename : browser/base/content/test/general/browser_urlbarRevert.js => browser/base/content/test/urlbar/browser_urlbarRevert.js
rename : browser/base/content/test/general/browser_urlbarSearchSingleWordNotification.js => browser/base/content/test/urlbar/browser_urlbarSearchSingleWordNotification.js
rename : browser/base/content/test/general/browser_urlbarSearchSuggestions.js => browser/base/content/test/urlbar/browser_urlbarSearchSuggestions.js
rename : browser/base/content/test/general/browser_urlbarSearchSuggestionsNotification.js => browser/base/content/test/urlbar/browser_urlbarSearchSuggestionsNotification.js
rename : browser/base/content/test/general/browser_urlbarSearchTelemetry.js => browser/base/content/test/urlbar/browser_urlbarSearchTelemetry.js
rename : browser/base/content/test/general/browser_urlbarStop.js => browser/base/content/test/urlbar/browser_urlbarStop.js
rename : browser/base/content/test/general/browser_urlbarTrimURLs.js => browser/base/content/test/urlbar/browser_urlbarTrimURLs.js
rename : browser/base/content/test/general/browser_urlbar_autoFill_backspaced.js => browser/base/content/test/urlbar/browser_urlbar_autoFill_backspaced.js
rename : browser/base/content/test/general/browser_urlbar_searchsettings.js => browser/base/content/test/urlbar/browser_urlbar_searchsettings.js
rename : browser/base/content/test/general/browser_wyciwyg_urlbarCopying.js => browser/base/content/test/urlbar/browser_wyciwyg_urlbarCopying.js
rename : browser/base/content/test/general/dummy_page.html => browser/base/content/test/urlbar/dummy_page.html
rename : browser/base/content/test/general/head.js => browser/base/content/test/urlbar/head.js
rename : browser/base/content/test/general/moz.png => browser/base/content/test/urlbar/moz.png
rename : browser/base/content/test/general/redirect_bug623155.sjs => browser/base/content/test/urlbar/redirect_bug623155.sjs
rename : browser/base/content/test/general/searchSuggestionEngine.sjs => browser/base/content/test/urlbar/searchSuggestionEngine.sjs
rename : browser/base/content/test/general/searchSuggestionEngine.xml => browser/base/content/test/urlbar/searchSuggestionEngine.xml
rename : browser/base/content/test/general/test_wyciwyg_copying.html => browser/base/content/test/urlbar/test_wyciwyg_copying.html
rename : browser/base/content/test/general/authenticate.sjs => toolkit/components/thumbnails/test/authenticate.sjs
extra : rebase_source : 3c83a311373930cb962816cf61d84a8ee7c44c07
extra : amend_source : 9ed9e18817c591afb9b4d10fda724bb71dd80b26
2016-04-15 21:11:15 +01:00
Jarda Snajdr
38b061900f Bug 1260380 - 'Parsed value' section gets duplicated when editing. r=mratcliffe
MozReview-Commit-ID: 22WzD9TOw5V
2016-04-21 05:10:00 +02:00
Jan Odvarko
99c846258d Bug 1201475 - Fix test failures; r=jryans
MozReview-Commit-ID: L2C6LdChJz8
2016-04-21 23:23:48 +02:00
Jan Odvarko
8c10d00064 Bug 1201475 - Refresh DOM panel only if selected; r=linclark
MozReview-Commit-ID: 3sr85QHQdjS
2016-04-18 17:12:10 +02:00
Jan Odvarko
3e720469c7 Bug 1201475 - Tests for DOM panel; r=linclark
MozReview-Commit-ID: AmFZNR3Tp7q
2016-04-12 19:56:52 +02:00
JW Wang
6bfff83925 Bug 1265978. Part 1 - add mozDumpDebugInfo() to HTMLMediaElement.webidl. r=bz.
MozReview-Commit-ID: E0RZRyWnZrF
2016-04-11 12:02:43 +08:00
Thomas Zimmermann
4aca86822b Bug 1266320: Add 'aFailureId' parameter to Gonk's |GfxInfo::GetFeatureStatusImpl|, r=milan 2016-04-22 09:26:13 +02:00
JW Wang
67a95734d1 Bug 1266304. Part 2 - remove unnecessary template parameters. r=kaku.
MozReview-Commit-ID: E2TnNbMvJaR
2016-04-22 14:16:56 +08:00
JW Wang
69b738fc15 Bug 1266304. Part 1 - Merge MediaDecoderReader::AudioDataPromise and MediaDecoderReader::VideoDataPromise. r=kaku.
MozReview-Commit-ID: BhhA7sjCTtQ
2016-04-22 14:16:49 +08:00
Carsten "Tomcat" Book
55fea48a3f Backed out changeset 637e80ab4fca (bug 1262755) for rc4 android perma failures
--HG--
extra : rebase_source : 26893c1afaa1c4fc23808b92d8738d847d9ff5f3
2016-04-22 09:12:50 +02:00
Kit Cambridge
1aaa1d4598 Bug 1259148 - Notify content when the notification permission pop-up is dismissed by the user. r=past,wchen
MozReview-Commit-ID: 8CcgQcJDeie

--HG--
extra : rebase_source : 13c2dcc05030208e8f2ac7bc7746d09282d86843
2016-03-30 16:54:37 -07:00
Jared Wein
19272d52cb Bug 1242271 - The first item in the overflow panel doesn't need a margin-top as the panel has its own padding-top. r=gijs
MozReview-Commit-ID: KGUTQhqJ2CO
2016-04-21 14:58:00 +02:00
Victor Ng [:vng] [:crankycoder]
fe18320467 Bug 1259598 - "Add new information fields to geolocation stumbles". r=michelangelo sr=hschlichting 2016-04-09 05:34:00 +02:00
Johann Hofmann
a9c1b37d97 Bug 1264914: Make services.kinto.clock_skew_seconds non-absolute. r=mgoodwin,MattN
MozReview-Commit-ID: K7LSRjB3wlU

--HG--
extra : rebase_source : 0f3ffed50a7ca2f6dedd76c0a4e8fbef3a858cc3
2016-04-20 16:37:43 +02:00
Katie Broida
81fd7224cd Bug 1260595 - Clear the lightweight themes menu in popupshowing instead of popuphidden to prevent duplicates in certain scenarios. r=jaws
MozReview-Commit-ID: 8wejtWMx3sd

--HG--
extra : rebase_source : b59d372c7545396c44532335c7217a15e2b6508b
2016-04-21 18:59:43 -07:00
Kit Cambridge
b072308bf4 Bug 1264498 - Hide duplicate remote Sync clients that haven't synced in a week. r=markh
MozReview-Commit-ID: LaVb2pABu0X

--HG--
extra : rebase_source : 1c8777ce9f461f0417f3ef6876da8f807a689600
2016-04-15 09:00:59 -07:00
Wes Kocher
6d4a2cf6c0 Merge m-c to fx-team, a=merge
MozReview-Commit-ID: m0xI0OSGys
2016-04-21 15:03:13 -07:00