Since the longString object has an actor property which can change from test to test,
replace it with its value in the existing packet.
MozReview-Commit-ID: CzxX203TdEU
Edit the function that generates pageError stubs so it does use
the key we provide it.
Change the key in existing pageError stubs so we don't have to
modify the tests.
MozReview-Commit-ID: FBfpflNgXpv
Set the logLimit to the number of messages we add.
Bump up the number of messages to add to 4000.
Iterate 25 times instead of 10.
Compute the median to limit the impact of low/high spikes.
MozReview-Commit-ID: 1WoiYk5pF9v
Don't escape whitespace in console evaluation results. This preserves
the behavior of the old console, and in particular makes pprint() more
useful again.
MozReview-Commit-ID: CrWWXjtSBIw
The new Reps bundle from Bug 1357341 is all about functions now,
so we should remove all unnecessary `createFactory` calls
we used to do when creating Reps.
MozReview-Commit-ID: 4KvCThhwphv
The call to scrollToBottom could take a good amount of time if there were
already logged messages in the console. This might be related to the fact that
componentDidMount is called although there is some layout or paint work.
Delaying the first call to scrollToBottom in the component greatly reduced the
time spent in scrollToBottom.
MozReview-Commit-ID: F3cRYV4OFhm
Tests custom styles on both console.group and console.groupCollapsed messages.
Update the stubs to match what the server now returns.
MozReview-Commit-ID: KHhU8Ki0YUz
Because we now enable custom styling on console.group, we can't rely solely on groupName
to output the group. We can have multiple pieces on which to apply different styles, like
for console.log, so we use the same properties to have the same behavior for custom styles.
MozReview-Commit-ID: 7IKl919Dg7a
The existing `SourceMapService` uses server-side source maps, which we are
replacing with client-side source maps. It will be removed later in bug
1349354, but for now mark it as deprecated so we don't use it with any other
tools.
MozReview-Commit-ID: ABmWGC5asZd
This patch is generated by the following sed script:
find . ! -wholename '*/.hg*' -type f \( -iname '*.html' -o -iname '*.xhtml' -o -iname '*.xul' -o -iname '*.js' \) -exec sed -i -e 's/\(\(text\|application\)\/javascript\);version=1.[0-9]/\1/g' {} \;
MozReview-Commit-ID: AzhtdwJwVNg
We set a listener for "pageError" but we don't remove it.
There is a `once: true` property passed as an option for addListener,
but this isn't a standard addEventListener call it does not do anything.
Reverting to remove the listener fix the issue.
MozReview-Commit-ID: CrpS1QY5jNo
Move the stub generation to functions in head.js so we can use them in other places.
Fix the getCleanedPacket function for properties that can differ from one OS to another.
Enhance test speed by removing the use of temp files to get the packets, and also by
evaluating the command in a single tab, instead of opening a tab for each command.
MozReview-Commit-ID: 2HTA4SwyXDi