Commit Graph

394 Commits

Author SHA1 Message Date
Jonathan Watt
a47685084f Bug 827161, part 2 - Implement HTML 5's ValidityState.badInput and implement the state for HTMLInputElement's number type. r=smaug 2014-01-30 12:54:12 +00:00
Garrett Robinson
9d7ec4b281 Bug 963901 - Fix variable format error. r=sstamm 2014-01-31 21:54:48 -05:00
Chris Peterson
91f7b1bbc7 Bug 965693 - Remove annoying "Printing XUL documents is not supported" error dialog. r=roc 2014-01-29 20:40:34 -08:00
Sid Stamm
e7799ef414 Bug 843311 - update CSP report-uri parsing to be spec compliant. r=grobinson 2014-01-24 10:24:08 -08:00
Yeuk Hon Wong
ee0c7a8bee Bug 587377 - Display CSP warning in the web console if a hostname is a quoteless CSP keyword match. r=sstamm 2014-01-17 11:10:29 -05:00
Ehsan Akhgari
f9c18ee1df Bug 957431 - Remove support for Attr.ownerElement; r=bzbarsky 2014-01-08 09:28:19 -05:00
Garrett Robinson
d204ea98fa Bug 713980 - Log warnings about blocked cross-site requests to the Web Console. r=smaug 2014-01-07 09:51:05 -05:00
Henri Sivonen
10f2ef6838 Bug 956024 - Remove traces of SunDevanagari and LangBox Arabic encodings. r=emk. 2014-01-07 12:41:09 +02:00
Henri Sivonen
f0fad33dd2 Bug 213517 part 1 - Interpret x-user-defined as windows-1252 in <meta> for compatibility with other browsers. r=smontagu.
--HG--
rename : parser/htmlparser/tests/mochitest/file_bug672453_meta_utf16.html => parser/htmlparser/tests/mochitest/file_bug672453_meta_userdefined.html
2014-01-02 09:18:19 +02:00
Boris Zbarsky
83e066b926 Bug 937461. Make cloneNode/importNode "deep" arg default to false, since the spec changed on us. r=sicking 2013-12-20 14:28:17 -05:00
Gregory Szorc
158ed8b3ec Bug 774572 - Part 2: Define JAR_MANIFESTS in moz.build files; r=glandium
Every directory with a jar.mn now has JAR_MANIFESTS defined in its
moz.build file.

We also removed the may_skip special consideration of jar.mn files
because this information is now available during tier traversal by the
reader courtesy of the variables being present in moz.build files.

--HG--
extra : rebase_source : 21049b15e6bd9cf65b0805ccaccc4ba5aae93c98
extra : amend_source : 0b1ea866d725beef92d37c6f6d475369ac002e19
2013-12-10 16:18:11 +09:00
Boris Zbarsky
cf503f66b0 Bug 948096. Warn when people use window._content. r=smaug,myk 2013-12-12 16:11:54 -05:00
Cameron McCormack
ba08f38dc0 Bug 773296 - Part 18: Add error reporting for invalid variable references. r=dbaron
This adds CSS parser error reporting for parsing of custom properties
and normal properties that have variable references.

When re-parsing a normal property that had a variable reference, we
report any parse error to be at the beginning of the property value.
This is because it is difficult to keep track of where exactly each
variable substitution came from to point to the particular value
that would have caused the parse error.  For example, with this:

  :root {
    var-a: 1px 2px;
    var-b: 3px var(a);
  }
  p {
    margin: var(a) var(b);
  }

we would end up resolving the value of 'margin' to:

  "  1px 2px  3px  1px 2px"

In this string, the parse error occurs when we encounter the final
"2px", but by this point we don't know where that value came from.
So instead we just point to the line on which 'margin' was declared.

We extend ErrorReporter with an OutputError overload that takes the
specific line and column number to use in the error report to get this
right, and we store the line and column number for each token stream
we parse on the nsCSSValueTokenStream object.
2013-12-12 13:09:44 +11:00
Cameron McCormack
9ee3123e5b Bug 773296 - Part 17: Resolve property values that have variable references at computed value time. r=dbaron
This re-parses property values at computed value time if
they had a specified value that was a token stream.  We add
a function nsRuleNode::ResolveVariableReferences that looks
at all the values in the nsRuleData and calls in to a new
nsCSSParser::ParsePropertyWithVariableReferences function if they have a
token stream value.

We add a nsCSSExpandedDataBlock::MapRuleInfoInto function that will
take the re-parsed property value and copy it back into the nsRuleData.

nsRuleNode::ResolveVariableReferences returns whether any variables
were attempted to be resolved, so that nsRuleNode::WalkRuleTree wil
recompute the rule detail in case any became 'inherit'.
2013-12-12 13:09:44 +11:00
Cameron McCormack
5edbefbd77 Bug 773296 - Part 2: Parse CSS variable declarations and store them on Declaration objects. p=ebassi,heycam r=dbaron
Patch co-authored by Emmanuele Bassi <ebassi@gmail.com>

This defines a CSSVariableDeclarations class that holds a set of
variable declarations.  This is at the specified value stage, so values
can either be 'initial', 'inherit' or a token stream (which is what you
normally have).  The variables are stored in a hash table.  Although
it's a bit of a hack, we store 'initial' and 'inherit' using special
string values that can't be valid token streams (we use "!" and ";").

Declaration objects now can have two CSSVariableDeclarations objects
on them, to store normal and !important variable declarations.  So that
we keep preserving the order of declarations on the object, we inflate
mOrder to store uint32_ts, where values from eCSSProperty_COUNT onwards
represent custom properties.  mVariableOrder stores the names of the
variables corresponding to those entries in mOrder.

We also add a new nsCSSProperty value, eCSSPropertyExtra_variable, which
is used to represent any custom property name.
nsCSSProps::LookupProperty can return this value.

The changes to nsCSSParser are straightforward.  Custom properties
are parsed and checked for syntactic validity (e.g. "var(a,)" being
invalid) and stored on the Declaration.  We use nsCSSScanner's
recording ability to grab the unparsed CSS string corresponding to
the variable's value.
2013-12-12 13:09:40 +11:00
Gijs Kruitbosch
5ca31f1d25 Bug 943217 - fix moz-document error message, r=dbaron 2013-11-26 10:36:52 +01:00
Cameron McCormack
25d2f37c9f Bug 945048 - Correctly check for the CSS_PSEUDO_ELEMENT_SUPPORTS_USER_ACTION_STATE flag when parsing pseudo-classes after pseudo-elements. r=bz 2013-12-02 13:06:20 +11:00
Cameron McCormack
425b6d0e7a Bug 944493 - Rename PEPseudoSelTrailing because of a string change. r=flod 2013-11-30 12:17:51 +11:00
Cameron McCormack
1e5c47e48c Bug 922669 - Part 1: Parse selectors with user action pseudo-classes after pseudo-elements. r=bz 2013-11-28 17:46:38 +11:00
Boris Zbarsky
50446f2a31 Bug 937465. Warn when cloneNode() and importNode() are used without the boolean "deep" argument on nodes that have kids. r=sicking 2013-11-17 00:10:18 -05:00
Max Li
5583fc9732 Bug 933393 - [AccessFu] Utter selection changes. r=eeejay
--HG--
extra : rebase_source : 2997b101df0cc63aba3e94b60ebe63c0db7eb3b7
2013-11-12 19:56:24 -05:00
Vendelin Ruzicka
be972363d7 Bug 933563 - Consolidate ReportUseOfDeprecatedMethod and WarnOnceAbout. r=sicking, r=ms2ger 2013-11-11 16:12:18 -05:00
Vendelin Ruzicka
2fa356509c Bug 933040 - Warn for showModalDialog uses. r=jst, r=sicking 2013-11-06 08:59:54 -05:00
Yura Zenevich
fc8d60de77 Bug 934737 - [AccessFu] fixing a string bundle error when encountering an input type='date'. r=eeejay
---
 accessible/src/jsat/OutputGenerator.jsm                    | 7 ++++++-
 accessible/tests/mochitest/jsat/test_utterance_order.html  | 4 ++++
 dom/locales/en-US/chrome/accessibility/AccessFu.properties | 1 +
 3 files changed, 11 insertions(+), 1 deletion(-)
2013-11-05 21:51:56 -05:00
Yura Zenevich
6ef1a2b457 Bug 924896 - [AccessFu] Exposing the type attribute for entries such as search, url, tel, etc. r=eeejay
---
 accessible/src/jsat/OutputGenerator.jsm            | 22 +++++++++++++++++-
 .../tests/mochitest/jsat/test_utterance_order.html | 27 ++++++++++++++++++++++
 .../en-US/chrome/accessibility/AccessFu.properties |  6 +++++
 3 files changed, 54 insertions(+), 1 deletion(-)
2013-10-24 23:21:29 -04:00
Ed Morley
eded2daadb Backed out changeset f59777bbd950 (bug 924896) 2013-10-24 18:14:09 +01:00
Yura Zenevich
41ecc9a0dc Bug 924896 - [AccessFu] Exposing the type attribute for entries such as search, url, tel, etc. r=eeejay
---
 accessible/src/jsat/OutputGenerator.jsm            |   17 +++++++++++-
 .../tests/mochitest/jsat/test_utterance_order.html |   27 ++++++++++++++++++++
 .../en-US/chrome/accessibility/AccessFu.properties |    6 ++++
 3 files changed, 49 insertions(+), 1 deletions(-)
2013-10-24 11:16:23 -04:00
Felipe Gomes
0124ac8bb1 Bug 916667 - about:tabcrashed fails to display for pages with no title. r=markh,glandium 2013-09-24 00:47:57 -03:00
Frederik Braun
2d852e29d3 Bug 607067 - Improve CSP violation messages for base restrictions and fix affected testcases. r=imelven, r=sstamm 2013-08-12 12:34:40 +02:00
Wes Kocher
8bba56d03f Merge m-c to inbound 2013-09-04 18:04:50 -07:00
Mike Hommey
f1cf3b4238 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
aceman
e7e23e3306 Bug 677912 - Follow-up to bug 136556 - change the string ID for localizers. r=bz 2013-09-04 12:52:25 -04:00
Felipe Gomes
5de1caaed5 Bug 899348 - Dispatch an event when an out-of-process browser crashes and display an error page when that occurs. r=bz 2013-09-03 19:11:22 -03:00
Ivan Alagenchev
12ff408212 Bug 875456 - DOM patch. Modifies Mixed Content Blocker, so that its messages are appropriately logged to the security console. r=bz 2013-08-26 11:27:00 -04:00
Yura Zenevich
bd1a13e7e8 Bug 795957 - [PATCH 1/2][AccessFu] Adding support for live regions. r=eejay
---
 accessible/src/jsat/AccessFu.jsm                   |    6 +
 accessible/src/jsat/EventManager.jsm               |  192 ++++++++++++++++++--
 accessible/src/jsat/OutputGenerator.jsm            |   10 +-
 accessible/src/jsat/Presentation.jsm               |   47 +++++-
 accessible/src/jsat/Utils.jsm                      |   39 +++--
 .../en-US/chrome/accessibility/AccessFu.properties |    4 +
 6 files changed, 263 insertions(+), 35 deletions(-)
2013-08-21 12:40:06 -04:00
Marco Zehe
24dd6a6bb7 Bug 907125 - [AccessFu] Improve the output for ARIA tabs and tab lists, r=yzen 2013-08-21 09:52:46 +02:00
Theo Chevalier
ca6dc1b936 Bug 905933 - Improve plural form for AndXMoreFiles string, r=enndeakin 2013-08-20 11:18:03 +02:00
James Kitchener
9c405e4717 Bug 827713 - Localisation change for unifying MathML *scripts. r=fredw 2013-08-19 09:09:08 -04:00
Jonathan Watt
898fb634c2 Bug 902234 - Cap the number of files that we include in the tooltip for <input type=file>. r=enndeakin 2013-08-07 00:11:54 +01:00
Kyle Huey
9fe1cac069 Bug 803612 - Add deprecation warnings for mozGetAsFile. r=sicking 2013-08-12 13:26:31 -04:00
Ivan Alagenchev
1ad2732a6f Bug 762593 - DOM patch. Adds localized strings for insecure passwords error messages. r=bz 2013-08-06 10:15:00 -04:00
Masatoshi Kimura
93b88d2366 Bug 673919 - Remove routeEvent, enableExternalCapture and disableExternalCapture. r=smaug 2013-08-01 23:48:18 +09:00
Masatoshi Kimura
b85aa29a35 Backed out changeset 2aa62db58f24 (bug 673919) due to Web compat 2013-08-01 06:44:51 +09:00
Ivan Alagenchev
1a73eee360 Bug 846918: localization for invalid sts. r=dolske. 2013-07-26 08:37:03 -07:00
Max Vujovic
dd92ca0dd1 Bug 895182 - [CSS Filters] Implement parsing for blur, brightness, contrast, grayscale, invert, opacity, saturate, sepia. Co-authored with Dirk Schulze (krit). r=heycam 2013-07-22 15:08:33 -07:00
Ed Morley
b8d2e3631d Backed out changeset f24d81b85929 (bug 895182) for Windows build failures on a CLOSED TREE 2013-07-23 16:36:45 +01:00
Max Vujovic
695c4ee979 Bug 895182 - [CSS Filters] Implement parsing for blur, brightness, contrast, grayscale, invert, opacity, saturate, sepia. Co-authored with Dirk Schulze (krit). r=heycam 2013-07-23 10:47:16 -04:00
Francesco Lodolo [:flod]
793a8f6b53 Bug 894844 - Add localization comment to plural forms in AccessFu.properties. r=yzen 2013-07-17 14:34:22 -04:00
Marco Zehe
a2d7846b39 Bug 893336 - Rename listItemCount to reflect string change, r=yzen,flod 2013-07-15 15:57:54 +02:00
Marco Zehe
dfa71f5e1c Bug 892491 - [AccessFu] Add landmark quick navigation, r=eeejay 2013-07-11 16:42:11 -04:00
Yura Zenevich
72d3039342 Bug 891335 - [AccessFu] Making lists with only one item use the singular form of 'List 1 item'. r=eeejay, marcoz
---
 accessible/src/jsat/OutputGenerator.jsm            |    6 +++---
 .../tests/mochitest/jsat/test_landmarks.html       |    4 ++--
 .../tests/mochitest/jsat/test_utterance_order.html |   12 ++++++------
 .../en-US/chrome/accessibility/AccessFu.properties |    2 +-
 4 files changed, 12 insertions(+), 12 deletions(-)
2013-07-10 10:33:38 -04:00
Yura Zenevich
f348323f11 Bug 888256 - Adding support for speaking landmarks. r=eeejay, marcoz
---
 accessible/src/jsat/OutputGenerator.jsm            |   76 ++++++++--
 accessible/tests/mochitest/jsat/Makefile.in        |    1 +
 .../tests/mochitest/jsat/test_landmarks.html       |  154 ++++++++++++++++++++
 .../en-US/chrome/accessibility/AccessFu.properties |    8 +
 4 files changed, 225 insertions(+), 14 deletions(-)
 create mode 100644 accessible/tests/mochitest/jsat/test_landmarks.html
2013-07-09 16:09:25 -04:00
Mounir Lamouri
78df4ce8ba Bug 885996 - 1/2 - Interaction between nsIColorPicker and content. r=smaug 2013-07-08 15:12:18 -04:00
Yura Zenevich
dd580decd2 Bug 830748 - [PATCH 1/2] [AccessFu] Improved reading of table semantics. r=eeejay 2013-06-27 14:15:36 -07:00
L. David Baron
a2718b5e25 Bug 757554: Reject uses of reserved 'not', 'only', 'and', and 'or' as a media type. r=heycam 2013-06-17 14:26:08 -07:00
Max Li
f28dcf0bef Bug 876475 - Make braille output less verbose. r=eeejay r=kats r=ted
--HG--
rename : accessible/src/jsat/UtteranceGenerator.jsm => accessible/src/jsat/OutputGenerator.jsm
rename : accessible/tests/mochitest/jsat/utterance.js => accessible/tests/mochitest/jsat/output.js
2013-06-17 10:36:41 -04:00
Ms2ger
d562528531 Bug 718923 - Support document.all in standards mode and remove the pref to turn it off; r=smaug 2013-06-12 08:48:38 +02:00
Masatoshi Kimura
043ca816ee Bug 881252 - Warn use of getUserData() or setUserData(). r=bz 2013-06-11 07:41:42 +09:00
Francesco Lodolo [:flod]
5ca632cf2e Bug 878154 - about:plugins: plugin status is not localizable. r=bsmedberg 2013-06-07 15:21:13 -04:00
Marco Zehe
768a884728 Bug 877640 - [AccessFu] Expose the STATE_HASPOPUP info, r=yzen 2013-05-30 17:24:18 +02:00
Masatoshi Kimura
18fd56d251 Bug 726933 - Add a deprecation warning to getPreventDefault. r=smaug 2013-05-27 23:43:51 +09:00
Masatoshi Kimura
7147a31a15 Backed out changeset db13e1fbc642 (bug 691151) because some in-tree callers are still using the function 2013-05-25 08:41:19 +09:00
Masatoshi Kimura
58666b20c5 Bug 726933 - Add a deprecation warning to getPreventDefault. r=smaug 2013-05-25 07:55:20 +09:00
Masatoshi Kimura
a343079b1e Bug 874003 - Remove preventBubble and preventCapture. r=smaug 2013-05-21 06:20:01 +09:00
John Daggett
18ea34f1e4 Bug 549861 - reland font-variant subproperties with DOM-peer review. r=khuey 2013-05-20 11:59:20 +09:00
Ms2ger
1bc3a7f29b Merge backout. 2013-05-19 20:26:58 +02:00
Ms2ger
c80e8cd5c6 Backout bug 549861 (changesets 27fb48df15ce:7ecd4e3863b4) for insufficient review. 2013-05-19 20:23:19 +02:00
John Daggett
935216a597 Bug 549861. Implement support for @font-feature-values rule. r=dbaron 2013-05-13 18:45:37 +09:00
Colby Russell
673bc5fa23 Bug 861495 - Part 1: Add nsIWindowMediator.getOuterWindowWithId and warn on nsIDOMWindowUtils.getOuterWindowWithId use. r=bz 2013-05-07 12:34:20 -04:00
Masatoshi Kimura
ac11f43104 Bug 673919 - Remove captureEvents, releaseEvents, and routeEvent. r=smaug 2013-05-14 21:18:39 +09:00
Maria Grazia Alastra
dc527aa116 Bug 866081 - Change two labels and their names in plugins.properties, replacing "enabled" with "installed". r=bsmedberg 2013-04-30 15:12:54 -04:00
Garrett Robinson
5b7dde4e49 Bug 865344 - Add a localization comment for BlockMixedDisplayContent and BlockMixedActiveContent. r=smaug 2013-04-26 10:10:59 -04:00
Garrett Robinson
02b569fd5b Bug 863878 - The CSP logging from bug 821877 should go to the new Security Pane in the Web Console. r=bzbarsky r=ddahl 2013-04-23 17:39:10 -05:00
Garrett Robinson
6c7617d947 Bug 837351 - Log blocked mixed content to the Error and Web Consoles. r=smaug 2013-04-22 18:08:18 -07:00
Boris Zbarsky
ecc404d587 Bug 688691. Warn when LenientThis actually causes us to not throw. r=ms2ger 2013-04-08 17:04:21 -04:00
Matthew Gregan
97ff5f7d61 Bug 855570 - Deprecate Audio Data API. r=ehsan 2013-03-28 14:36:29 +13:00
Kyle Machulis
5aa83c3e11 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
c79ccc0693 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
a59d40f143 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Sid Stamm
78cd3bd3a4 Bug 832398 - change default-source to default-src in CSP error messages. r=l10n
--HG--
extra : rebase_source : 019f24639e72481cd31c1f935dd657d42c99dd26
2013-03-28 10:05:51 -07:00
Mounir Lamouri
4604f9a9ec Bug 838704 - Show "X files selected" when there are more than one selected file. r=sicking 2013-02-07 13:58:05 +00:00
Mounir Lamouri
01c5c4a59d Bug 345195 - Replace the anonymous <input type='text'> in <input type='file'> by a xul:label. r=bz 2013-02-09 14:57:30 +00:00
Mounir Lamouri
fc668339dd Bug 838354 - Remove all capture button references from nsFileControlFrame. r=bz 2013-03-22 17:10:13 +00:00
Zack Weinberg
733f93ac09 Bug 849633: change entity names for messages changed in bug 847181. r=tchevalier,ehsan 2013-03-26 10:21:34 -04:00
Cykesiopka
1f123b40f9 Bug 751378 - Remove unused CAPS strings from stringbundle. r=bz 2013-03-12 15:55:50 -04:00
Ms2ger
0d3aeed377 Bug 823549 - Make NodeIterator.detach() a no-op; r=mounir 2013-03-10 08:58:25 +01:00
Zack Weinberg
68dac0c8ba Bug 847181: prune unused printing-related nsresult codes, make printing error codes available in Components.results, and improve English of printing error messages. r=smaug 2013-03-08 21:45:14 -05:00
Ehsan Akhgari
11f832a8b7 Bug 848651 - Part 3: Add a localization note for MediaBufferSourceNodeResampleOutOfMemory
DONTBUILD
2013-03-08 12:37:04 -05:00
Ehsan Akhgari
365a8ed207 Bug 848651 - Part 2: Log an error to the Web Console if we run out of memory while trying to resample an AudioBuffer for playback; r=padenot 2013-03-08 11:49:56 -05:00
Ryan VanderMeulen
1ce2c3fc86 Backed out 5 changesets (bug 790732) for talos-other hangs/crashes on a CLOSED TREE. 2013-03-05 15:44:15 -05:00
Bobby Holley
cf88b2614c Bug 790732 - Remove Components warning and Telemetry. r=mrbkap 2013-03-05 10:01:59 -08:00
Henri Sivonen
67ec77499c Bug 843508 - Remove support for multipart XHR responses. r=jst. 2013-03-04 11:06:15 +02:00
Tom Schuster
1ee9920178 Bug 661961 - change about:plugins to add the path for every extension. r=bsmedberg 2013-02-28 13:46:42 +01:00
Henri Sivonen
105dd69a15 Bug 844792 addendum - Adjust advice about multipart support removal in XHR and make the message non-localizable. r=smaug. 2013-03-01 16:42:39 +02:00
Olli Pettay
fee019f92c Bug 845631 - Remove nsXMLHttpProgressEvent, r=sicking
--HG--
extra : rebase_source : e5c6e80fbb656782bfe0f530c778cda9d9f97f0f
2013-02-28 20:53:04 +02:00
Ms2ger
3813557cac Merge m-i to b-s. 2013-02-28 14:46:10 +01:00
Gregory Szorc
faf262c4ee Merge mozilla-central into build-system
Only conflict was configure.in amd was due to context, not
changed lines themselves.
2013-02-25 22:09:18 -08:00
Gregory Szorc
e2966f651c Bug 784841 - Part 18k: Convert /dom; f=Ms2ger rs=khuey 2013-02-25 12:47:20 -08:00
Mike de Boer
2ca852066d Bug 845022 - Remove outdated links from about:plugins. r=dolske
DONTBUILD
2013-02-26 16:54:54 +01:00
Chris Pearce
6e3f4d2969 Bug 843849 - Make DOM/HTML fullscreen API work in Metrofox. r=bz,jimm 2013-02-28 12:28:27 +13:00